Function at 0x48c000
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4acd99
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4c4b80]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c4b80]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], esi
test esi, esi
jne 0x48c05a
lea eax, [esi + 5]
jmp 0x48c719
cmp dword [ebx + 0x4c], 0
je 0x48c06a
mov eax, 3
jmp 0x48c719
push ebx
lea ecx, [esp + 0x2c]
push ecx
push esi
call fcn.0048ba90
add esp, 0xc
test eax, eax
jne 0x48c719
mov edi, dword [sym.imp.MSVCR100.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 4
push edx
call edi
add esp, 0x10
cmp eax, 1
je 0x48c0ac
mov ecx, ebx
call fcn.0047e3d0
mov eax, 7
jmp 0x48c719
push esi
push 1
lea eax, [ebx + 4]
push 4
push eax
mov dword [esp + 0x3c], eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x48c09b
push esi
push 1
lea eax, [ebx + 8]
push 4
push eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x48c09b
push esi
push 1
lea eax, [ebx + 0xc]
push 4
push eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x48c09b
push esi
push 1
lea eax, [ebx + 0x10]
push 4
push eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x48c09b
push esi
push 1
lea eax, [ebx + 0x14]
push 4
push eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x48c09b
push esi
push 1
lea eax, [ebx + 0x18]
push 4
push eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x48c09b
push esi
push 1
lea eax, [ebx + 0x1c]
push 4
push eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x48c09b
push esi
push 1
lea eax, [ebx + 0x20]
push 4
push eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x48c09b
push esi
push 1
lea eax, [ebx + 0x24]
push 4
push eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x48c09b
push esi
push 1
lea eax, [ebx + 0x28]
push 4
push eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x48c09b
push esi
push 1
lea eax, [ebx + 0x2c]
push 4
push eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x48c09b
push esi
push 1
lea eax, [ebx + 0x30]
push 4
push eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x48c09b
push esi
push 1
lea eax, [ebx + 0x34]
push 4
push eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x48c09b
push esi
push 1
lea eax, [ebx + 0x38]
push 4
push eax
call edi
add esp, 0x10
cmp eax, 1
jne 0x48c09b
push esi
push eax
lea ebp, [ebx + 0x3c]
push 4
push ebp
call edi
add esp, 0x10
cmp eax, 1
jne 0x48c09b
push esi
push eax
lea edi, [ebx + 0x40]
push 4
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x48c09b
mov eax, dword [esp + 0x20]
push eax
push 1
lea esi, [ebx + 0x44]
push 4
push esi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x48c09b
mov ecx, dword [esp + 0x20]
push ecx
push 1
lea eax, [ebx + 0x48]
push 4
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x48c09b
cmp dword [esp + 0x28], 0
je 0x48c458
mov al, byte [esp + 0x1f]
movzx edx, byte [esp + 0x1c]
mov cl, byte [esp + 0x1d]
mov byte [esp + 0x1f], dl
mov byte [esp + 0x1c], al
mov al, byte [esp + 0x1e]
mov byte [esp + 0x1d], al
mov eax, dword [esp + 0x2c]
movzx ebx, byte [eax]
mov dl, byte [eax + 3]
mov byte [eax + 3], bl
mov byte [eax], dl
movzx ebx, byte [eax + 1]
mov dl, byte [eax + 2]
mov byte [eax + 2], bl
mov byte [eax + 1], dl
mov eax, dword [esp + 0x14]
movzx ebx, byte [eax + 8]
mov dl, byte [eax + 0xb]
mov byte [eax + 0xb], bl
mov byte [eax + 8], dl
movzx ebx, byte [eax + 9]
mov dl, byte [eax + 0xa]
mov byte [eax + 0xa], bl
mov byte [eax + 9], dl
movzx ebx, byte [eax + 0xc]
mov dl, byte [eax + 0xf]
mov byte [eax + 0xf], bl
mov byte [eax + 0xc], dl
movzx ebx, byte [eax + 0xd]
mov dl, byte [eax + 0xe]
mov byte [eax + 0xe], bl
mov byte [eax + 0xd], dl
movzx ebx, byte [eax + 0x10]
mov dl, byte [eax + 0x13]
mov byte [eax + 0x13], bl
mov byte [eax + 0x10], dl
movzx ebx, byte [eax + 0x11]
mov dl, byte [eax + 0x12]
mov byte [eax + 0x12], bl
mov byte [eax + 0x11], dl
movzx ebx, byte [eax + 0x14]
mov dl, byte [eax + 0x17]
mov byte [eax + 0x17], bl
mov byte [eax + 0x14], dl
movzx ebx, byte [eax + 0x15]
mov dl, byte [eax + 0x16]
mov byte [eax + 0x16], bl
mov byte [eax + 0x15], dl
movzx ebx, byte [eax + 0x18]
mov dl, byte [eax + 0x1b]
mov byte [eax + 0x1b], bl
mov byte [eax + 0x18], dl
movzx ebx, byte [eax + 0x19]
mov dl, byte [eax + 0x1a]
mov byte [eax + 0x1a], bl
mov byte [eax + 0x19], dl
movzx ebx, byte [eax + 0x1c]
mov dl, byte [eax + 0x1f]
mov byte [eax + 0x1f], bl
mov byte [eax + 0x1c], dl
movzx ebx, byte [eax + 0x1d]
mov dl, byte [eax + 0x1e]
mov byte [eax + 0x1e], bl
mov byte [eax + 0x1d], dl
movzx ebx, byte [eax + 0x20]
mov dl, byte [eax + 0x23]
mov byte [eax + 0x23], bl
mov byte [eax + 0x20], dl
movzx ebx, byte [eax + 0x21]
mov dl, byte [eax + 0x22]
mov byte [eax + 0x22], bl
mov byte [eax + 0x21], dl
movzx ebx, byte [eax + 0x24]
mov dl, byte [eax + 0x27]
mov byte [eax + 0x27], bl
mov byte [eax + 0x24], dl
movzx ebx, byte [eax + 0x25]
mov dl, byte [eax + 0x26]
mov byte [esp + 0x1e], cl
mov byte [eax + 0x26], bl
mov byte [eax + 0x25], dl
movzx ebx, byte [eax + 0x28]
mov dl, byte [eax + 0x2b]
mov byte [eax + 0x2b], bl
mov byte [eax + 0x28], dl
movzx ebx, byte [eax + 0x29]
mov dl, byte [eax + 0x2a]
mov byte [eax + 0x2a], bl
mov byte [eax + 0x29], dl
movzx ebx, byte [eax + 0x2c]
mov dl, byte [eax + 0x2f]
mov byte [eax + 0x2f], bl
mov byte [eax + 0x2c], dl
movzx ebx, byte [eax + 0x2d]
mov dl, byte [eax + 0x2e]
mov byte [eax + 0x2e], bl
mov byte [eax + 0x2d], dl
movzx ebx, byte [eax + 0x30]
mov dl, byte [eax + 0x33]
mov byte [eax + 0x33], bl
mov byte [eax + 0x30], dl
movzx ebx, byte [eax + 0x31]
mov dl, byte [eax + 0x32]
mov byte [eax + 0x32], bl
mov byte [eax + 0x31], dl
movzx ebx, byte [eax + 0x34]
mov dl, byte [eax + 0x37]
mov byte [eax + 0x37], bl
mov byte [eax + 0x34], dl
movzx ebx, byte [eax + 0x35]
mov dl, byte [eax + 0x36]
mov byte [eax + 0x36], bl
mov byte [eax + 0x35], dl
movzx ebx, byte [eax + 0x38]
mov dl, byte [eax + 0x3b]
mov byte [eax + 0x3b], bl
mov byte [eax + 0x38], dl
movzx ebx, byte [eax + 0x39]
mov dl, byte [eax + 0x3a]
mov byte [eax + 0x3a], bl
mov byte [eax + 0x39], dl
mov eax, ebp
movzx ebx, byte [eax]
mov dl, byte [eax + 3]
mov byte [eax + 3], bl
mov byte [eax], dl
movzx ebx, byte [eax + 1]
mov dl, byte [eax + 2]
mov byte [eax + 2], bl
mov byte [eax + 1], dl
mov eax, edi
movzx ebx, byte [eax]
mov dl, byte [eax + 3]
mov byte [eax + 3], bl
mov byte [eax], dl
movzx ebx, byte [eax + 1]
mov dl, byte [eax + 2]
mov byte [eax + 2], bl
mov byte [eax + 1], dl
mov eax, esi
movzx ebx, byte [eax]
mov dl, byte [eax + 3]
mov byte [eax + 3], bl
mov byte [eax], dl
movzx ebx, byte [eax + 1]
mov dl, byte [eax + 2]
mov byte [eax + 2], bl
mov byte [eax + 1], dl
mov eax, dword [esp + 0x14]
movzx ebx, byte [eax + 0x48]
mov dl, byte [eax + 0x4b]
mov byte [eax + 0x4b], bl
mov byte [eax + 0x48], dl
movzx ebx, byte [eax + 0x49]
mov dl, byte [eax + 0x4a]
mov byte [eax + 0x4a], bl
mov byte [eax + 0x49], dl
mov ebx, eax
mov edx, dword [esp + 0x30]
push 0x437a10
push 0x48c8d0
push 2
push 0x18
lea eax, [esp + 0x58]
push eax
mov dword [ebx + 0x50], edx
call fcn.0048cfdb
mov esi, dword [ebx + 0x48]
xor ecx, ecx
mov eax, esi
mov edx, 0x10
mul edx
seto cl
mov dword [esp + 0x84], 0
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x34], eax
xor ebp, ebp
mov byte [esp + 0x84], 1
cmp eax, ebp
je 0x48c4d8
push 0x47e150
push 0x47d520
push esi
lea edi, [eax + 4]
push 0x10
push edi
mov dword [eax], esi
call fcn.0048cfdb
jmp 0x48c4da
xor edi, edi
mov byte [esp + 0x84], 0
mov dword [ebx + 0x4c], edi
cmp edi, ebp
jne 0x48c518
mov ecx, ebx
call fcn.0047e3d0
push 0x437a10
push 2
push 0x18
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x94], 0xffffffff
call fcn.0048cec0
mov eax, 4
jmp 0x48c719
mov dword [esp + 0x2c], ebp
cmp dword [ebx + 0x48], ebp
jle 0x48c6f2
mov dword [esp + 0x24], ebp
mov edi, dword [esp + 0x20]
mov esi, dword [sym.imp.MSVCR100.dll_fread]
push edi
push 1
lea edx, [esp + 0x20]
push 4
push edx
call esi
add esp, 0x10
cmp eax, 1
jne 0x48c73a
cmp dword [esp + 0x28], 0
je 0x48c572
mov al, byte [esp + 0x1b]
mov cl, byte [esp + 0x18]
mov dl, byte [esp + 0x19]
mov byte [esp + 0x18], al
mov al, byte [esp + 0x1a]
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1a], dl
mov byte [esp + 0x19], al
cmp dword [esp + 0x18], 0
je 0x48c6db
mov ecx, dword [esp + 0x30]
call fcn.004800b0
mov ecx, dword [ebx + 0x4c]
mov edx, dword [esp + 0x24]
mov ebp, eax
mov dword [edx + ecx], eax
test ebp, ebp
je 0x48c4e9
cmp dword [ebx], 1
push edi
push 2
jne 0x48c5ec
lea eax, [esp + 0x50]
push 0x18
push eax
call esi
add esp, 0x10
cmp eax, 2
jne 0x48c766
xor esi, esi
lea edi, [esp + 0x48]
lea ecx, [ecx]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, edi
call fcn.0048ba00
fld dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
fstp dword [ebp + esi*8]
mov dword [ebp + esi*8 + 4], eax
inc esi
add edi, 0x18
cmp esi, 2
jl 0x48c5c0
jmp 0x48c5fd
push 8
push ebp
call esi
add esp, 0x10
cmp eax, 2
jne 0x48c73a
cmp dword [esp + 0x28], 0
je 0x48c60b
mov ecx, ebp
call fcn.0048c8e0
mov eax, 1
mov dword [esp + 0x38], eax
cmp dword [esp + 0x18], eax
jle 0x48c6d0
mov ecx, dword [esp + 0x30]
call fcn.004800b0
mov edi, eax
test edi, edi
je 0x48c4e9
mov dword [edi + 0x14], ebp
mov dword [ebp + 0x10], edi
cmp dword [ebx], 1
mov ebp, edi
jne 0x48c693
mov ecx, dword [esp + 0x20]
push ecx
push 2
lea edx, [esp + 0x50]
push 0x18
push edx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 2
jne 0x48c766
xor esi, esi
lea ebx, [esp + 0x48]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebx
call fcn.0048ba00
fld dword [esp + 0x44]
mov edx, dword [esp + 0x34]
fstp dword [edi + esi*8]
mov dword [edi + esi*8 + 4], edx
inc esi
add ebx, 0x18
cmp esi, 2
jl 0x48c664
mov ebx, dword [esp + 0x14]
jmp 0x48c6af
mov eax, dword [esp + 0x20]
push eax
push 2
push 8
push edi
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 2
jne 0x48c73a
cmp dword [esp + 0x28], 0
je 0x48c6bd
mov ecx, edi
call fcn.0048c8e0
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x18]
jl 0x48c61e
mov ecx, dword [ebx + 0x4c]
mov edx, dword [esp + 0x24]
mov dword [edx + ecx + 4], ebp
mov eax, dword [esp + 0x2c]
add dword [esp + 0x24], 0x10
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [ebx + 0x48]
jl 0x48c529
mov ecx, ebx
call fcn.0047dae0
push 0x437a10
push 2
push 0x18
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x94], 0xffffffff
call fcn.0048cec0
xor eax, eax
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0048d046
add esp, 0x74
ret 8
mov ecx, ebx
call fcn.0047e3d0
push 0x437a10
push 2
push 0x18
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x94], 0xffffffff
call fcn.0048cec0
mov eax, 7
jmp 0x48c719
mov ecx, ebx
call fcn.0047e3d0
push 0x437a10
push 2
push 0x18
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x94], 0xffffffff
call fcn.0048cec0
mov eax, 7
jmp 0x48c719