Function at 0x447e70
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x546188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.0043cc70
xor edx, edx
lea ebp, [esi + 0x1e4]
lea edi, [esi + 0x1e8]
mov dword [esi + 0x1d8], edx
mov dword [ebp], edx
mov ecx, 6
xor eax, eax
mov dword [edi + 4], edx
rep stosd dword es:[edi], eax
lea eax, [esi + 0x200]
xor ecx, ecx
lea ebx, [esi + 0x214]
mov dword [esp + 0x1c], edx
mov dword [eax + 4], edx
mov dword [eax], ecx
mov edi, ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x18], edx
mov ecx, 0xc
xor eax, eax
mov dword [ebx + 0x1c], edx
rep stosd dword es:[edi], eax
lea eax, [esi + 0x244]
lea ecx, [esi + 0x264]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
call fcn.00489090
lea eax, [esi + 0x254]
xor ecx, ecx
mov dword [esi], 0x54cc70
xor edx, edx
mov dword [eax], ecx
mov dword [eax + 4], ecx
lea eax, [esi + 0x25c]
mov dword [esi + 0x25c], edx
mov dword [eax + 4], edx
mov ecx, dword [0x67a8cc]
push ecx
push 1
lea edx, [esi + 0x1d0]
push 0x14
push edx
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [0x67a8cc]
mov edi, dword [sym.imp.MSVCRT.dll_ftell]
push eax
call edi
add esp, 0x14
mov ecx, esi
mov dword [esp + 0x24], eax
push eax
call fcn.0043ede0
cmp dword [0x67a7f0], 0x19
jl 0x4480ca
mov ecx, dword [esp + 0x24]
mov edx, dword [0x67a8cc]
add ecx, 8
push 0
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [0x67a8cc]
push eax
push 1
push 4
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
mov al, byte [ebp]
add esp, 0x1c
test al, 1
je 0x447fe4
push 0x24
call fcn.004784b0
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x447fda
mov ecx, dword [0x67a8cc]
push 1
push ecx
call edi
mov ecx, dword [esp + 0x2c]
add esp, 4
push eax
call fcn.00495d60
mov dword [esi + 0x104], eax
jmp 0x447ff8
xor eax, eax
mov dword [esi + 0x104], eax
jmp 0x447ff8
mov edx, dword [0x67a8cc]
push 1
push 0x10
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
cmp dword [0x67a7f0], 0x1a
jl 0x4480ca
lea eax, [esi + 0x1e8]
push 0x18
push eax
mov eax, dword [0x67a8cc]
push eax
call edi
add esp, 4
push eax
call fcn.0047a710
mov ecx, dword [0x67a8cc]
add esp, 0xc
lea eax, [esi + 0x200]
push 0x14
push eax
push ecx
call edi
add esp, 4
push eax
call fcn.0047a710
mov edx, dword [0x67a8cc]
add esp, 0xc
push 0x30
push ebx
push edx
call edi
add esp, 4
push eax
call fcn.0047a710
add esp, 0xc
lea eax, [esi + 0x244]
push 0x10
push eax
mov eax, dword [0x67a8cc]
push eax
call edi
add esp, 4
push eax
call fcn.0047a710
mov ecx, dword [0x67a904]
mov eax, dword [ebp]
add esp, 0xc
test ecx, eax
je 0x44809d
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x254]
push edx
push 1
push 8
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
test byte [ebx], 2
je 0x4480ca
push 0x24
call fcn.004784b0
add esp, 4
test eax, eax
je 0x4480c2
lea ecx, [esi + 0x234]
push 1
push ecx
mov ecx, eax
call fcn.00495db0
jmp 0x4480c4
xor eax, eax
mov dword [esi + 0x10c], eax
mov ecx, esi
call fcn.0043d3d0
mov ecx, eax
call fcn.004c9d30
push eax
mov ecx, esi
call fcn.0043d3d0
mov ecx, eax
call fcn.004c9eb0
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x14]
and dh, 0xfd
mov dword [esi + 0xb8], 2
or dh, 1
mov eax, esi
mov dword [esi + 8], edx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4