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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a153
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x4b9b20]
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.0043a9a0
movzx eax, al
test eax, eax
je 0x43b6ac
xor al, al
jmp 0x43bb5e
mov ecx, dword [ebp - 0x29c]
movsx edx, byte [ecx + 0xe4]
test edx, edx
je 0x43b6c4
xor al, al
jmp 0x43bb5e
mov ecx, dword [ebp - 0x29c]
add ecx, 0x78
call fcn.0043e7f0
cmp eax, 0xffffffff
jne 0x43b6de
xor al, al
jmp 0x43bb5e
mov ecx, dword [ebp - 0x29c]
call fcn.0043aae0
cmp eax, 0xffff
jne 0x43b6f7
xor al, al
jmp 0x43bb5e
cmp dword [ebp + 0x10], 0
je 0x43b7b8
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.0044431c
test eax, eax
jne 0x43b777
mov byte [ebp - 0x24d], 0
jmp 0x43b7a6
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp + 8]
call fcn.00442890
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 0x43b7a6
mov byte [ebp - 0x24d], 0
movzx ecx, byte [ebp - 0x24d]
test ecx, ecx
jne 0x43b7b8
xor al, al
jmp 0x43bb5e
mov ecx, dword [ebp - 0x29c]
add ecx, 0x20
call fcn.0043f980
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x29c]
add ecx, 0xe8
call fcn.004407d0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x29c]
call fcn.0043af90
mov ecx, eax
call fcn.00442ee0
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 0x43b856
mov ecx, dword [ebp - 0x29c]
call fcn.0043aae0
push eax
push str.file_i
lea edx, [ebp - 0x10]
push edx
call fcn.0041bf40
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.0043af90
mov ecx, eax
call fcn.00442eb0
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 0x43b89b
jmp 0x43b8d4
cmp dword [ebp - 0x280], 0
jne 0x43b8b3
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.00443010
push 0
mov ecx, dword [ebp - 0x280]
call fcn.00442f80
mov ecx, dword [ebp - 0x29c]
call fcn.0043af90
mov ecx, dword [eax + 0x24]
push ecx
mov ecx, dword [ebp - 0x29c]
call fcn.0043d410
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.0043e7f0
cmp eax, 1
sete al
movzx ecx, al
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.0043af90
mov ecx, eax
call fcn.00442c20
movzx eax, al
test eax, eax
jne 0x43b956
push 0xffffffffffffff95
mov ecx, dword [ebp - 0x29c]
call fcn.0043aa10
mov ecx, dword [ebp - 0x29c]
add ecx, 0x78
push ecx
mov ecx, dword [ebp - 0x29c]
call fcn.0043af90
mov ecx, eax
call fcn.004429b0
mov edx, dword [ebp - 0x29c]
movzx eax, byte [edx + 0x15c]
test eax, eax
je 0x43b9a5
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x288], ecx
mov edx, dword [ebp - 0x288]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.0043af90
mov ecx, eax
call fcn.00442eb0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x43ba11
push 0
push 0xc
lea ecx, [ebp - 0x25c]
call fcn.0043fa00
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.0043d710
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.0043f650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.0043fa40
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 0x43baad
mov ecx, dword [ebp - 0x29c]
call fcn.0043af90
movzx ecx, word [eax + 0xe]
test ecx, ecx
je 0x43baad
mov ecx, dword [ebp - 0x29c]
call fcn.0043af90
xor edx, edx
mov word [eax + 0xe], dx
mov ecx, dword [ebp - 0x29c]
call fcn.0043af90
movzx eax, word [eax + 0xe]
cmp eax, 8
jne 0x43bb35
mov ecx, dword [ebp - 0x29c]
movzx edx, byte [ecx + 4]
test edx, edx
je 0x43bae2
mov eax, dword [ebp - 0x29c]
add eax, 0xc8
mov dword [ebp - 0x2a0], eax
jmp 0x43baec
mov dword [ebp - 0x2a0], 0
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x2a0]
mov dword [ecx + 0x50], edx
push 0x38
push 0x4969d0
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.00480da0
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x260]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.0043af60
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.00419b80
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.00466d50
mov esp, ebp
pop ebp
ret 0xc