Function at 0x4cc600
Capabilities:
Write file on windows

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