Function at 0x42bcc0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [0x46cbd8], 0x10
push ebx
push esi
mov esi, dword [0x46cbc4]
mov ebx, ecx
push edi
mov dword [ebp - 0x14], ebx
jae 0x42bce2
mov esi, 0x46cbc4
mov eax, dword [0x469cb4]
mov edx, dword [eax + 0xc]
mov ecx, 0x469cb4
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 4], edi
test esi, esi
je 0x42bd21
test esi, 0xffff0000
jne 0x42bd21
movzx esi, si
push 0
push esi
call fcn.00401340
add esp, 8
test eax, eax
je 0x42bd2d
push esi
push eax
lea ecx, [ebp - 4]
call fcn.00402a60
jmp 0x42bd2a
push esi
lea ecx, [ebp - 4]
call fcn.00402b80
mov edi, dword [ebp - 4]
push 0x458e24
lea ecx, [ebp - 0xc]
call fcn.00408300
push 0x458e24
lea ecx, [ebp - 8]
call fcn.00408300
mov ecx, 0x458e24
mov eax, edi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42bd76
test dx, dx
je 0x42bd72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42bd76
add eax, 4
add ecx, 4
test dx, dx
jne 0x42bd50
xor eax, eax
jmp 0x42bd7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42bfdb
add ebx, 0x47a0
push ebx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [ebx - 2]
jmp 0x42bda0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42bda0
mov ecx, 7
mov esi, 0x45bcd0
rep movsd dword es:[edi], dword [esi]
push 0
push ebx
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp - 4]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 3]
test eax, eax
js 0x42bfd1
cmp eax, ecx
jg 0x42bfd1
mov ax, word [edx + eax*2]
mov word [ebp - 0x10], ax
xor ecx, ecx
lea eax, [ebp - 0x10]
mov word [ebp - 0xe], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42bdf0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0xc]
call fcn.004029b0
lea eax, [ebp - 0xc]
push 0x45be84
push eax
call fcn.00422060
add esp, 8
test al, al
je 0x42be32
push 0xb
push 0x45be6c
lea ecx, [ebp - 8]
call fcn.004029b0
jmp 0x42be8c
lea ecx, [ebp - 0xc]
push 0x45be68
push ecx
call fcn.00422060
add esp, 8
test al, al
je 0x42be4e
push 0x45be50
jmp 0x42be84
lea edx, [ebp - 0xc]
push 0x45be4c
push edx
call fcn.00422060
add esp, 8
test al, al
je 0x42be6a
push 0x45be34
jmp 0x42be84
lea eax, [ebp - 0xc]
push 0x45be30
push eax
call fcn.00422060
add esp, 8
test al, al
je 0x42be8c
push str.jp1logo.bmp
lea ecx, [ebp - 8]
call fcn.00407eb0
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42be90
mov ecx, dword [0x45b13c]
mov eax, dword [ebp - 8]
mov dword [edi], ecx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42beb0
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x42bec0
push 0
mov ecx, eax
shr ecx, 2
push 0
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 0
push 0
push 0xffffffffffffffff
push ebx
mov ecx, eax
push 0
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x10], eax
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42bf00
sub eax, edx
sar eax, 1
lea edi, [eax + eax + 1]
push edi
call fcn.0043d95e
mov esi, eax
add esp, 4
test esi, esi
jne 0x42bf7a
push edi
call fcn.0043d95e
mov esi, eax
add esp, 4
test esi, esi
jne 0x42bf7a
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42bf50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bf6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
jmp 0x42c026
mov ecx, dword [ebp - 0x10]
push 0
push 0
push ecx
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [0x46cbd8], 0x10
mov eax, dword [0x46cbc4]
jae 0x42bfa3
mov eax, 0x46cbc4
push esi
push eax
push 0
lea ecx, [ebp - 0x38]
call fcn.0040c460
lea ecx, [ebp - 0x38]
call fcn.0040bcc0
lea ecx, [ebp - 0x38]
call fcn.004091b0
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 4]
mov dword [edx + 0x4db8], 1
jmp 0x42bfe5
push 0x80070057
call fcn.004011e0
mov dword [ebx + 0x4db8], 0
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c004
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c023
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c03f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret