Function at 0x428ad0
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x18c
mov dword [esp], 0x8048
mov edi, dword [esp + 0x1a4]
mov esi, dword [esp + 0x1a0]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
call fcn.00447900
mov ebp, eax
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.004331d0
test edi, edi
js 0x428b27
lea esi, [esp + 0xe0]
mov dword [esp], esi
call fcn.004331d0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], ebp
mov ebp, ebx
xor esi, esi
xor edi, edi
jmp 0x428b60
mov edx, dword [esp + 0x18]
movzx eax, word [ebp + 0xc]
test edx, edx
je 0x428c40
test al, 0x20
jne 0x428d38
mov edx, 0x8000
mov eax, esi
add eax, dword [esp + 0x1c]
mov dword [esp + 0xc], ebp
sub edx, esi
mov dword [esp + 4], 1
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.cygwin1.dll_fread
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x20], esi
add esi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edi
adc edi, edx
mov dword [esp + 0x28], ecx
add ecx, eax
mov eax, esi
mov dword [esp + 0x2c], ebx
adc ebx, edx
xor ah, 0x80
or eax, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
jne 0x428b48
lea eax, [esp + 0x40]
mov dword [esp + 4], 0x8000
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.00433240
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
cmp eax, ebx
mov eax, edx
sbb eax, esi
jae 0x428b3d
mov ecx, dword [esp + 0x30]
mov eax, ebx
mov edx, esi
mov ebx, dword [esp + 0x34]
add eax, 0xffff8000
adc edx, 0xffffffff
sub ecx, eax
sbb ebx, edx
xor eax, eax
cmp ecx, eax
mov edi, ebx
sbb edi, 0
cmovl ecx, eax
lea eax, [esp + 0xe0]
mov dword [esp + 8], eax
mov eax, 0x8000
sub eax, ecx
add ecx, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00434440
jmp 0x428b3d
mov ebp, dword [esp + 0x1c]
test al, 0x40
jne 0x428d50
mov eax, edi
mov ebx, esi
or eax, esi
jne 0x428c90
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.00434370
mov eax, dword [esp + 0x34]
test eax, eax
jns 0x428d18
mov dword [esp], ebp
call fcn.004376c0
add esp, 0x18c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x40]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], ebp
call fcn.00434440
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
cmp eax, esi
mov eax, edx
sbb eax, edi
jae 0x428c54
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
sub esi, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
sbb edi, dword [esp + 0x24]
sub eax, esi
lea esi, [esp + 0xe0]
sbb edx, edi
xor ecx, ecx
mov dword [esp + 8], esi
cmp eax, ecx
mov edi, edx
sbb edi, 0
cmovl eax, ecx
sub ebx, eax
add eax, ebp
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.00434440
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.00434370
jmp 0x428d1f
lea esi, [esp + 0xe0]
mov eax, dword [esp + 0x3c]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00434370
jmp 0x428c74
mov eax, edi
mov ebp, dword [esp + 0x1c]
mov ebx, esi
or eax, esi
je 0x428c54
jmp 0x428c90
mov dword [esp], ebp
call fcn.004376c0
add esp, 0x18c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret