Function at 0x43c136
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x30
mov eax, 0x515e45
call fcn.004d8abf
mov dword [ebp - 0x14], edx
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 0x18]
push ecx
add ebx, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
mov ecx, ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], ebx
call fcn.004070e7
add eax, 0x10
mov dword [esi], eax
push dword [ebp + 0x14]
mov byte [ebp - 4], 3
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp + 0x14], esi
mov ecx, eax
mov dword [ebp + 0x14], eax
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x30]
mov dword [esi], eax
mov esi, dword [ebp - 0x14]
mov edx, esi
mov byte [ebp - 4], 2
call fcn.0043bfa3
add esp, 0x10
mov byte [ebp - 4], 4
cmp dword [ebp - 0x30], 0
jge 0x43c21e
cmp dword [ebp - 0x2c], 0
push 0x27
pop eax
cmovne eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x3c]
mov dword [esi], eax
call fcn.00406620
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.0040121b
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 0x14]
call fcn.00407189
mov ecx, ebx
jmp 0x43c3d9
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00407189
push 0x545b68
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.00409442
push esi
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.0040a037
pop ecx
pop ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00407189
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43c28a
call fcn.00406710
push 0x2d
push eax
push ecx
mov ecx, esp
call fcn.0040687a
mov ecx, edi
call fcn.00406620
mov ecx, dword [ebp - 0x10]
jmp 0x43c1fc
lea ecx, [ebp - 0x14]
call fcn.0040dc3f
push 9
pop eax
push 0
push ecx
mov byte [ebp - 4], al
mov esi, esp
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x30]
mov dword [esi], eax
call fcn.0042a9b6
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x30], 0
jge 0x43c329
cmp dword [ebp - 0x2c], 0
push 0x30
pop eax
cmovne eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x3c]
mov dword [esi], eax
call fcn.00406620
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
push eax
mov ecx, edi
call fcn.0040121b
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x43c282
push 9
pop eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00407189
mov eax, dword [ebp - 0x14]
xor esi, esi
lea ebx, [eax - 0x10]
cmp dword [ebx + 4], esi
jle 0x43c36f
push esi
lea ecx, [ebp - 0x14]
call fcn.0040dc9e
cbw
movzx ecx, ax
call fcn.004297b1
test al, al
jne 0x43c369
lea eax, [ecx - 0x30]
push 9
pop ecx
cmp ax, cx
ja 0x43c3e6
inc esi
cmp esi, dword [ebx + 4]
jl 0x43c347
push ecx
mov esi, esp
mov ecx, ebx
mov dword [ebp - 0x1c], esi
call fcn.0040e1fb
add eax, 0x10
lea ecx, [ebp - 0x1c]
mov dword [esi], eax
call fcn.00429ecd
pop ecx
mov ecx, dword [ebp + 0x1c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00405d6e
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00407189
and dword [edi], 0
lea ecx, [edi + 8]
and dword [edi + 4], 0
call fcn.0040687a
mov ecx, ebx
call fcn.00407189
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 0x14]
call fcn.00407189
mov ecx, dword [ebp - 0x18]
call fcn.00407189
mov eax, edi
call fcn.004d8a8d
ret
push 0x35
push 0x80004005
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x3c]
call fcn.00406620
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
push eax
mov ecx, edi
call fcn.0040121b
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x43c3b1