Function at 0x4330fb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x19c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18c], eax
mov dword [esp], 0x8048
call fcn.00461cdf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.004469e4
cmp dword [ebp - 0x18c], 0
js 0x43314d
lea eax, [ebp - 0x188]
mov dword [esp], eax
call fcn.004469e4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x28]
mov edx, 0x8000
mov ecx, edx
sub ecx, eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], 1
mov dword [esp], edx
call sub.msvcrt.dll_fread
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
add dword [ebp - 0x28], eax
adc dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
add dword [ebp - 0x20], eax
adc dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x28]
xor ah, 0x80
mov esi, eax
mov eax, dword [ebp - 0x24]
xor ah, 0
mov edi, eax
mov eax, edi
or eax, esi
test eax, eax
je 0x433245
mov eax, dword [ebp - 0x48]
xor ah, 0
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x44]
xor ah, 0
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x198]
mov ebx, dword [ebp - 0x194]
mov eax, ebx
or eax, ecx
test eax, eax
jne 0x43322d
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_ferror
test eax, eax
je 0x43330a
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebp - 0x3c], 0
mov eax, 1
jmp 0x433424
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_feof
test eax, eax
jne 0x43330d
jmp 0x433169
nop
lea eax, [ebp - 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x8000
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.004470ae
cmp dword [ebp - 0x18c], 0
js 0x43315b
mov eax, dword [ebp - 0x190]
mov edx, dword [ebp - 0x18c]
cmp edx, dword [ebp - 0x1c]
jg 0x43315b
cmp edx, dword [ebp - 0x1c]
jl 0x433293
cmp eax, dword [ebp - 0x20]
jae 0x43315b
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add eax, 0xffff8000
adc edx, 0xffffffff
mov ecx, eax
mov ebx, edx
mov eax, dword [ebp - 0x190]
mov edx, dword [ebp - 0x18c]
sub eax, ecx
sbb edx, ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
jg 0x4332db
cmp dword [ebp - 0x2c], 0
js 0x4332cd
cmp dword [ebp - 0x30], 0
ja 0x4332db
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
mov edx, 0x8000
mov ecx, edx
sub ecx, eax
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
add edx, eax
lea eax, [ebp - 0x188]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.00446ebf
jmp 0x43315b
nop
jmp 0x43330e
nop
cmp dword [ebp - 0x24], 0
js 0x4333da
cmp dword [ebp - 0x24], 0
jg 0x433328
cmp dword [ebp - 0x28], 0
jbe 0x4333da
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0xe8]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.00446ebf
cmp dword [ebp - 0x18c], 0
js 0x4333da
mov eax, dword [ebp - 0x190]
mov edx, dword [ebp - 0x18c]
cmp edx, dword [ebp - 0x1c]
jg 0x4333da
cmp edx, dword [ebp - 0x1c]
jl 0x43336c
cmp eax, dword [ebp - 0x20]
jae 0x4333da
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x28]
sbb edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x190]
mov ebx, dword [ebp - 0x18c]
sub ecx, eax
sbb ebx, edx
mov eax, ecx
mov edx, ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
jg 0x4333b2
cmp dword [ebp - 0x34], 0
js 0x4333a4
cmp dword [ebp - 0x38], 0
ja 0x4333b2
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
mov ecx, edx
sub ecx, eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
add edx, eax
lea eax, [ebp - 0x188]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.00446ebf
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00446bbb
cmp dword [ebp - 0x18c], 0
js 0x43340d
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
lea eax, [ebp - 0x188]
mov dword [esp], eax
call fcn.00446bbb
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [ebp - 0x3c], 0
mov eax, 0
add esp, 0x19c
pop ebx
pop esi
pop edi
pop ebp
ret