Function at 0x4abf80
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5319ba
push eax
mov eax, 0x2004
mov dword fs:[0], esp
call fcn.0051c710
mov eax, dword [esp + 0x2014]
push ebx
push ebp
xor ebp, ebp
cmp eax, ebp
mov ebx, ecx
je 0x4ac5c9
push esi
push edi
push ebp
push eax
mov eax, dword [0x659a18]
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [0x659a18]
push ecx
push 1
push 0x388
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
mov ecx, 0x40
xor eax, eax
lea edi, [ebx + 0x180]
mov dword [ebx + 0x158], ebp
mov dword [ebx + 0x15c], ebp
mov dword [ebx + 0x16c], ebp
mov dword [ebx + 0x170], ebp
mov dword [ebx + 0x174], ebp
mov dword [ebx + 0x178], ebp
mov dword [ebx + 0x380], ebp
mov dword [ebx + 0x384], ebp
push 4
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [ebx + 0x280]
rep stosd dword es:[edi], eax
call fcn.00470250
add esp, 0x20
cmp eax, ebp
je 0x4ac03c
mov ecx, eax
call fcn.004b04e0
jmp 0x4ac03e
xor eax, eax
mov esi, dword [ebx + 0x104]
mov dword [ebx + 0x17c], eax
cmp esi, ebp
je 0x4ac066
push 0x14
call sub.MFC42u.DLL_operatornew
add esp, 4
mov ecx, eax
mov dword [ebx + 0x104], eax
push esi
call fcn.004aa4b0
test byte [ebx], 0x80
je 0x4ac124
cmp dword [ebx + 0x124], ebp
je 0x4ac124
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0x201c], ebp
je 0x4ac0a4
mov edx, dword [ebx + 0x124]
mov ecx, eax
push edx
call fcn.004abc40
jmp 0x4ac0a6
xor eax, eax
mov ecx, dword [ebx]
mov dword [ebx + 0x124], eax
lea edi, [ebx + 0x154]
lea eax, [ebx + 4]
push edi
and ecx, 1
push eax
push ecx
mov dword [esp + 0x2028], 0xffffffff
call fcn.004abbe0
mov ecx, eax
call fcn.004abad0
cmp eax, ebp
mov dword [ebx + 0x150], eax
mov dword [esp + 0x10], ebp
jle 0x4ac136
xor esi, esi
mov edx, dword [edi]
mov eax, esi
add eax, edx
mov ecx, dword [eax]
or ecx, 0x80000000
mov dword [eax], ecx
mov eax, dword [ebx + 0x104]
cmp eax, ebp
je 0x4ac109
mov eax, dword [edi]
mov ecx, esi
add ecx, eax
call fcn.004aa830
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x150]
inc eax
add esi, 0x10c
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4ac0e4
jmp 0x4ac136
mov dword [ebx + 0x124], ebp
mov dword [ebx + 0x150], ebp
mov dword [ebx + 0x154], ebp
mov eax, dword [ebx]
test ah, 0x10
je 0x4ac198
cmp dword [ebx + 0x138], ebp
je 0x4ac198
push 0x28
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0x201c], 1
je 0x4ac183
mov edx, dword [ebx + 0x138]
mov ecx, eax
push edx
call fcn.004abdf0
mov dword [esp + 0x201c], 0xffffffff
mov dword [ebx + 0x138], eax
jmp 0x4ac19e
xor eax, eax
mov dword [esp + 0x201c], 0xffffffff
mov dword [ebx + 0x138], eax
jmp 0x4ac19e
mov dword [ebx + 0x138], ebp
cmp dword [ebx + 0x108], ebp
jle 0x4ac283
mov eax, dword [ebx + 0x10c]
cmp eax, ebp
je 0x4ac283
push ebp
push eax
mov eax, dword [0x659a18]
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [ebx + 0x108]
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x20], ebp
rep stosd dword es:[edi], eax
mov ecx, dword [0x659a18]
lea eax, [esp + 0x20]
push ecx
push edx
push 4
push eax
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [ebx + 0x150]
mov edi, dword [ebx + 0x108]
add eax, edi
mov ecx, eax
shl ecx, 5
add ecx, eax
lea edx, [eax + ecx*2]
shl edx, 2
push edx
call fcn.00470b90
mov dword [ebx + 0x10c], eax
mov eax, dword [ebx + 0x108]
add esp, 0x20
test eax, eax
jle 0x4ac281
xor esi, esi
lea edi, [esp + 0x14]
mov eax, dword [edi]
push 0xffffffffffffffff
push eax
mov eax, dword [ebx + 0x10c]
mov ecx, esi
add ecx, eax
call fcn.004aa7b0
mov edx, dword [ebx + 0x10c]
mov eax, esi
add eax, edx
mov ecx, dword [eax]
or ecx, 0x80000000
mov dword [eax], ecx
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x4ac26d
mov eax, dword [ebx + 0x10c]
mov ecx, esi
add ecx, eax
call fcn.004aa830
mov eax, dword [ebx + 0x108]
inc ebp
add edi, 4
add esi, 0x10c
cmp ebp, eax
jl 0x4ac22c
xor ebp, ebp
mov eax, dword [ebx + 0x150]
cmp eax, ebp
jle 0x4ac2ed
mov edx, dword [ebx + 0x10c]
cmp edx, ebp
je 0x4ac2cd
mov ecx, eax
mov esi, dword [ebx + 0x154]
shl ecx, 5
add ecx, eax
lea ecx, [eax + ecx*2]
mov eax, dword [ebx + 0x108]
mov edi, eax
shl edi, 5
add edi, eax
shl ecx, 2
lea eax, [eax + edi*2]
lea edi, [edx + eax*4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4ac2d9
mov eax, dword [ebx + 0x154]
mov dword [ebx + 0x10c], eax
mov ecx, dword [ebx + 0x150]
mov eax, dword [ebx + 0x108]
add eax, ecx
mov dword [ebx + 0x108], eax
cmp dword [ebx + 0x110], ebp
jle 0x4ac3cf
mov eax, dword [ebx + 0x114]
cmp eax, ebp
je 0x4ac3cf
mov edx, dword [0x659a18]
push ebp
push eax
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x1024]
mov dword [esp + 0x1020], ebp
rep stosd dword es:[edi], eax
mov eax, dword [0x659a18]
mov ecx, dword [ebx + 0x110]
push eax
push ecx
lea edx, [esp + 0x1028]
push 4
push edx
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [ebx + 0x110]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea edx, [eax + ecx*2]
shl edx, 2
push edx
call fcn.00470b90
mov dword [ebx + 0x114], eax
mov eax, dword [ebx + 0x110]
add esp, 0x20
xor edi, edi
cmp eax, ebp
jle 0x4ac3cf
xor esi, esi
lea ebp, [esp + 0x1014]
mov eax, dword [ebp]
push 0xffffffffffffffff
push eax
mov eax, dword [ebx + 0x114]
mov ecx, esi
add ecx, eax
call fcn.004aa7b0
mov edx, dword [ebx + 0x114]
mov eax, esi
add eax, edx
mov ecx, dword [eax]
or ecx, 0x80000000
mov dword [eax], ecx
mov edx, dword [ebx + 0x114]
mov ecx, esi
add ecx, edx
call fcn.004aa830
mov eax, dword [ebx + 0x110]
inc edi
add ebp, 4
add esi, 0x10c
cmp edi, eax
jl 0x4ac381
xor ebp, ebp
mov eax, dword [ebx + 0x118]
pop edi
cmp eax, ebp
pop esi
je 0x4ac433
push 0x58
call fcn.00470250
add esp, 4
cmp eax, ebp
je 0x4ac3f9
mov ecx, dword [ebx + 0x118]
push ecx
mov ecx, eax
call fcn.0043cbc0
jmp 0x4ac3fb
xor eax, eax
mov dword [ebx + 0x118], eax
mov cl, byte [eax]
test cl, 1
je 0x4ac433
push 0x24
call fcn.00470250
add esp, 4
cmp eax, ebp
je 0x4ac42b
mov edx, dword [ebx + 0x118]
push 1
add edx, 0x10
mov ecx, eax
push edx
call fcn.00489020
jmp 0x4ac42d
xor eax, eax
mov dword [ebx + 0x15c], eax
cmp dword [ebx + 0x11c], ebp
je 0x4ac492
push 0x2c
call fcn.00470250
add esp, 4
cmp eax, ebp
je 0x4ac459
mov ecx, dword [ebx + 0x11c]
push ecx
mov ecx, eax
call fcn.0043cab0
jmp 0x4ac45b
xor eax, eax
mov dword [ebx + 0x11c], eax
mov cl, byte [eax]
test cl, 1
je 0x4ac492
push 0x24
call fcn.00470250
add esp, 4
cmp eax, ebp
je 0x4ac48a
mov edx, dword [ebx + 0x11c]
push ebp
add edx, 0xc
mov ecx, eax
push edx
call fcn.00489020
jmp 0x4ac48c
xor eax, eax
mov dword [ebx + 0x158], eax
test byte [ebx], 0x80
je 0x4ac4f2
cmp dword [ebx + 0x120], ebp
je 0x4ac4f2
push 0x10
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 8], eax
cmp eax, ebp
mov dword [esp + 0x2014], 2
je 0x4ac4dd
mov ecx, dword [ebx + 0x120]
push ecx
mov ecx, eax
call fcn.004ab4f0
mov dword [esp + 0x2014], 0xffffffff
mov dword [ebx + 0x120], eax
jmp 0x4ac4f8
xor eax, eax
mov dword [esp + 0x2014], 0xffffffff
mov dword [ebx + 0x120], eax
jmp 0x4ac4f8
mov dword [ebx + 0x120], ebp
mov eax, dword [ebx]
test ah, 8
je 0x4ac545
lea edx, [ebx + 4]
push str.__DYNAMIC_
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x4ac545
push 0x24
call fcn.00470250
add esp, 4
cmp eax, ebp
je 0x4ac53b
lea ecx, [ebx + 0x128]
push 1
push ecx
mov ecx, eax
call fcn.00489020
mov dword [ebx + 0x160], eax
jmp 0x4ac54b
xor eax, eax
mov dword [ebx + 0x160], eax
jmp 0x4ac54b
mov dword [ebx + 0x160], ebp
mov eax, dword [ebx]
test ah, 0x20
je 0x4ac582
push 0x24
call fcn.00470250
add esp, 4
cmp eax, ebp
je 0x4ac578
lea edx, [ebx + 0x13c]
push 1
push edx
mov ecx, eax
call fcn.00489020
mov dword [ebx + 0x164], eax
jmp 0x4ac588
xor eax, eax
mov dword [ebx + 0x164], eax
jmp 0x4ac588
mov dword [ebx + 0x164], ebp
mov eax, dword [ebx]
test ah, 0x40
je 0x4ac5bd
push 0x10
call sub.MFC42u.DLL_operatornew
add esp, 4
cmp eax, ebp
je 0x4ac5b3
mov ecx, dword [ebx + 0x14c]
push ecx
mov ecx, eax
call fcn.004abea0
mov dword [ebx + 0x14c], eax
jmp 0x4ac5c3
xor eax, eax
mov dword [ebx + 0x14c], eax
jmp 0x4ac5c3
mov dword [ebx + 0x14c], ebp
mov dword [ebx + 0x168], ebp
mov ecx, dword [esp + 0x200c]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2010
ret 4