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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490bc3
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x4c2b20]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x29c], ecx
push 1
mov ecx, dword [ebp - 0x29c]
call fcn.0043f200
movzx eax, al
test eax, eax
je 0x43ff0c
xor al, al
jmp 0x4403be
mov ecx, dword [ebp - 0x29c]
movsx edx, byte [ecx + 0xe4]
test edx, edx
je 0x43ff24
xor al, al
jmp 0x4403be
mov ecx, dword [ebp - 0x29c]
add ecx, 0x78
call fcn.00443050
cmp eax, 0xffffffff
jne 0x43ff3e
xor al, al
jmp 0x4403be
mov ecx, dword [ebp - 0x29c]
call fcn.0043f340
cmp eax, 0xffff
jne 0x43ff57
xor al, al
jmp 0x4403be
cmp dword [ebp + 0x10], 0
je 0x440018
mov byte [ebp - 0x24d], 1
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
lea eax, [ebp - 0x244]
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
mov dword [ecx], 0
mov dword [ecx + 4], 0
lea edx, [ebp - 0x23c]
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x26c]
mov dword [eax], 0
mov dword [eax + 4], 0
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00448b7c
test eax, eax
jne 0x43ffd7
mov byte [ebp - 0x24d], 0
jmp 0x440006
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp + 8]
call fcn.004470f0
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [ebp + 8]
mov dword [edx + 0x24], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0xffffffff
jne 0x440006
mov byte [ebp - 0x24d], 0
movzx ecx, byte [ebp - 0x24d]
test ecx, ecx
jne 0x440018
xor al, al
jmp 0x4403be
mov ecx, dword [ebp - 0x29c]
add ecx, 0x20
call fcn.004441e0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x29c]
add ecx, 0xe8
call fcn.00445030
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x29c]
call fcn.0043f7f0
mov ecx, eax
call fcn.00447740
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x270], edx
xor eax, eax
cmp dword [ebp - 0x270], 0
sete al
movzx ecx, al
test ecx, ecx
je 0x4400b6
mov ecx, dword [ebp - 0x29c]
call fcn.0043f340
push eax
push str.file_i
lea edx, [ebp - 0x10]
push edx
call fcn.0041c5f0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
push ecx
mov ecx, dword [ebp - 0x29c]
call fcn.0043f7f0
mov ecx, eax
call fcn.00447710
mov dword [ebp - 0x280], 0
mov edx, dword [ebp - 0x29c]
mov al, byte [edx + 0x15c]
mov byte [ebp - 0x279], al
mov ecx, dword [ebp - 0x29c]
add ecx, 0xe8
mov dword [ebp - 0x278], ecx
movzx edx, byte [ebp - 0x279]
mov eax, dword [ebp - 0x278]
movzx ecx, byte [eax + 0x74]
cmp edx, ecx
je 0x4400fb
jmp 0x440134
cmp dword [ebp - 0x280], 0
jne 0x440113
mov edx, dword [ebp - 0x278]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x280], eax
xor ecx, ecx
sete dl
movzx eax, dl
push eax
mov ecx, dword [ebp - 0x280]
call fcn.00447870
push 0
mov ecx, dword [ebp - 0x280]
call fcn.004477e0
mov ecx, dword [ebp - 0x29c]
call fcn.0043f7f0
mov ecx, dword [eax + 0x24]
push ecx
mov ecx, dword [ebp - 0x29c]
call fcn.00441c70
mov byte [ebp - 0x12], al
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x284], eax
xor ecx, ecx
cmp dword [ebp - 0x284], 0
setne cl
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
push edx
mov ecx, dword [ebp - 0x29c]
add ecx, 0x78
call fcn.00443050
cmp eax, 1
sete al
movzx ecx, al
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.0043f7f0
mov ecx, eax
call fcn.00447480
movzx eax, al
test eax, eax
jne 0x4401b6
push 0xffffffffffffff95
mov ecx, dword [ebp - 0x29c]
call fcn.0043f270
mov ecx, dword [ebp - 0x29c]
add ecx, 0x78
push ecx
mov ecx, dword [ebp - 0x29c]
call fcn.0043f7f0
mov ecx, eax
call fcn.00447210
mov edx, dword [ebp - 0x29c]
movzx eax, byte [edx + 0x15c]
test eax, eax
je 0x440205
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x288], ecx
mov edx, dword [ebp - 0x288]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.0043f7f0
mov ecx, eax
call fcn.00447710
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x440271
push 0
push 0xc
lea ecx, [ebp - 0x25c]
call fcn.00444260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
push ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x10]
shl eax, 0x10
push eax
mov ecx, dword [ebp - 0x29c]
call fcn.00441f70
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x28c], ecx
push 0
push 0xc
mov edx, dword [ebp - 0x28c]
push edx
mov ecx, dword [ebp - 0x29c]
add ecx, 0x78
call fcn.00443eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.004442a0
mov eax, dword [ebp - 0x29c]
mov dword [eax + 0x64], 0
mov ecx, dword [ebp - 0x29c]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 0x74]
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x290]
mov dword [ecx + 0x38], edx
mov eax, dword [ebp - 0x29c]
mov ecx, dword [eax + 0x70]
mov dword [ebp - 0x294], ecx
mov edx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x294]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp - 0x29c]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 0x29c]
mov dword [edx + 0x3c], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x44030d
mov ecx, dword [ebp - 0x29c]
call fcn.0043f7f0
movzx ecx, word [eax + 0xe]
test ecx, ecx
je 0x44030d
mov ecx, dword [ebp - 0x29c]
call fcn.0043f7f0
xor edx, edx
mov word [eax + 0xe], dx
mov ecx, dword [ebp - 0x29c]
call fcn.0043f7f0
movzx eax, word [eax + 0xe]
cmp eax, 8
jne 0x440395
mov ecx, dword [ebp - 0x29c]
movzx edx, byte [ecx + 4]
test edx, edx
je 0x440342
mov eax, dword [ebp - 0x29c]
add eax, 0xc8
mov dword [ebp - 0x2a0], eax
jmp 0x44034c
mov dword [ebp - 0x2a0], 0
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x2a0]
mov dword [ecx + 0x50], edx
push 0x38
push 0x49e8dc
push 0
push 8
push 0xfffffffffffffff1
push 8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x29c]
add ecx, 0x28
push ecx
call fcn.004873d0
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x260]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.0043f7c0
mov eax, dword [ebp - 0x29c]
mov byte [eax + 0xe4], 1
mov byte [ebp - 0x261], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00420d00
mov al, byte [ebp - 0x261]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0046b5b0
mov esp, ebp
pop ebp
ret 0xc