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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472083
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x49ab20]
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.00426150
movzx eax, al
test eax, eax
je 0x426e5c
xor al, al
jmp 0x42730e
mov ecx, dword [ebp - 0x29c]
movsx edx, byte [ecx + 0xe4]
test edx, edx
je 0x426e74
xor al, al
jmp 0x42730e
mov ecx, dword [ebp - 0x29c]
add ecx, 0x78
call fcn.00429d80
cmp eax, 0xffffffff
jne 0x426e8e
xor al, al
jmp 0x42730e
mov ecx, dword [ebp - 0x29c]
call fcn.00426290
cmp eax, 0xffff
jne 0x426ea7
xor al, al
jmp 0x42730e
cmp dword [ebp + 0x10], 0
je 0x426f68
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.0042f8ac
test eax, eax
jne 0x426f27
mov byte [ebp - 0x24d], 0
jmp 0x426f56
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp + 8]
call fcn.0042de20
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 0x426f56
mov byte [ebp - 0x24d], 0
movzx ecx, byte [ebp - 0x24d]
test ecx, ecx
jne 0x426f68
xor al, al
jmp 0x42730e
mov ecx, dword [ebp - 0x29c]
add ecx, 0x20
call fcn.0042af10
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x29c]
add ecx, 0xe8
call fcn.0042bd60
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x29c]
call fcn.00426740
mov ecx, eax
call fcn.0042e470
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 0x427006
mov ecx, dword [ebp - 0x29c]
call fcn.00426290
push eax
push str.file_i
lea edx, [ebp - 0x10]
push edx
call fcn.004069a0
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.00426740
mov ecx, eax
call fcn.0042e440
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 0x42704b
jmp 0x427084
cmp dword [ebp - 0x280], 0
jne 0x427063
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.0042e5a0
push 0
mov ecx, dword [ebp - 0x280]
call fcn.0042e510
mov ecx, dword [ebp - 0x29c]
call fcn.00426740
mov ecx, dword [eax + 0x24]
push ecx
mov ecx, dword [ebp - 0x29c]
call fcn.004288f0
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.00429d80
cmp eax, 1
sete al
movzx ecx, al
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.00426740
mov ecx, eax
call fcn.0042e1b0
movzx eax, al
test eax, eax
jne 0x427106
push 0xffffffffffffff95
mov ecx, dword [ebp - 0x29c]
call fcn.004261c0
mov ecx, dword [ebp - 0x29c]
add ecx, 0x78
push ecx
mov ecx, dword [ebp - 0x29c]
call fcn.00426740
mov ecx, eax
call fcn.0042df40
mov edx, dword [ebp - 0x29c]
movzx eax, byte [edx + 0x15c]
test eax, eax
je 0x427155
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x288], ecx
mov edx, dword [ebp - 0x288]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.00426740
mov ecx, eax
call fcn.0042e440
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x4271c1
push 0
push 0xc
lea ecx, [ebp - 0x25c]
call fcn.0042af90
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.00428bf0
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.0042abe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.0042afd0
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 0x42725d
mov ecx, dword [ebp - 0x29c]
call fcn.00426740
movzx ecx, word [eax + 0xe]
test ecx, ecx
je 0x42725d
mov ecx, dword [ebp - 0x29c]
call fcn.00426740
xor edx, edx
mov word [eax + 0xe], dx
mov ecx, dword [ebp - 0x29c]
call fcn.00426740
movzx eax, word [eax + 0xe]
cmp eax, 8
jne 0x4272e5
mov ecx, dword [ebp - 0x29c]
movzx edx, byte [ecx + 4]
test edx, edx
je 0x427292
mov eax, dword [ebp - 0x29c]
add eax, 0xc8
mov dword [ebp - 0x2a0], eax
jmp 0x42729c
mov dword [ebp - 0x2a0], 0
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x2a0]
mov dword [ecx + 0x50], edx
push 0x38
push 0x47e4e8
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.0046a410
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x260]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.00426710
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.0040ab90
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.004522e0
mov esp, ebp
pop ebp
ret 0xc