Function at 0x43e110
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x648
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x590], eax
cmp dword [esi + 0x10], 0x104
mov byte [ebp - 0x594], al
mov dword [ebp - 0x598], ebx
jae 0x43e44b
cmp dword [edi + 0x10], 0x104
jae 0x43e44b
push edi
lea ecx, [ebp - 0x34]
call fcn.0043c0a0
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43e22d
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0043ed80
add esp, 8
lea ecx, [ebp - 0x34]
push eax
call fcn.0043c1e0
lea ecx, [ebp - 0x1c]
call fcn.0043c140
cmp dword [ebp - 0x24], ebx
je 0x43e268
lea eax, [ebp - 0x94]
push esi
push eax
call fcn.0043ed80
mov eax, dword [ebp - 0x84]
add esp, 8
test eax, eax
je 0x43e423
cmp dword [ebp - 0x24], eax
jb 0x43e1e8
lea ecx, [ebp - 0x94]
push ecx
push eax
push 0
lea ecx, [ebp - 0x34]
call fcn.0043f230
test eax, eax
je 0x43e423
cmp byte [ebp - 0x590], bl
mov ecx, 3
mov eax, 1
cmovne eax, ecx
lea ecx, [ebp - 0x338]
push eax
push dword [ebp - 0x594]
push esi
call fcn.00442a60
push esi
call fcn.0043efa0
add esp, 4
test al, al
jne 0x43e285
lea ecx, [ebp - 0x338]
xor bl, bl
call fcn.00442c00
jmp 0x43e425
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x34]
call fcn.0043ca90
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0043ed80
add esp, 8
lea ecx, [ebp - 0x34]
push eax
call fcn.0043c1e0
lea ecx, [ebp - 0x1c]
call fcn.0043c140
lea ecx, [ebp - 0x64]
call fcn.0043c140
cmp dword [ebp - 0x24], ebx
jne 0x43e1ab
lea ecx, [ebp - 0x34]
xor bl, bl
call fcn.0043c140
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x4c]
call fcn.0043c0a0
push esi
call fcn.0043e9d0
add esp, 4
mov byte [ebp - 0x58a], al
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0x589], 1
push esi
call fcn.0043c0a0
cmp byte [ebp - 0x590], bl
je 0x43e2de
push edi
call fcn.0043e9d0
add esp, 4
test al, al
je 0x43e2de
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.0043ca90
push eax
lea ecx, [ebp - 0x7c]
call fcn.0043c1e0
lea ecx, [ebp - 0x64]
call fcn.0043c140
mov esi, dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
cmp dword [ebp - 0x3c], 0
je 0x43e3f4
push edi
lea ecx, [ebp - 0x1c]
call fcn.0043c0a0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0043c220
test al, al
je 0x43e31f
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0043c6e0
test al, al
je 0x43e417
cmp byte [ebp - 0x58a], 0
lea eax, [ebp - 0x1c]
je 0x43e364
cmp dword [ebp - 8], 8
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43e346
shr eax, 4
and al, 1
jne 0x43e38f
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
push 0
cmovae eax, dword [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x43e38f
test bl, 4
je 0x43e388
and ebx, 0xfffffffb
jmp 0x43e37d
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0043e460
add esp, 8
test al, al
jne 0x43e38f
test bl, 8
je 0x43e388
and ebx, 0xfffffff7
lea ecx, [ebp - 0x648]
call fcn.00438510
mov byte [ebp - 0x589], 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x338]
call fcn.00442d20
push eax
lea ecx, [ebp - 0x4c]
call fcn.0043c1e0
lea ecx, [ebp - 0x64]
call fcn.0043c140
cmp dword [ebp - 0x3c], 0
je 0x43e3df
lea eax, [ebp - 0x588]
push eax
lea ecx, [ebp - 0x338]
call fcn.00442c80
mov ecx, eax
call fcn.00442d10
lea ecx, [ebp - 0x588]
mov byte [ebp - 0x58a], al
call fcn.004038b0
lea ecx, [ebp - 0x1c]
call fcn.0043c140
cmp byte [ebp - 0x589], 0
jne 0x43e2e4
mov bl, byte [ebp - 0x589]
lea ecx, [ebp - 0x7c]
call fcn.0043c140
lea ecx, [ebp - 0x4c]
call fcn.0043c140
lea ecx, [ebp - 0x338]
call fcn.00442c00
jmp 0x43e425
lea ecx, [ebp - 0x1c]
xor bl, bl
call fcn.0043c140
jmp 0x43e3fa
xor bl, bl
lea ecx, [ebp - 0x94]
call fcn.0043c140
lea ecx, [ebp - 0x34]
call fcn.0043c140
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486d53
mov esp, ebp
pop ebp
ret