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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589308
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x60e9b0]
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.00406bd0
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 0x43b7c1
push 1
push 0x5ec1f0
lea ecx, [ebp - 0x28]
call fcn.0040e8e0
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.0043d4d0
mov esi, eax
cmp esi, 0xffffffff
je 0x43b898
mov dword [ebp - 0x44], 0x5c
nop
push esi
push ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043d360
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0043d1f0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x43b872
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x7fffffff
ja 0x43b929
add eax, eax
cmp eax, 0x1000
jb 0x43b869
test cl, 0x1f
jne 0x43b929
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x43b929
sub ecx, eax
cmp ecx, 4
jb 0x43b929
cmp ecx, 0x23
ja 0x43b929
mov ecx, eax
push ecx
call fcn.00555b32
add esp, 4
push 1
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043d4d0
mov esi, eax
cmp esi, 0xffffffff
jne 0x43b800
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 0x43b8f0
mov esi, ebx
cmp dword [esi + 0x14], 8
jb 0x43b8c1
mov eax, dword [esi]
jmp 0x43b8c3
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43b8e7
cmp dword [esi + 0x14], 8
jb 0x43b8d8
mov eax, dword [esi]
jmp 0x43b8da
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x43b92e
inc edi
add esi, 0x18
cmp edi, dword [ebp - 0x44]
jb 0x43b8b7
mov esi, dword [ebp - 0x4c]
test ebx, ebx
je 0x43b976
push dword [ebp - 0x4c]
mov edx, dword [ebp - 0x54]
push ecx
mov ecx, ebx
call fcn.0043daf0
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 0x43b932
call fcn.005627e0
xor esi, esi
jmp 0x43b8f3
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x43b96d
test bl, 0x1f
je 0x43b949
call fcn.005627e0
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x43b955
call fcn.005627e0
sub ebx, eax
cmp ebx, 4
jae 0x43b961
call fcn.005627e0
cmp ebx, 0x23
jbe 0x43b96b
call fcn.005627e0
mov ebx, eax
push ebx
call fcn.00555b32
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x43b9d3
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
jbe 0x43b98e
call fcn.005627e0
add eax, eax
cmp eax, 0x1000
jb 0x43b9ca
test byte [ebp - 0x28], 0x1f
je 0x43b9a2
call fcn.005627e0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax - 4]
cmp ecx, eax
jb 0x43b9b1
call fcn.005627e0
mov eax, dword [ebp - 0x28]
sub eax, ecx
cmp eax, 4
jae 0x43b9c0
call fcn.005627e0
cmp eax, 0x23
jbe 0x43b9ca
call fcn.005627e0
push ecx
call fcn.00555b32
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.00555b37
mov esp, ebp
pop ebp
ret