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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c613
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x4bcb20]
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.0043cb60
movzx eax, al
test eax, eax
je 0x43d86c
xor al, al
jmp 0x43dd1e
mov ecx, dword [ebp - 0x29c]
movsx edx, byte [ecx + 0xe4]
test edx, edx
je 0x43d884
xor al, al
jmp 0x43dd1e
mov ecx, dword [ebp - 0x29c]
add ecx, 0x78
call fcn.004409b0
cmp eax, 0xffffffff
jne 0x43d89e
xor al, al
jmp 0x43dd1e
mov ecx, dword [ebp - 0x29c]
call fcn.0043cca0
cmp eax, 0xffff
jne 0x43d8b7
xor al, al
jmp 0x43dd1e
cmp dword [ebp + 0x10], 0
je 0x43d978
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.004464dc
test eax, eax
jne 0x43d937
mov byte [ebp - 0x24d], 0
jmp 0x43d966
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp + 8]
call fcn.00444a50
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 0x43d966
mov byte [ebp - 0x24d], 0
movzx ecx, byte [ebp - 0x24d]
test ecx, ecx
jne 0x43d978
xor al, al
jmp 0x43dd1e
mov ecx, dword [ebp - 0x29c]
add ecx, 0x20
call fcn.00441b40
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x29c]
add ecx, 0xe8
call fcn.00442990
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x29c]
call fcn.0043d150
mov ecx, eax
call fcn.004450a0
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 0x43da16
mov ecx, dword [ebp - 0x29c]
call fcn.0043cca0
push eax
push str.file_i
lea edx, [ebp - 0x10]
push edx
call fcn.0041c610
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.0043d150
mov ecx, eax
call fcn.00445070
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 0x43da5b
jmp 0x43da94
cmp dword [ebp - 0x280], 0
jne 0x43da73
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.004451d0
push 0
mov ecx, dword [ebp - 0x280]
call fcn.00445140
mov ecx, dword [ebp - 0x29c]
call fcn.0043d150
mov ecx, dword [eax + 0x24]
push ecx
mov ecx, dword [ebp - 0x29c]
call fcn.0043f5d0
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.004409b0
cmp eax, 1
sete al
movzx ecx, al
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.0043d150
mov ecx, eax
call fcn.00444de0
movzx eax, al
test eax, eax
jne 0x43db16
push 0xffffffffffffff95
mov ecx, dword [ebp - 0x29c]
call fcn.0043cbd0
mov ecx, dword [ebp - 0x29c]
add ecx, 0x78
push ecx
mov ecx, dword [ebp - 0x29c]
call fcn.0043d150
mov ecx, eax
call fcn.00444b70
mov edx, dword [ebp - 0x29c]
movzx eax, byte [edx + 0x15c]
test eax, eax
je 0x43db65
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x288], ecx
mov edx, dword [ebp - 0x288]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.0043d150
mov ecx, eax
call fcn.00445070
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x43dbd1
push 0
push 0xc
lea ecx, [ebp - 0x25c]
call fcn.00441bc0
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.0043f8d0
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.00441810
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.00441c00
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 0x43dc6d
mov ecx, dword [ebp - 0x29c]
call fcn.0043d150
movzx ecx, word [eax + 0xe]
test ecx, ecx
je 0x43dc6d
mov ecx, dword [ebp - 0x29c]
call fcn.0043d150
xor edx, edx
mov word [eax + 0xe], dx
mov ecx, dword [ebp - 0x29c]
call fcn.0043d150
movzx eax, word [eax + 0xe]
cmp eax, 8
jne 0x43dcf5
mov ecx, dword [ebp - 0x29c]
movzx edx, byte [ecx + 4]
test edx, edx
je 0x43dca2
mov eax, dword [ebp - 0x29c]
add eax, 0xc8
mov dword [ebp - 0x2a0], eax
jmp 0x43dcac
mov dword [ebp - 0x2a0], 0
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x2a0]
mov dword [ecx + 0x50], edx
push 0x38
push 0x499200
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.00483080
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x260]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.0043d120
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.004204e0
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.00469030
mov esp, ebp
pop ebp
ret 0xc