Function at 0x48a600
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x882b20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x50], ecx
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
push 0x8a8864
mov eax, dword [ebp + 8]
push eax
call fcn.0083e107
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x48a666
mov dword [ebp - 0x3c], 0xffffffff
push 0xb69a64
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0083d8fb
push 2
push 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.008402bb
add esp, 0xc
mov eax, dword [ebp - 0x20]
push eax
call fcn.008401c3
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0083ff60
add esp, 4
mov dword [ebp - 0x2c], 0x84
mov dword [ebp - 0x28], 0x63
mov edx, dword [ebp - 0x2c]
imul edx, dword [ebp - 0x28]
imul edx, edx, 3
cmp dword [ebp - 0x24], edx
je 0x48a6c3
mov dword [ebp - 0x40], 0xffffffff
push 0xb69a64
lea eax, [ebp - 0x40]
push eax
call fcn.0083d8fb
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00822266
add esp, 4
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x48a6f9
mov dword [ebp - 0x48], 0xffffffff
push 0xb69a64
lea ecx, [ebp - 0x48]
push ecx
call fcn.0083d8fb
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 1
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0083ff43
add esp, 0x10
mov edx, dword [ebp - 0x20]
push edx
call fcn.0083deab
add esp, 4
push 0
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 4]
call edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], 0
jmp 0x48a74a
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x28]
jge 0x48a7d1
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x30]
imul ecx, dword [eax + 0xc]
mov edx, dword [ebp + 0xc]
add ecx, dword [edx + 0x10]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], 0
jmp 0x48a780
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x2c]
jge 0x48a7cc
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx]
mov byte [eax + 2], dl
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x1c]
mov al, byte [edx]
mov byte [ecx + 1], al
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x34]
mov byte [eax + 3], 0xff
jmp 0x48a76e
jmp 0x48a741
mov byte [ebp - 0x11], 1
jmp 0x48a7e4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0
je 0x48a803
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.0082225b
add esp, 4
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8