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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e6d3
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x4beb20]
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.0043d100
movzx eax, al
test eax, eax
je 0x43de0c
xor al, al
jmp 0x43e2be
mov ecx, dword [ebp - 0x29c]
movsx edx, byte [ecx + 0xe4]
test edx, edx
je 0x43de24
xor al, al
jmp 0x43e2be
mov ecx, dword [ebp - 0x29c]
add ecx, 0x78
call fcn.00440f50
cmp eax, 0xffffffff
jne 0x43de3e
xor al, al
jmp 0x43e2be
mov ecx, dword [ebp - 0x29c]
call fcn.0043d240
cmp eax, 0xffff
jne 0x43de57
xor al, al
jmp 0x43e2be
cmp dword [ebp + 0x10], 0
je 0x43df18
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.00446a7c
test eax, eax
jne 0x43ded7
mov byte [ebp - 0x24d], 0
jmp 0x43df06
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp + 8]
call fcn.00444ff0
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 0x43df06
mov byte [ebp - 0x24d], 0
movzx ecx, byte [ebp - 0x24d]
test ecx, ecx
jne 0x43df18
xor al, al
jmp 0x43e2be
mov ecx, dword [ebp - 0x29c]
add ecx, 0x20
call fcn.004420e0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x29c]
add ecx, 0xe8
call fcn.00442f30
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x29c]
call fcn.0043d6f0
mov ecx, eax
call fcn.00445640
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 0x43dfb6
mov ecx, dword [ebp - 0x29c]
call fcn.0043d240
push eax
push str.file_i
lea edx, [ebp - 0x10]
push edx
call fcn.0041c620
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.0043d6f0
mov ecx, eax
call fcn.00445610
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 0x43dffb
jmp 0x43e034
cmp dword [ebp - 0x280], 0
jne 0x43e013
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.00445770
push 0
mov ecx, dword [ebp - 0x280]
call fcn.004456e0
mov ecx, dword [ebp - 0x29c]
call fcn.0043d6f0
mov ecx, dword [eax + 0x24]
push ecx
mov ecx, dword [ebp - 0x29c]
call fcn.0043fb70
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.00440f50
cmp eax, 1
sete al
movzx ecx, al
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.0043d6f0
mov ecx, eax
call fcn.00445380
movzx eax, al
test eax, eax
jne 0x43e0b6
push 0xffffffffffffff95
mov ecx, dword [ebp - 0x29c]
call fcn.0043d170
mov ecx, dword [ebp - 0x29c]
add ecx, 0x78
push ecx
mov ecx, dword [ebp - 0x29c]
call fcn.0043d6f0
mov ecx, eax
call fcn.00445110
mov edx, dword [ebp - 0x29c]
movzx eax, byte [edx + 0x15c]
test eax, eax
je 0x43e105
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x288], ecx
mov edx, dword [ebp - 0x288]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.0043d6f0
mov ecx, eax
call fcn.00445610
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x43e171
push 0
push 0xc
lea ecx, [ebp - 0x25c]
call fcn.00442160
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.0043fe70
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.00441db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.004421a0
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 0x43e20d
mov ecx, dword [ebp - 0x29c]
call fcn.0043d6f0
movzx ecx, word [eax + 0xe]
test ecx, ecx
je 0x43e20d
mov ecx, dword [ebp - 0x29c]
call fcn.0043d6f0
xor edx, edx
mov word [eax + 0xe], dx
mov ecx, dword [ebp - 0x29c]
call fcn.0043d6f0
movzx eax, word [eax + 0xe]
cmp eax, 8
jne 0x43e295
mov ecx, dword [ebp - 0x29c]
movzx edx, byte [ecx + 4]
test edx, edx
je 0x43e242
mov eax, dword [ebp - 0x29c]
add eax, 0xc8
mov dword [ebp - 0x2a0], eax
jmp 0x43e24c
mov dword [ebp - 0x2a0], 0
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x2a0]
mov dword [ecx + 0x50], edx
push 0x38
push 0x49b6ec
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.004852d0
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x260]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.0043d6c0
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.00420d50
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.004694b0
mov esp, ebp
pop ebp
ret 0xc