Function at 0x484b70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x10], eax
test byte [eax], 8
jne 0x484b96
mov dword [0x6a4fcc], 0x6f
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
lea ebx, [esi + 0x18]
push ebx
push esi
call fcn.00485130
add esp, 8
test eax, eax
je 0x484e5e
lea eax, [esi + 0x1c]
push eax
push esi
call fcn.00485130
add esp, 8
test eax, eax
je 0x484e5e
lea eax, [esi + 0x20]
push eax
push esi
call fcn.00485130
add esp, 8
test eax, eax
je 0x484e5e
lea eax, [esi + 0x24]
push eax
push esi
call fcn.00485130
add esp, 8
test eax, eax
je 0x484e5e
mov eax, dword [esi + 0x38]
push edi
mov edi, dword [eax + 0x3c]
test edi, edi
je 0x484c0c
push 1
lea eax, [ebp - 8]
mov ecx, edi
push eax
push esi
call dword [0x613aec]
call edi
add esp, 0xc
jmp 0x484c1f
push dword [eax + 0x38]
lea eax, [ebp - 8]
push 1
push 1
push eax
call fcn.005e27cc
add esp, 0x10
cmp eax, 1
jne 0x484e4b
mov cl, byte [ebp - 8]
movzx eax, cl
mov edi, eax
and eax, 0x40
and edi, 7
mov dword [esi + 0x28], eax
test cl, cl
jns 0x484cf9
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x484c57
cmp dword [esi + 0x30], 0
jne 0x484c57
push eax
call fcn.004856c0
add esp, 4
lea ecx, [edi + 1]
mov eax, 1
shl eax, cl
push 0
push eax
call fcn.004857a0
add esp, 8
mov dword [esi + 0x2c], eax
mov dword [ebp - 0xc], 0
cmp dword [eax], 0
jle 0x484cf9
xor ebx, ebx
lea ecx, [ecx]
mov eax, dword [esi + 0x38]
mov edi, dword [eax + 0x3c]
test edi, edi
je 0x484ca0
push 3
lea eax, [ebp - 8]
mov ecx, edi
push eax
push esi
call dword [0x613aec]
call edi
add esp, 0xc
jmp 0x484cb3
push dword [eax + 0x38]
lea eax, [ebp - 8]
push 3
push 1
push eax
call fcn.005e27cc
add esp, 0x10
cmp eax, 3
jne 0x484e4b
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 8]
movzx eax, byte [ebp - 8]
mov byte [ebx + ecx], al
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 8]
movzx eax, byte [ebp - 7]
mov byte [ecx + ebx + 1], al
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 8]
movzx eax, byte [ebp - 6]
mov byte [ecx + ebx + 2], al
add ebx, 3
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0x2c]
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, dword [eax]
jl 0x484c80
lea ebx, [esi + 0x18]
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x484dac
mov eax, dword [esi + 0x14]
inc eax
lea eax, [eax + eax*4]
shl eax, 3
push eax
push ecx
call fcn.005e4850
mov ecx, eax
add esp, 8
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x484dc3
mov eax, dword [esi + 0x14]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [ebx]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x484d67
push dword [eax + 8]
push dword [eax]
call fcn.004857a0
add esp, 8
mov dword [edi + 0x14], eax
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x18], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov eax, dword [esi + 0x20]
imul eax, dword [esi + 0x24]
inc dword [esi + 0x14]
mov dword [ecx + 0x34], eax
lea eax, [ebp - 1]
mov edi, dword [esi + 0x38]
mov ebx, dword [edi + 0x3c]
test ebx, ebx
je 0x484dd6
push 1
push eax
push esi
mov ecx, ebx
call dword [0x613aec]
call ebx
add esp, 0xc
jmp 0x484de6
push 0x28
call fcn.005e485b
mov ecx, eax
add esp, 4
mov dword [esi + 0x30], ecx
test ecx, ecx
jne 0x484d25
pop edi
pop ebx
mov dword [0x6a4fcc], 0x6d
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push dword [edi + 0x38]
push 1
push 1
push eax
call fcn.005e27cc
add esp, 0x10
movzx ecx, byte [ebp - 1]
mov eax, 1
shl eax, cl
mov dword [edi + 0xc], eax
inc eax
mov dword [edi + 0x10], eax
inc eax
mov dword [edi + 0x14], eax
mov eax, 1
mov dword [edi + 8], ecx
inc ecx
shl eax, cl
mov dword [edi + 0x1c], eax
mov eax, 0x1002
mov dword [edi + 0x18], ecx
mov ecx, 0x1000
mov byte [edi + 0x44], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0x1002
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
add edi, 0x2144
rep stosd dword es:[edi], eax
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
mov dword [0x6a4fcc], 0x66
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret