Function at 0x453380
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x530998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.00439c20
lea edi, [esi + 0x1d4]
mov eax, 1
lea ebp, [esi + 0x1dc]
mov dword [esp + 0x24], 0
mov word [edi], ax
mov word [edi + 2], ax
mov ecx, ebp
mov dword [edi + 4], eax
call fcn.0041b350
mov eax, dword [esi + 0xc4]
mov dword [esi], 0x536e70
mov ebx, dword [eax + 0x20]
and ebx, 0xfffffffe
mov dword [eax + 0x20], ebx
mov ecx, dword [0x659a18]
push ecx
lea ebx, [esi + 0x1d0]
push 1
push 4
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
mov al, byte [ebx]
add esp, 0x10
test al, 0x10
je 0x4534bb
push 0x24
call fcn.00470250
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
je 0x453440
mov edx, dword [0x659a18]
push 1
push edx
call dword [sym.imp.MSVCRT.dll_ftell]
mov ecx, dword [esp + 0x34]
add esp, 4
push eax
call fcn.00488fd0
jmp 0x453442
xor eax, eax
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x134], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, 0xffffd8f1
mov dword [esp + 0x14], eax
mov edx, ecx
mov word [esp + 0x14], cx
sub edx, eax
mov eax, ecx
add word [esp + 0x18], dx
mov edx, dword [esp + 0x16]
sub eax, edx
mov word [esp + 0x16], cx
add word [esp + 0x1a], ax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
movsx eax, word [esi + 0x16]
movsx ecx, word [esi + 0x12]
movsx edx, word [esi + 0x14]
sub eax, ecx
lea ecx, [esp + 0x14]
inc eax
push eax
movsx eax, word [esi + 0x10]
sub edx, eax
inc edx
push edx
push 0
push 0
call fcn.004b4a60
mov ecx, dword [eax]
mov dword [esi + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x38], edx
jmp 0x4534ce
mov eax, dword [0x659a18]
push 1
push 0x10
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
test byte [ebx], 0x20
je 0x453567
push 0x24
call fcn.00470250
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x453503
mov ecx, dword [0x659a18]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, ebx
push eax
call fcn.00488fd0
jmp 0x453505
xor eax, eax
mov edx, dword [esi + 0x14]
mov dword [esi + 0x13c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [esi + 0x10], eax
lea ecx, [eax - 1]
mov word [esp + 0x18], cx
mov edx, dword [esp + 0x16]
dec edx
mov word [esp + 0x1a], dx
mov eax, dword [esp + 0x18]
mov dword [esi + 0x14], eax
movsx ecx, word [esi + 0x16]
movsx edx, word [esi + 0x12]
movsx eax, word [esi + 0x14]
sub ecx, edx
inc ecx
push ecx
movsx ecx, word [esi + 0x10]
sub eax, ecx
lea ecx, [esp + 0x18]
inc eax
push eax
push 0
push 0
call fcn.004b4a60
mov edx, dword [eax]
mov dword [esi + 0x34], edx
mov eax, dword [eax + 4]
mov dword [esi + 0x38], eax
jmp 0x45357b
mov ecx, dword [0x659a18]
push 1
push 0x10
push ecx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov edx, dword [0x659a18]
push edx
push 1
push 8
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fread]
call edi
mov eax, dword [0x659a18]
push eax
push 1
push 0xc
push ebp
call edi
mov ecx, dword [0x659a18]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x24
mov ecx, esi
push eax
call fcn.0043b300
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xb8], 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4