Function at 0x4d8d70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x206c
call fcn.0041ba00
mov eax, dword [0x58005c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x206c], ecx
mov eax, dword [ebp - 0x206c]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x2014], ecx
mov edx, dword [ebp - 0x206c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x2018], eax
mov ecx, dword [ebp - 0x206c]
mov edx, dword [ecx + 0x4c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x206c]
movzx ecx, word [eax + 0x2d2]
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jne 0x4d9025
cmp dword [ebp - 8], 0x18
jne 0x4d9025
mov eax, 0x300000
cdq
idiv dword [ebp - 4]
mov dword [ebp - 0x2020], eax
mov edx, dword [ebp - 0x2020]
cmp edx, dword [ebp - 0x2018]
jle 0x4d8e04
mov eax, dword [ebp - 0x2018]
mov dword [ebp - 0x2020], eax
mov dword [ebp - 0x201c], 0
mov ecx, dword [ebp - 0x201c]
cmp ecx, dword [ebp - 0x2018]
jge 0x4d901b
mov edx, dword [ebp - 0x2018]
sub edx, dword [ebp - 0x201c]
mov dword [ebp - 0x2028], edx
mov eax, dword [ebp - 0x2028]
cmp eax, dword [ebp - 0x2020]
jle 0x4d8e4c
mov ecx, dword [ebp - 0x2020]
mov dword [ebp - 0x2028], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x2028]
push eax
push 1
mov ecx, dword [0x5a6ef8]
push ecx
call fcn.0041da81
add esp, 0x10
mov dword [ebp - 0x2024], eax
mov edx, dword [ebp - 0x206c]
mov eax, dword [edx + 0x70]
sub eax, dword [ebp - 0x2024]
mov ecx, dword [ebp - 0x206c]
mov dword [ecx + 0x70], eax
mov dword [ebp - 0x202c], 0
jmp 0x4d8ea5
mov edx, dword [ebp - 0x202c]
add edx, 1
mov dword [ebp - 0x202c], edx
mov eax, dword [ebp - 0x202c]
cmp eax, dword [ebp - 0x2028]
jge 0x4d9004
mov ecx, dword [ebp - 0x206c]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x2030], edx
mov eax, dword [ebp - 0x201c]
add eax, dword [ebp - 0x202c]
mov ecx, dword [ebp - 0x206c]
imul eax, dword [ecx + 0x14]
mov edx, dword [ebp - 0x2030]
lea eax, [edx + eax*4]
mov dword [ebp - 0x2030], eax
mov ecx, dword [0x5a6ef8]
mov dword [ebp - 0x2034], ecx
mov edx, dword [ebp - 0x202c]
imul edx, dword [ebp - 4]
add edx, dword [ebp - 0x2034]
mov dword [ebp - 0x2034], edx
mov dword [ebp - 0x2038], 0
jmp 0x4d8f28
mov eax, dword [ebp - 0x2038]
add eax, 1
mov dword [ebp - 0x2038], eax
mov ecx, dword [ebp - 0x2038]
cmp ecx, dword [ebp - 0x2014]
jge 0x4d8fff
mov edx, dword [ebp - 0x2034]
movsx eax, byte [edx]
mov dword [ebp - 0x2044], eax
mov ecx, dword [ebp - 0x2044]
and ecx, 0xff
mov dword [ebp - 0x2044], ecx
mov edx, dword [ebp - 0x2034]
add edx, 1
mov dword [ebp - 0x2034], edx
mov eax, dword [ebp - 0x2034]
movsx ecx, byte [eax]
mov dword [ebp - 0x2040], ecx
mov edx, dword [ebp - 0x2040]
and edx, 0xff
mov dword [ebp - 0x2040], edx
mov eax, dword [ebp - 0x2034]
add eax, 1
mov dword [ebp - 0x2034], eax
mov ecx, dword [ebp - 0x2034]
movsx edx, byte [ecx]
mov dword [ebp - 0x203c], edx
mov eax, dword [ebp - 0x203c]
and eax, 0xff
mov dword [ebp - 0x203c], eax
mov ecx, dword [ebp - 0x2034]
add ecx, 1
mov dword [ebp - 0x2034], ecx
mov edx, dword [ebp - 0x2044]
shl edx, 0x10
mov eax, dword [ebp - 0x2040]
shl eax, 8
or edx, eax
or edx, dword [ebp - 0x203c]
mov ecx, dword [ebp - 0x2030]
mov dword [ecx], edx
mov edx, dword [ebp - 0x2030]
add edx, 4
mov dword [ebp - 0x2030], edx
jmp 0x4d8f19
jmp 0x4d8e96
mov eax, dword [ebp - 0x201c]
add eax, dword [ebp - 0x2028]
mov dword [ebp - 0x201c], eax
jmp 0x4d8e0e
mov eax, 1
jmp 0x4d925f
mov dword [ebp - 0x2048], 0
jmp 0x4d9040
mov ecx, dword [ebp - 0x2048]
add ecx, 1
mov dword [ebp - 0x2048], ecx
mov edx, dword [ebp - 0x2048]
cmp edx, dword [ebp - 0x2018]
jge 0x4d925a
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
lea edx, [ebp - 0x2010]
push edx
call fcn.0041da81
add esp, 0x10
mov eax, dword [ebp - 0x206c]
mov ecx, dword [eax + 0x70]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x206c]
mov dword [edx + 0x70], ecx
cmp dword [ebp + 0x10], 0
je 0x4d90d6
mov eax, dword [ebp - 0x206c]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x204c], ecx
mov edx, dword [ebp - 0x206c]
mov eax, dword [ebp - 0x2048]
imul eax, dword [edx + 0x14]
add eax, dword [ebp - 0x204c]
mov dword [ebp - 0x204c], eax
mov ecx, dword [ebp - 0x206c]
mov edx, dword [ecx + 0x14]
push edx
lea eax, [ebp - 0x2010]
push eax
mov ecx, dword [ebp - 0x204c]
push ecx
call fcn.004198f0
add esp, 0xc
jmp 0x4d9255
mov edx, dword [ebp - 0x206c]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x2050], eax
mov ecx, dword [ebp - 0x206c]
mov edx, dword [ebp - 0x2048]
imul edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x2050]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x2050], ecx
cmp dword [ebp - 8], 8
jg 0x4d9177
mov dword [ebp - 0x2054], 0
jmp 0x4d9125
mov edx, dword [ebp - 0x2054]
add edx, 1
mov dword [ebp - 0x2054], edx
mov eax, dword [ebp - 0x2054]
cmp eax, dword [ebp - 0x2014]
jge 0x4d9172
mov ecx, dword [ebp - 0x2054]
movsx edx, byte [ebp + ecx - 0x2010]
and edx, 0xff
mov dword [ebp - 0x2058], edx
mov eax, dword [ebp - 0x2050]
mov ecx, dword [ebp - 0x2058]
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + ecx*4]
mov dword [eax], ecx
mov edx, dword [ebp - 0x2050]
add edx, 4
mov dword [ebp - 0x2050], edx
jmp 0x4d9116
jmp 0x4d9255
mov dword [ebp - 0x205c], 0
jmp 0x4d9192
mov eax, dword [ebp - 0x205c]
add eax, 1
mov dword [ebp - 0x205c], eax
mov ecx, dword [ebp - 0x205c]
cmp ecx, dword [ebp - 0x2014]
jge 0x4d9255
mov edx, dword [ebp - 0x205c]
imul edx, edx, 3
movsx eax, byte [ebp + edx - 0x2010]
mov dword [ebp - 0x2068], eax
mov ecx, dword [ebp - 0x2068]
and ecx, 0xff
mov dword [ebp - 0x2068], ecx
mov edx, dword [ebp - 0x205c]
imul edx, edx, 3
movsx eax, byte [ebp + edx - 0x200f]
mov dword [ebp - 0x2064], eax
mov ecx, dword [ebp - 0x2064]
and ecx, 0xff
mov dword [ebp - 0x2064], ecx
mov edx, dword [ebp - 0x205c]
imul edx, edx, 3
movsx eax, byte [ebp + edx - 0x200e]
mov dword [ebp - 0x2060], eax
mov ecx, dword [ebp - 0x2060]
and ecx, 0xff
mov dword [ebp - 0x2060], ecx
mov edx, dword [ebp - 0x2068]
shl edx, 0x10
mov eax, dword [ebp - 0x2064]
shl eax, 8
or edx, eax
or edx, dword [ebp - 0x2060]
mov ecx, dword [ebp - 0x2050]
mov dword [ecx], edx
mov edx, dword [ebp - 0x2050]
add edx, 4
mov dword [ebp - 0x2050], edx
jmp 0x4d9183
jmp 0x4d9031
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004130a1
mov esp, ebp
pop ebp
ret 0xc