Function at 0x466e10
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x546d49
push eax
mov eax, 0x2838
mov dword fs:[0], esp
call fcn.005322e0
mov eax, dword [esp + 0x2848]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x40], esi
call fcn.0043cc70
xor ebx, ebx
lea edi, [esi + 0x1e0]
mov eax, 1
mov dword [esi + 0x1d8], ebx
mov word [edi + 4], ax
mov word [edi + 6], ax
mov dword [edi + 8], eax
mov word [esi + 0x222], bx
mov word [esi + 0x220], bx
mov dword [esi + 0x224], ebx
mov dword [esi + 0x228], ebx
mov dword [esi + 0x22c], eax
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], eax
mov dword [esi + 0x238], eax
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], ebx
mov dword [esi + 0x2c4], ebx
mov dword [esi + 0x2c8], ebx
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
mov word [esi + 0x2cc], bx
mov word [esi + 0x2ce], bx
mov dword [esi + 0x2d8], ebx
mov dword [esi], 0x54ef84
mov edx, dword [0x67a8cc]
lea ecx, [esi + 0x1d0]
push edx
push eax
push 4
push ecx
mov dword [esp + 0x2860], ebx
call ebp
mov eax, dword [0x67a8cc]
lea ecx, [esi + 0x1d4]
push eax
push 1
push 2
push ecx
call ebp
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x1d6]
push edx
push 1
push 2
push eax
call ebp
mov eax, dword [0x67a8cc]
push eax
push 1
lea eax, [esi + 0x1d8]
push 4
push eax
call ebp
mov ecx, dword [0x67a8cc]
add esp, 0x40
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push ecx
push 1
push 4
push edx
call ebp
mov eax, dword [0x67a8cc]
push eax
push 1
push 0x30
push edi
call ebp
mov edx, dword [0x67a8cc]
xor ecx, ecx
mov dword [esp + 0x50], ecx
push edx
push 1
lea eax, [esp + 0x54]
mov dword [esp + 0x5c], ecx
push 0x10
push eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x68], ecx
call ebp
mov edx, dword [0x67a8cc]
xor ecx, ecx
mov dword [esp + 0x50], ecx
push edx
push 1
lea eax, [esp + 0x54]
mov dword [esp + 0x5c], ecx
push 0x10
push eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x68], ecx
call ebp
mov ecx, dword [0x67a8cc]
add esp, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, esi
push eax
call fcn.0043ee20
mov edx, dword [0x67a8cc]
lea edi, [esi + 0x2d0]
push edx
push 1
push 4
push edi
call ebp
mov ecx, dword [0x67a8cc]
lea eax, [esi + 0x2d4]
push ecx
push 1
push 4
push eax
call ebp
mov eax, dword [edi]
add esp, 0x20
cmp eax, ebx
je 0x467010
push 0x470
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x2850], 1
je 0x467005
mov edx, dword [edi]
mov ecx, eax
push edx
call fcn.00415890
jmp 0x467007
xor eax, eax
mov byte [esp + 0x2850], bl
mov dword [edi], eax
mov edi, dword [esi + 0x2d4]
cmp edi, ebx
je 0x467046
push 0x38
call sub.MFC42u.DLL_operatornew
add esp, 4
cmp eax, ebx
je 0x467036
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebx
jmp 0x467038
xor eax, eax
push edi
mov ecx, eax
mov dword [esi + 0x2d4], eax
call fcn.00468680
mov eax, dword [0x67a8f8]
mov ecx, dword [esi + 0x1d0]
test ecx, eax
jne 0x46705f
mov eax, dword [esi + 0xc4]
and dword [eax + 0x20], 0xfffffffe
lea eax, [esi + 0x210]
xor ecx, ecx
mov edx, eax
mov dword [esp + 0x10], eax
xor edi, edi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
cmp dword [esp + edi + 0x1c], ebx
je 0x4670ea
mov eax, dword [esp + edi + 0x2c]
dec eax
je 0x4670c5
dec eax
je 0x4670a9
dec eax
jne 0x4670ea
push 0x1c
call fcn.004784b0
add esp, 4
cmp eax, ebx
je 0x4670e2
mov ecx, dword [esp + edi + 0x1c]
push ecx
mov ecx, eax
call fcn.004cf860
jmp 0x4670e4
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, ebx
je 0x4670e2
mov ecx, dword [esp + edi + 0x1c]
push ecx
mov ecx, eax
call fcn.004cfd90
jmp 0x4670e4
push 0x24
call fcn.004784b0
add esp, 4
cmp eax, ebx
je 0x4670e2
mov ecx, dword [esp + edi + 0x1c]
push ebx
push ecx
mov ecx, eax
call fcn.004cfb10
jmp 0x4670e4
xor eax, eax
mov edx, dword [esp + 0x10]
mov dword [edx], eax
mov ecx, dword [esp + 0x10]
add edi, 4
add ecx, 4
cmp edi, 0x10
mov dword [esp + 0x10], ecx
jl 0x46707a
xor eax, eax
mov ax, word [esi + 0x1d6]
lea eax, [eax + eax*2]
shl eax, 2
push eax
call sub.MFC42u.DLL_operatornew
mov dword [esi + 0x1dc], eax
mov edx, dword [0x67a8cc]
mov ecx, 0x9ff
xor eax, eax
lea edi, [esp + 0x50]
mov dword [esp + 0x4c], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [0x67a8cc]
xor ecx, ecx
mov cx, word [esi + 0x1d6]
push eax
push ecx
lea edx, [esp + 0x60]
push 4
push edx
call ebp
add esp, 0x20
xor edi, edi
cmp word [esi + 0x1d6], bx
jbe 0x4671a0
mov dword [esp + 0x10], ebx
lea ebp, [esp + 0x48]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x1dc]
push eax
add ecx, edx
call fcn.00466b00
mov ecx, dword [esp + 0x10]
inc edi
add ecx, 0xc
add ebp, 4
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov cx, word [esi + 0x1d6]
cmp edi, ecx
jl 0x46716f
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.00467690
movsx eax, word [eax + 2]
movsx edx, word [esi + 0x16]
movsx edi, word [esi + 0x12]
lea ecx, [eax + eax]
sub edx, edi
movsx edi, word [esi + 0x10]
sub edx, ecx
inc edx
push edx
movsx edx, word [esi + 0x14]
sub edx, edi
sub edx, ecx
movsx ecx, word [esi + 0x12]
inc edx
add ecx, eax
push edx
push ecx
movsx edx, word [esi + 0x10]
add edx, eax
lea ecx, [esp + 0x1c]
push edx
call fcn.004c9320
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 4]
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 + 0x40]
inc eax
push eax
movsx eax, word [esi + 0x10]
sub edx, eax
inc edx
push edx
push ebx
push ebx
call fcn.004c9320
mov ecx, dword [eax]
lea edi, [esi + 0x244]
mov dword [esi + 0x34], ecx
mov ecx, 0x20
mov edx, dword [eax + 4]
xor eax, eax
mov dword [esi + 0x38], edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2848]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2844
ret 4