Function at 0x4cc180
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
je 0x4cc5eb
push ebp
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea eax, [ebx + 0x108]
push 4
push eax
call edi
push esi
push 1
lea ecx, [ebx + 0x114]
push 4
push ecx
call edi
push esi
push 1
lea edx, [ebx + 0x118]
push 4
push edx
call edi
push esi
push 1
lea eax, [ebx + 0x128]
push 4
push eax
call edi
add esp, 0x40
lea ecx, [ebx + 0x12c]
push esi
push 1
push 4
push ecx
call edi
push esi
push 1
lea edx, [ebx + 0x130]
push 0x320
push edx
call edi
push esi
push 1
lea eax, [ebx + 0x450]
push 0x640
push eax
call edi
push esi
push 1
lea ecx, [ebx + 0xa90]
push 0x64
push ecx
call edi
add esp, 0x40
lea edx, [ebx + 0xe18]
push esi
push 1
push 4
push edx
call edi
push esi
push 1
lea eax, [ebx + 0xe1c]
push 4
push eax
call edi
push esi
push 1
lea ecx, [ebx + 0xe28]
push 8
push ecx
call edi
push esi
push 1
lea edx, [ebx + 0xe30]
push 8
push edx
call edi
add esp, 0x40
push esi
push 1
push 8
lea eax, [ebx + 0xe38]
push eax
call edi
push esi
push 1
lea ecx, [ebx + 0xe40]
push 4
push ecx
call edi
push esi
push 1
lea edx, [ebx + 0xe48]
push 0x10
push edx
call edi
push esi
push 1
lea eax, [ebx + 0xe58]
push 0x10
push eax
call edi
add esp, 0x40
lea ecx, [ebx + 0xe70]
push esi
push 1
push 4
push ecx
call edi
push esi
push 1
lea edx, [ebx + 0xe74]
push 4
push edx
call edi
push esi
lea ebp, [ebx + 0xe78]
push 1
push 4
push ebp
call edi
push esi
push 1
lea eax, [ebx + 0xe80]
push 0x18
push eax
call edi
add esp, 0x40
lea ecx, [ebx + 0xe98]
push esi
push 1
push 4
push ecx
call edi
push esi
push 1
lea edx, [ebx + 0xe9c]
push 4
push edx
call edi
push esi
push 1
lea eax, [ebx + 0xea0]
push 4
push eax
call edi
push esi
push 1
lea ecx, [ebx + 0xea4]
push 4
push ecx
call edi
add esp, 0x40
lea eax, [ebx + 0xfd0]
push esi
push 1
push 0x18
push eax
call edi
push esi
lea eax, [ebx + 0x1000]
push 1
push 0x18
push eax
call edi
push esi
lea eax, [ebx + 0xfe8]
push 1
push 0x18
push eax
call edi
push esi
push 1
push 4
push ebp
call edi
add esp, 0x40
lea edx, [ebx + 0xeb8]
push esi
push 1
push 0x18
push edx
call edi
push esi
push 1
lea eax, [ebx + 0xf78]
push 4
push eax
call edi
push esi
push 1
lea ecx, [ebx + 0xf80]
push 0x18
push ecx
call edi
push esi
push 1
lea edx, [ebx + 0xf98]
push 4
push edx
call edi
add esp, 0x40
lea eax, [ebx + 0xfa0]
push esi
push 1
push 0x18
push eax
call edi
push esi
push 1
lea ecx, [ebx + 0xfb8]
push 0x18
push ecx
call edi
add esp, 0x20
lea ebp, [ebx + 0xed0]
mov dword [esp + 0x18], 7
push esi
push 1
push 0x18
push ebp
call edi
mov eax, dword [esp + 0x28]
add esp, 0x10
add ebp, 0x18
dec eax
mov dword [esp + 0x18], eax
jne 0x4cc39e
push esi
push 1
lea eax, [ebx + 0xfd0]
push 0x18
push eax
call edi
push esi
push 1
lea eax, [ebx + 0xfe8]
push 0x18
push eax
call edi
push esi
push 1
lea eax, [ebx + 0x1000]
push 0x18
push eax
call edi
push esi
push 1
lea edx, [ebx + 0x1018]
push 0x18
push edx
call edi
add esp, 0x40
lea eax, [ebx + 0x10b0]
push esi
push 1
push 0x18
push eax
call edi
push esi
push 1
lea ecx, [ebx + 0x10c8]
push 0x18
push ecx
call edi
push esi
push 1
lea edx, [ebx + 0x10e0]
push 0x18
push edx
call edi
push esi
push 1
lea eax, [ebx + 0x10f8]
push 0x18
push eax
call edi
add esp, 0x40
lea ecx, [ebx + 0x1488]
push esi
push 1
push 8
push ecx
call edi
push esi
push 1
lea edx, [ebx + 0x1490]
push 0x100
push edx
call edi
push esi
push 1
lea eax, [ebx + 0x1590]
push 0x80
push eax
call edi
push esi
push 1
lea ecx, [ebx + 0x1610]
push 0xc
push ecx
call edi
add esp, 0x40
lea edx, [ebx + 0x161c]
push esi
push 1
push 0xc
push edx
call edi
push esi
push 1
lea eax, [ebx + 0x1628]
push 4
push eax
call edi
push esi
push 1
lea ecx, [ebx + 0x1630]
push 0x18
push ecx
call edi
push esi
push 1
lea edx, [ebx + 0x1648]
push 0x18
push edx
call edi
add esp, 0x40
lea eax, [ebx + 0x1660]
push esi
push 1
push 0x18
push eax
call edi
push esi
push 1
lea ecx, [ebx + 0x1678]
push 8
push ecx
call edi
push esi
push 1
lea edx, [esp + 0x38]
push 4
push edx
call edi
push esi
push 1
lea eax, [ebx + 0x1690]
push 0x100
push eax
call edi
mov ecx, dword [esp + 0x50]
add esp, 0x40
lea eax, [ecx + 1]
cmp eax, 0xff
jl 0x4cc4f8
mov eax, 0xff
push esi
push 1
lea edx, [ebx + 0x17d0]
push 4
push edx
mov byte [eax + ebx + 0x1690], 0
call edi
push esi
push 1
lea eax, [ebx + 0x17d4]
push 4
push eax
call edi
push esi
push 1
lea ecx, [ebx + 0x17d8]
push 4
push ecx
call edi
push esi
push 1
lea edx, [ebx + 0x17dc]
push 4
push edx
call edi
add esp, 0x40
lea eax, [ebx + 0x17e0]
push esi
push 1
push 4
push eax
call edi
push esi
push 1
lea ecx, [ebx + 0x17e4]
push 4
push ecx
call edi
push esi
push 1
lea edx, [ebx + 0x17ec]
push 4
push edx
call edi
push esi
push 1
lea eax, [ebx + 0x17f0]
push 4
push eax
call edi
add esp, 0x40
lea ecx, [ebx + 0x17f4]
push esi
push 1
push 4
push ecx
call edi
push esi
push 1
lea edx, [ebx + 0x17f8]
push 8
push edx
call edi
push esi
push 1
lea eax, [ebx + 0x1800]
push 8
push eax
call edi
add esp, 0x30
lea ebp, [ebx + 0x1818]
mov dword [esp + 0x18], 4
push esi
push 1
push 0x18
push ebp
call edi
mov eax, dword [esp + 0x28]
add esp, 0x10
add ebp, 0x18
dec eax
mov dword [esp + 0x18], eax
jne 0x4cc5b1
push esi
push 1
lea ecx, [ebx + 0x1878]
push 4
push ecx
call edi
push esi
push 1
add ebx, 0x187c
push 4
push ebx
call edi
add esp, 0x20
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret 4