Function at 0x430f39
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.00430ba4
movzx eax, byte [0x6e4e80]
test al, al
je 0x4311d4
mov eax, dword [0x6e4e6c]
test eax, eax
je 0x4311d4
mov eax, dword [0x6e4e6c]
mov dword [esp], eax
call fcn.006020e0
test eax, eax
je 0x430f92
mov byte [0x6e4e80], 0
mov eax, 0
jmp 0x4311db
mov eax, dword [0x6e4e68]
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov eax, dword [0x6e4e68]
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.006225b0
mov eax, dword [0x6e4e68]
mov dword [esp], eax
call fcn.00622a70
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [0x6e4e70]
mov edx, dword [0x6e4e74]
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 [0x6e4e78]
mov edx, dword [0x6e4e7c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [0x6e4e70]
mov edx, dword [0x6e4e74]
add eax, 0xe
adc edx, 0
mov ecx, dword [0x6e4e68]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.006225b0
mov eax, dword [0x6e4e68]
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 0x431074
mov byte [0x6e4e80], 0
mov eax, 0
jmp 0x4311db
movzx eax, byte [ebp - 0x39]
or eax, 4
mov byte [ebp - 0x39], al
mov eax, dword [0x6e4e70]
mov edx, dword [0x6e4e74]
mov ecx, dword [0x6e4e68]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.006225b0
mov eax, dword [0x6e4e68]
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.00463eb5
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 [0x6e4e70]
mov edx, dword [0x6e4e74]
add eax, 0xa
adc edx, 0
mov ecx, dword [0x6e4e68]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.006225b0
mov eax, dword [0x6e4e68]
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.00463eb5
mov eax, dword [0x6e4e68]
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov eax, dword [0x6e4e68]
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.006225b0
movzx eax, byte [0x6e4e80]
add esp, 0x54
pop ebx
pop ebp
ret