Function at 0x43a480
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587238
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x60b9b0]
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
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00406ba0
xor eax, eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
setne al
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x43a501
push 1
push 0x5ea270
lea ecx, [ebp - 0x28]
call fcn.0040dcd0
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], eax
push 1
push 3
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], 0x5c
call fcn.0043c210
mov esi, eax
cmp esi, 0xffffffff
je 0x43a5d8
mov dword [ebp - 0x44], 0x5c
nop
push esi
push ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043c0a0
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0043bf30
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x43a5b2
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x7fffffff
ja 0x43a669
add eax, eax
cmp eax, 0x1000
jb 0x43a5a9
test cl, 0x1f
jne 0x43a669
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x43a669
sub ecx, eax
cmp ecx, 4
jb 0x43a669
cmp ecx, 0x23
ja 0x43a669
mov ecx, eax
push ecx
call fcn.00553c88
add esp, 4
push 1
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043c210
mov esi, eax
cmp esi, 0xffffffff
jne 0x43a540
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x54]
mov eax, 0x2aaaaaab
sub ecx, ebx
xor edi, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x44], eax
je 0x43a630
mov esi, ebx
cmp dword [esi + 0x14], 8
jb 0x43a601
mov eax, dword [esi]
jmp 0x43a603
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43a627
cmp dword [esi + 0x14], 8
jb 0x43a618
mov eax, dword [esi]
jmp 0x43a61a
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x43a66e
inc edi
add esi, 0x18
cmp edi, dword [ebp - 0x44]
jb 0x43a5f7
mov esi, dword [ebp - 0x4c]
test ebx, ebx
je 0x43a6b6
push dword [ebp - 0x4c]
mov edx, dword [ebp - 0x54]
push ecx
mov ecx, ebx
call fcn.0043c830
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xaaaaaaa
jbe 0x43a672
call fcn.00560966
xor esi, esi
jmp 0x43a633
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x43a6ad
test bl, 0x1f
je 0x43a689
call fcn.00560966
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x43a695
call fcn.00560966
sub ebx, eax
cmp ebx, 4
jae 0x43a6a1
call fcn.00560966
cmp ebx, 0x23
jbe 0x43a6ab
call fcn.00560966
mov ebx, eax
push ebx
call fcn.00553c88
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x43a713
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
jbe 0x43a6ce
call fcn.00560966
add eax, eax
cmp eax, 0x1000
jb 0x43a70a
test byte [ebp - 0x28], 0x1f
je 0x43a6e2
call fcn.00560966
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax - 4]
cmp ecx, eax
jb 0x43a6f1
call fcn.00560966
mov eax, dword [ebp - 0x28]
sub eax, ecx
cmp eax, 4
jae 0x43a700
call fcn.00560966
cmp eax, 0x23
jbe 0x43a70a
call fcn.00560966
push ecx
call fcn.00553c88
add esp, 4
mov eax, esi
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.00553c8d
mov esp, ebp
pop ebp
ret