Function at 0x425fe0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f39f
mov eax, dword fs:[0]
push eax
sub esp, 0xc94
mov eax, dword [0x5bf500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xc88], eax
mov dword [ebp - 0xc94], eax
mov dword [ebp - 0xc98], 0
mov dword [ebp - 4], 2
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0xc7c], edi
mov dword [ebp - 0xc78], ebx
mov dword [ebp - 0xc74], ebx
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc84], esp
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push 0x58d0e4
mov word [ecx], ax
call fcn.00404140
mov byte [ebp - 4], 4
push ecx
mov byte [ebp - 4], 3
lea edx, [ebp - 0xc10]
call fcn.00425870
add esp, 0x1c
test eax, eax
jle 0x4260f3
lea eax, [ebp - 0xc10]
push eax
lea ecx, [ebp - 0xc28]
call fcn.00403ff0
mov byte [ebp - 4], 5
lea eax, [ebp - 0xc28]
push eax
lea ecx, [ebp - 0xc7c]
call fcn.00429040
mov byte [ebp - 4], 3
cmp dword [ebp - 0xc14], 8
jb 0x4260ca
push dword [ebp - 0xc28]
call fcn.00443e80
add esp, 4
mov ebx, dword [ebp - 0xc78]
xor eax, eax
mov edi, dword [ebp - 0xc7c]
mov dword [ebp - 0xc14], 7
mov dword [ebp - 0xc18], 0
mov word [ebp - 0xc28], ax
cmp dword [ebp + 0x30], 0
je 0x42612d
push dword [ebp - 0xc94]
mov edx, ebx
push ecx
mov ecx, edi
call fcn.0042cc20
add esp, 8
mov dword [ebp - 0xc78], edi
lea eax, [ebp + 0x20]
lea ecx, [ebp - 0xc7c]
push eax
call fcn.00429170
mov ebx, dword [ebp - 0xc78]
mov edi, dword [ebp - 0xc7c]
push 0
mov dword [ebp - 0xc30], 0
lea ecx, [ebp - 0xc40]
mov dword [ebp - 0xc2c], 0
push 0x584694
mov dword [ebp - 0xc2c], 0xf
mov dword [ebp - 0xc30], 0
mov byte [ebp - 0xc40], 0
call fcn.004027f0
mov byte [ebp - 4], 6
mov ecx, ebx
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
xor esi, esi
sar edx, 2
mov eax, edx
mov dword [ebp - 0xc84], esi
shr eax, 0x1f
add eax, edx
je 0x42643d
jmp 0x4261a0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [ebp - 0xc7c]
push ecx
push esi
lea ecx, [ebp - 0xc28]
call fcn.0042c080
mov byte [ebp - 4], 7
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0xc28]
lea ecx, [ebp - 0xc58]
call fcn.0042c1d0
add esp, 0xc
mov byte [ebp - 4], 8
lea eax, [ebp - 0xc58]
cmp dword [ebp - 0xc44], 8
push 0
cmovae eax, dword [ebp - 0xc58]
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42639f
lea eax, [ebp - 0xc90]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jle 0x426398
cmp dword [ebp - 0xc2c], 0x10
lea eax, [ebp - 0xc40]
push 0
cmovae eax, dword [ebp - 0xc40]
push 0x584694
push eax
call fcn.00405b90
add esp, 0xc
test eax, eax
jne 0x42625e
cmp dword [ebp - 0xc30], eax
setne al
test eax, eax
sete al
test al, al
jne 0x426282
lea eax, [ebp - 0xc90]
push eax
lea eax, [ebp - 0xca0]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 0xffffffff
jne 0x426398
push 0
push 0x584694
lea ecx, [ebp - 0xc40]
mov dword [ebp - 0xc80], 0
call fcn.004027f0
push 0
lea eax, [ebp - 0xc80]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push esi
call ebx
test eax, eax
je 0x426380
mov edi, edi
mov eax, dword [ebp - 0xc80]
test eax, eax
je 0x426380
push eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0xc60], 0
mov dword [ebp - 0xc5c], 0
lea ecx, [ebp - 0xc70]
push eax
mov dword [ebp - 0xc5c], 0xf
mov dword [ebp - 0xc60], 0
mov byte [ebp - 0xc70], 0
call fcn.004027f0
mov byte [ebp - 4], 9
lea eax, [ebp - 0xc70]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xc40]
call fcn.004070a0
mov byte [ebp - 4], 8
cmp dword [ebp - 0xc5c], 0x10
jb 0x426345
push dword [ebp - 0xc70]
call fcn.00443e80
add esp, 4
push 0
lea eax, [ebp - 0xc80]
mov dword [ebp - 0xc5c], 0xf
push eax
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 0xc60], 0
push eax
push esi
mov byte [ebp - 0xc70], 0
call ebx
test eax, eax
jne 0x4262c0
mov eax, dword [ebp - 0xc90]
mov dword [ebp - 0xca0], eax
mov eax, dword [ebp - 0xc8c]
mov dword [ebp - 0xc9c], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 7
cmp dword [ebp - 0xc44], 8
jb 0x4263ba
push dword [ebp - 0xc58]
call fcn.00443e80
add esp, 4
xor eax, eax
mov dword [ebp - 0xc44], 7
mov dword [ebp - 0xc48], eax
mov word [ebp - 0xc58], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0xc14], 8
jb 0x4263ee
push dword [ebp - 0xc28]
call fcn.00443e80
add esp, 4
mov ebx, dword [ebp - 0xc78]
xor eax, eax
mov edi, dword [ebp - 0xc7c]
mov ecx, ebx
mov esi, dword [ebp - 0xc84]
sub ecx, edi
mov word [ebp - 0xc28], ax
inc esi
mov dword [ebp - 0xc18], eax
mov eax, 0x2aaaaaab
imul ecx
mov dword [ebp - 0xc14], 7
sar edx, 2
mov eax, edx
mov dword [ebp - 0xc84], esi
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4261a0
mov esi, dword [ebp - 0xc88]
lea edx, [ebp - 0xc40]
mov ecx, esi
call fcn.00403da0
mov dword [ebp - 0xc98], 1
mov byte [ebp - 4], 3
cmp dword [ebp - 0xc2c], 0x10
jb 0x426475
push dword [ebp - 0xc40]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0xc2c], 0xf
mov dword [ebp - 0xc30], 0
mov byte [ebp - 0xc40], 0
mov byte [ebp - 4], 2
test edi, edi
je 0x4264f7
mov esi, edi
cmp edi, ebx
je 0x4264ca
mov edi, edi
cmp dword [esi + 0x14], 8
jb 0x4264b0
push dword [esi]
call fcn.00443e80
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, ebx
jne 0x4264a0
push edi
call fcn.00443e80
mov esi, dword [ebp - 0xc88]
add esp, 4
mov dword [ebp - 0xc7c], 0
mov dword [ebp - 0xc78], 0
mov dword [ebp - 0xc74], 0
mov byte [ebp - 4], 1
cmp dword [ebp + 0x1c], 8
jb 0x42650c
push dword [ebp + 8]
call fcn.00443e80
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
mov byte [ebp - 4], al
cmp dword [ebp + 0x34], 8
jb 0x426534
push dword [ebp + 0x20]
call fcn.00443e80
add esp, 4
xor eax, eax
mov dword [ebp + 0x34], 7
mov dword [ebp + 0x30], 0
mov word [ebp + 0x20], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051ece9
mov esp, ebp
pop ebp
ret