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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67123b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x75e7a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x249], 0
test ebx, ebx
je 0x43fcb1
cmp word [ebx], 0
jne 0x43fcc3
cmp dword [edi + 0x48], 8
lea ebx, [edi + 0x34]
mov byte [ebp - 0x249], 1
jb 0x43fcc3
mov ebx, dword [ebx]
test edx, edx
je 0x43fcf2
cmp word [edx], 0
je 0x43fcf2
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43fcd2
sub ecx, esi
lea esi, [edi + 0x4c]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004403b0
jmp 0x43fe7e
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x43fd54
cmp word [ebp - 0x218], 0
jne 0x43fd28
xor ecx, ecx
lea eax, [ebp - 0x218]
push ecx
lea esi, [edi + 0x4c]
push eax
mov ecx, esi
call fcn.004403b0
jmp 0x43fd57
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43fd31
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
lea esi, [edi + 0x4c]
push ecx
push eax
mov ecx, esi
call fcn.004403b0
jmp 0x43fd57
lea esi, [edi + 0x4c]
cmp dword [esi + 0x14], 8
jb 0x43fd61
mov edx, dword [esi]
jmp 0x43fd63
mov edx, esi
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [edx], ax
jne 0x43fd89
xor ecx, ecx
jmp 0x43fda7
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x258], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43fd94
sub ecx, dword [ebp - 0x258]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.004403b0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
mov eax, dword [ebp - 0x21c]
sete byte [ebp - 0x24a]
cmp eax, 8
jb 0x43fe33
mov edx, dword [ebp - 0x230]
inc eax
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x440119
add eax, eax
cmp eax, 0x1000
jb 0x43fe2a
test cl, 0x1f
jne 0x440119
lea eax, [edx - 4]
mov edx, dword [eax]
cmp edx, ecx
jae 0x440119
sub ecx, edx
cmp ecx, 4
jb 0x440119
cmp ecx, 0x23
ja 0x440119
push edx
call fcn.004caec0
add esp, 4
cmp byte [ebp - 0x24a], 0
je 0x43fe7e
cmp dword [esi + 0x14], 8
jb 0x43fe46
mov eax, dword [esi]
jmp 0x43fe48
mov eax, esi
push eax
lea ecx, [ebp - 0x230]
call fcn.004401e0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [ebp - 0x230]
call fcn.00440180
cmp byte [ebp - 0x249], 0
jne 0x43feff
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebx], ax
jne 0x43fead
xor ecx, ecx
jmp 0x43fec1
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43feb2
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x230]
call fcn.004403b0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x250], 1
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
mov byte [ebp - 0x249], 1
cmp eax, 1
jne 0x43ff06
mov byte [ebp - 0x249], 0
test byte [ebp - 0x250], 1
je 0x43ff6a
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x43ff6a
mov edx, dword [ebp - 0x230]
inc eax
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x440119
add eax, eax
cmp eax, 0x1000
jb 0x43ff61
test cl, 0x1f
jne 0x440119
lea eax, [edx - 4]
mov edx, dword [eax]
cmp edx, ecx
jae 0x440119
sub ecx, edx
cmp ecx, 4
jb 0x440119
cmp ecx, 0x23
ja 0x440119
push edx
call fcn.004caec0
add esp, 4
cmp byte [ebp - 0x249], 0
jne 0x4400f5
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp word [ebx], ax
jne 0x43ff9d
xor ecx, ecx
jmp 0x43ffb1
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ffa2
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x248]
call fcn.004403b0
lea edx, [ebp - 0x248]
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.0044b170
mov bl, al
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x440034
mov edx, dword [ebp - 0x248]
inc eax
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x440119
add eax, eax
cmp eax, 0x1000
jb 0x44002b
test cl, 0x1f
jne 0x440119
mov edx, dword [edx - 4]
cmp edx, ecx
jae 0x440119
sub ecx, edx
cmp ecx, 4
jb 0x440119
cmp ecx, 0x23
ja 0x440119
push edx
call fcn.004caec0
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
test bl, bl
je 0x4400f5
mov eax, dword [edi + 0x68]
lea ebx, [edi + 0x68]
test eax, eax
je 0x440070
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x254], 0
jb 0x440082
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
cmp word [edx], 0
jne 0x440095
xor ecx, ecx
jmp 0x4400af
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4400a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x34]
call fcn.004403b0
cmp byte [edi + 0x6d], 0
mov eax, dword [edi]
mov eax, dword [eax]
je 0x4400cd
push ebx
mov ecx, edi
call eax
mov byte [edi + 0x6c], al
jmp 0x4400fb
lea ecx, [ebp - 0x254]
push ecx
mov ecx, edi
call eax
mov byte [edi + 0x6c], al
test al, al
je 0x4400f0
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x4400f0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [edi + 0x6c]
jmp 0x4400fb
mov byte [edi + 0x6c], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00612996
mov esp, ebp
pop ebp
ret 8
call fcn.006321a4
int3