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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [0x46ccb8], 0x10
push ebx
push esi
mov esi, dword [0x46cca4]
mov ebx, ecx
push edi
mov dword [ebp - 0x14], ebx
jae 0x42c402
mov esi, 0x46cca4
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 0x42c441
test esi, 0xffff0000
jne 0x42c441
movzx esi, si
push 0
push esi
call fcn.00401340
add esp, 8
test eax, eax
je 0x42c44d
push esi
push eax
lea ecx, [ebp - 4]
call fcn.00402a60
jmp 0x42c44a
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 0x42c496
test dx, dx
je 0x42c492
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42c496
add eax, 4
add ecx, 4
test dx, dx
jne 0x42c470
xor eax, eax
jmp 0x42c49b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42c6fb
add ebx, 0x4bb0
push ebx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [ebx - 2]
jmp 0x42c4c0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42c4c0
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 0x42c6f1
cmp eax, ecx
jg 0x42c6f1
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 0x42c510
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 0x42c552
push 0xb
push str.jp3logo.gif
lea ecx, [ebp - 8]
call fcn.004029b0
jmp 0x42c5ac
lea ecx, [ebp - 0xc]
push 0x45be68
push ecx
call fcn.00422060
add esp, 8
test al, al
je 0x42c56e
push str.jp3logo.png
jmp 0x42c5a4
lea edx, [ebp - 0xc]
push 0x45be4c
push edx
call fcn.00422060
add esp, 8
test al, al
je 0x42c58a
push str.jp3logo.jpg
jmp 0x42c5a4
lea eax, [ebp - 0xc]
push 0x45be30
push eax
call fcn.00422060
add esp, 8
test al, al
je 0x42c5ac
push str.jp3logo.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 0x42c5b0
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 0x42c5d0
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x42c5e0
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 0x42c620
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 0x42c69a
push edi
call fcn.0043d95e
mov esi, eax
add esp, 4
test esi, esi
jne 0x42c69a
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 0x42c670
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 0x42c68f
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 0x42c746
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 [0x46ccb8], 0x10
mov eax, dword [0x46cca4]
jae 0x42c6c3
mov eax, 0x46cca4
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 + 0x4dc0], 1
jmp 0x42c705
push 0x80070057
call fcn.004011e0
mov dword [ebx + 0x4dc0], 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 0x42c724
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 0x42c743
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 0x42c75f
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