Function at 0x4721a8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [esp + 4], 0x52ef23
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov dword [ebx + 0x18], eax
test eax, eax
je 0x4723f9
mov dword [esp], eax
call sub.msvcrt.dll_rewind
mov dword [esp + 8], 0
mov dword [esp + 4], 8
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_fseek
mov eax, dword [ebx + 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 1
lea eax, [ebp - 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x52f0b5
mov dword [esp + 4], 0x10
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.0043fcd8
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x472342
mov edi, 0x30
xor esi, esi
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_rewind
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_fseek
test eax, eax
jne 0x47238b
mov eax, dword [ebx + 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 4
lea eax, [ebp - 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x52f0ca
mov dword [esp + 4], 0x10
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.0043fcd8
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x472361
mov eax, dword [ebp - 0x20]
shl eax, 9
xor edx, edx
add eax, dword [ebx + 0x28]
adc edx, dword [ebx + 0x2c]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x52f0da
mov dword [esp + 4], 0x10
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.0043fcd8
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x52f0f1
mov dword [esp + 4], 0x10
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.0043fcd8
mov dword [ebp - 0x20], 0
inc esi
add edi, 0x18
cmp dword [ebp - 0x1c], esi
ja 0x472258
fild qword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
js 0x472359
fstp dword [ebx + 0x3c]
mov al, 1
add esp, 0x4c
pop ebx
pop esi
pop edi
leave
ret
fadd dword [0x52f1e4]
jmp 0x47234c
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 0xc
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
cmp edx, 3
je 0x472471
cmp edx, 2
je 0x472436
mov dword [esp], eax
call fcn.005099c0
mov dword [esp + 0xc], 0x52f1b4
mov dword [esp + 8], 0x52ef61
mov dword [esp + 4], 8
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.0043fcd8
call fcn.00509b8c
xor eax, eax
jmp 0x472351
mov dword [esp], 4
call fcn.0050981c
mov dword [eax], 8
mov dword [esp + 8], 0
mov dword [esp + 4], 0x5373fc
mov dword [esp], eax
call fcn.0050a02c
mov dword [ebp - 0x34], eax
call fcn.00509b8c
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sub.libgcc_s_dw2_1.dll__Unwind_Resume
mov dword [esp], eax
call fcn.005099c0
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x52f1b4
mov dword [esp + 8], 0x52ef4a
mov dword [esp + 4], 8
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.0043fcd8
jmp 0x4723ed
mov dword [esp], eax
call fcn.005099c0
mov esi, dword [eax]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x52f1b4
mov dword [esp + 8], 0x52ef28
mov dword [esp + 4], 8
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.0043fcd8
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.004716d4
call fcn.00509b8c
test esi, esi
sete al
jmp 0x472351