Function at 0x4c6355
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 0xf0000000
xor esi, esi
mov dword [ebp - 0x44], edx
push 0x18
push esi
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [ebp - 0xc], esi
push eax
mov edi, ecx
inc ebx
call dword [0x421024]
test eax, eax
je 0x4c6544
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x8004
push dword [ebp - 0x10]
call dword [0x42101c]
test eax, eax
je 0x4c6544
push dword [edi + 0x84]
call fcn.004d1ff0
push 0
push dword [edi + 0x90]
mov esi, eax
push dword [edi + 0x8c]
mov dword [ebp - 0x2c], esi
push dword [edi]
call fcn.004d1fd5
push dword [edi]
push ebx
push dword [edi + 0x84]
push esi
call fcn.004d1bea
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x38]
and eax, 0xffffff
add ecx, dword [edi + 0x40]
adc eax, dword [edi + 0x44]
add ecx, 0xffffff30
mov dword [ebp - 0x34], ecx
adc eax, 0xffffffff
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 8]
push eax
mov dword [ebp - 4], eax
call fcn.004d1ff0
and dword [ebp - 0x30], 0
add esp, 0x28
cmp dword [edi + 0x71c], 0
mov dword [ebp - 0x20], eax
jle 0x4c6535
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov esi, dword [edi + 0x720]
push 0
push dword [ebp - 4]
push dword [esi + ecx + 4]
push dword [esi + ecx]
call fcn.004e2874
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
xor eax, eax
push 0
mov ecx, dword [esi + edx + 8]
add ecx, dword [esi + edx]
adc eax, dword [esi + edx + 4]
mov esi, dword [ebp - 4]
push esi
push eax
push ecx
call fcn.004e2874
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
imul eax, esi
push 0
push 0
add eax, 0xd0
push eax
push dword [edi]
call fcn.004d1fd5
mov ecx, dword [ebp - 8]
add esp, 0x10
mov esi, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x28]
jg 0x4c6516
imul eax, ecx, 0x14
add eax, 0xc
add eax, esi
mov dword [ebp - 0x18], eax
mov edx, dword [esi + 4]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x4c64a7
mov ecx, dword [ebp - 0x34]
lea eax, [edx - 1]
imul eax, dword [ebp - 4]
sub ecx, eax
jmp 0x4c64aa
mov ecx, dword [ebp - 4]
push dword [edi]
mov dword [ebp - 0x24], ecx
push ebx
push ecx
push dword [ebp - 0x20]
call fcn.004d1bea
add esp, 0x10
mov dword [ebp - 0x3c], 0x14
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push dword [ebp - 0xc]
call dword [0x421028]
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call dword [0x421018]
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x18]
push 2
push dword [ebp - 0x14]
call dword [0x42100c]
push dword [ebp - 0x14]
call dword [0x421014]
mov ecx, dword [ebp - 8]
add dword [ebp - 0x18], 0x14
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, dword [ebp - 0x28]
jle 0x4c648f
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
inc eax
add ecx, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], ecx
cmp eax, dword [edi + 0x71c]
jl 0x4c6421
mov eax, dword [ebp - 0x20]
push eax
call fcn.004d0343
mov eax, dword [ebp - 0x44]
mov dword [eax], esi
xor esi, esi
jmp 0x4c655a
push 0x42e160
push 2
call fcn.004c8cba
pop ecx
push eax
call fcn.004c5cb0
pop ecx
mov ebx, esi
pop ecx
cmp dword [ebp - 0xc], 0
je 0x4c656a
push dword [ebp - 0xc]
call dword [0x421014]
cmp dword [ebp - 0x10], 0
je 0x4c657a
push esi
push dword [ebp - 0x10]
call dword [0x421008]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret