Function at 0x4dc5d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x206c
call fcn.0041bb60
mov eax, dword [0x58605c]
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 0x4dc885
cmp dword [ebp - 8], 0x18
jne 0x4dc885
mov eax, 0x300000
cdq
idiv dword [ebp - 4]
mov dword [ebp - 0x2020], eax
mov edx, dword [ebp - 0x2020]
cmp edx, dword [ebp - 0x2018]
jle 0x4dc664
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 0x4dc87b
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 0x4dc6ac
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 [0x5acf9c]
push ecx
call fcn.0041dbff
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 0x4dc705
mov edx, dword [ebp - 0x202c]
add edx, 1
mov dword [ebp - 0x202c], edx
mov eax, dword [ebp - 0x202c]
cmp eax, dword [ebp - 0x2028]
jge 0x4dc864
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 [0x5acf9c]
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 0x4dc788
mov eax, dword [ebp - 0x2038]
add eax, 1
mov dword [ebp - 0x2038], eax
mov ecx, dword [ebp - 0x2038]
cmp ecx, dword [ebp - 0x2014]
jge 0x4dc85f
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 0x4dc779
jmp 0x4dc6f6
mov eax, dword [ebp - 0x201c]
add eax, dword [ebp - 0x2028]
mov dword [ebp - 0x201c], eax
jmp 0x4dc66e
mov eax, 1
jmp 0x4dcabf
mov dword [ebp - 0x2048], 0
jmp 0x4dc8a0
mov ecx, dword [ebp - 0x2048]
add ecx, 1
mov dword [ebp - 0x2048], ecx
mov edx, dword [ebp - 0x2048]
cmp edx, dword [ebp - 0x2018]
jge 0x4dcaba
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
lea edx, [ebp - 0x2010]
push edx
call fcn.0041dbff
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 0x4dc936
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.00419a50
add esp, 0xc
jmp 0x4dcab5
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 0x4dc9d7
mov dword [ebp - 0x2054], 0
jmp 0x4dc985
mov edx, dword [ebp - 0x2054]
add edx, 1
mov dword [ebp - 0x2054], edx
mov eax, dword [ebp - 0x2054]
cmp eax, dword [ebp - 0x2014]
jge 0x4dc9d2
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 0x4dc976
jmp 0x4dcab5
mov dword [ebp - 0x205c], 0
jmp 0x4dc9f2
mov eax, dword [ebp - 0x205c]
add eax, 1
mov dword [ebp - 0x205c], eax
mov ecx, dword [ebp - 0x205c]
cmp ecx, dword [ebp - 0x2014]
jge 0x4dcab5
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 0x4dc9e3
jmp 0x4dc891
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00413201
mov esp, ebp
pop ebp
ret 0xc