Function at 0x4307d2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x54
mov dword [esp + 4], 4
mov dword [esp], str._r_n_r_n
call fcn.00430480
movzx eax, byte [0x6e9e40]
test al, al
je 0x430a6d
mov eax, dword [0x6e9e2c]
test eax, eax
je 0x430a6d
mov eax, dword [0x6e9e2c]
mov dword [esp], eax
call fcn.00606450
test eax, eax
je 0x43082b
mov byte [0x6e9e40], 0
mov eax, 0
jmp 0x430a74
mov eax, dword [0x6e9e28]
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov eax, dword [0x6e9e28]
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.00626920
mov eax, dword [0x6e9e28]
mov dword [esp], eax
call fcn.00626de0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [0x6e9e30]
mov edx, dword [0x6e9e34]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
sub ecx, eax
sbb ebx, edx
mov eax, ecx
mov edx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [0x6e9e38]
mov edx, dword [0x6e9e3c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [0x6e9e30]
mov edx, dword [0x6e9e34]
add eax, 0xe
adc edx, 0
mov ecx, dword [0x6e9e28]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.00626920
mov eax, dword [0x6e9e28]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xa
mov dword [esp + 4], 1
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xa
je 0x43090d
mov byte [0x6e9e40], 0
mov eax, 0
jmp 0x430a74
movzx eax, byte [ebp - 0x39]
or eax, 4
mov byte [ebp - 0x39], al
mov eax, dword [0x6e9e30]
mov edx, dword [0x6e9e34]
mov ecx, dword [0x6e9e28]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.00626920
mov eax, dword [0x6e9e28]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xa
mov dword [esp + 4], 1
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.00462be1
mov byte [ebp - 0x32], 0xc
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x30], 0x73
mov byte [ebp - 0x2f], 0x6c
mov byte [ebp - 0x2e], 8
mov byte [ebp - 0x2d], 0
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x2c], al
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
shrd eax, edx, 8
sar edx, 8
mov byte [ebp - 0x2b], al
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
shrd eax, edx, 0x10
sar edx, 0x10
mov byte [ebp - 0x2a], al
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
shrd eax, edx, 0x18
sar edx, 0x18
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x20]
mov byte [ebp - 0x28], al
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
shrd eax, edx, 8
sar edx, 8
mov byte [ebp - 0x27], al
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
shrd eax, edx, 0x10
sar edx, 0x10
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
shrd eax, edx, 0x18
sar edx, 0x18
mov byte [ebp - 0x25], al
mov eax, dword [0x6e9e30]
mov edx, dword [0x6e9e34]
add eax, 0xa
adc edx, 0
mov ecx, dword [0x6e9e28]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.00626920
mov eax, dword [0x6e9e28]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xe
mov dword [esp + 4], 1
lea eax, [ebp - 0x32]
mov dword [esp], eax
call fcn.00462be1
mov eax, dword [0x6e9e28]
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov eax, dword [0x6e9e28]
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.00626920
movzx eax, byte [0x6e9e40]
add esp, 0x54
pop ebx
pop ebp
ret