Function at 0x45b6c0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x546948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov eax, dword [esp + 0x84]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push eax
mov dword [esp + 0x14], ebx
call fcn.004586a0
mov eax, dword [ebx + 0xc4]
xor ebp, ebp
mov dword [ebx + 0x268], ebp
mov dword [ebx], 0x54e98c
mov edi, dword [eax + 0x20]
mov esi, 1
and edi, 0xfffffffe
mov dword [esp + 0x8c], ebp
mov dword [eax + 0x20], edi
mov ecx, dword [ebx + 0x1e4]
mov eax, dword [ebx + 0x210]
mov edx, dword [ebx + 0x208]
and ecx, 8
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ecx
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x68]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x48], edx
rep stosd dword es:[edi], eax
mov ecx, dword [0x67a8cc]
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push ecx
push esi
lea edx, [esp + 0x6c]
push 0x20
push edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebp
call edi
mov eax, dword [0x67a8cc]
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x14
mov ecx, ebx
push eax
call fcn.0043ede0
mov ecx, dword [0x67a8cc]
lea edx, [esp + 0x24]
push ecx
push esi
push 0x20
push edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebp
call edi
xor eax, eax
add esp, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov al, byte [ebx + 0x1e4]
test al, 0x40
je 0x45b7f2
mov ecx, dword [0x67a8cc]
lea edx, [esp + 0x14]
push ecx
push esi
push 0x10
push edx
call edi
add esp, 0x10
jmp 0x45b804
mov eax, dword [0x67a8cc]
push esi
push 0x10
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
lea eax, [ebx + 0xe6c]
xor ecx, ecx
mov edx, eax
lea esi, [esp + 0x14]
mov edi, eax
mov ebp, 4
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
cmp dword [esi], 0
jle 0x45b88a
mov eax, dword [esp + 0x30]
dec eax
je 0x45b86a
dec eax
je 0x45b850
dec eax
jne 0x45b88a
push 0x1c
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45b886
mov ecx, dword [esi]
push ecx
mov ecx, eax
call fcn.004cf860
jmp 0x45b888
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45b886
mov edx, dword [esi]
mov ecx, eax
push edx
call fcn.004cfd90
jmp 0x45b888
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45b886
mov ecx, dword [esi]
push 0
push ecx
mov ecx, eax
call fcn.004cfb10
jmp 0x45b888
xor eax, eax
mov dword [edi], eax
add esi, 4
add edi, 4
dec ebp
jne 0x45b824
mov dword [ebx + 0x214], 8
xor esi, esi
lea edi, [ebx + 0x218]
mov eax, dword [esp + esi*4 + 0x44]
test eax, eax
je 0x45b91c
mov eax, dword [esp + esi*4 + 0x64]
test eax, eax
jle 0x45b91c
mov eax, dword [esp + esi*4 + 0x24]
dec eax
je 0x45b8fa
dec eax
je 0x45b8de
dec eax
jne 0x45b91c
push 0x1c
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45b918
mov edx, dword [esp + esi*4 + 0x64]
mov ecx, eax
push edx
call fcn.004cf860
jmp 0x45b91a
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45b918
mov ecx, dword [esp + esi*4 + 0x64]
push ecx
mov ecx, eax
call fcn.004cfd90
jmp 0x45b91a
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x45b918
mov edx, dword [esp + esi*4 + 0x64]
push 0
push edx
mov ecx, eax
call fcn.004cfb10
jmp 0x45b91a
xor eax, eax
mov dword [edi], eax
mov eax, dword [ebx + 0x214]
inc esi
add edi, 4
cmp esi, eax
jl 0x45b8a5
mov ecx, dword [esp + 0x84]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret 4