Function at 0x5cc140
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x614c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, ecx
cmp dword [ebx + 0x3c], 0
mov dword [esp + 4], ebx
je 0x5cc459
cmp byte [ebx + 0x41], 0
je 0x5cc459
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
jne 0x5cc193
xor al, al
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov eax, 0xf
mov byte [esp + 0x10], 0
pxor xmm0, xmm0
mov dword [esp + 0x24], eax
movq qword [esp + 0x10], xmm0
cmp eax, 0x10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], 8
jae 0x5cc1c0
lea eax, [esp + 0x10]
mov byte [eax + 8], 0
push ebp
push esi
mov dword [esp + 0x38], 0
push edi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
cmp edx, 0x10
jb 0x5cc2f3
mov ebp, eax
test eax, eax
je 0x5cc20a
mov ecx, eax
cmp edx, 0x10
jae 0x5cc1f1
lea ecx, [esp + 0x1c]
cmp ecx, ebp
ja 0x5cc20a
mov ecx, eax
cmp edx, 0x10
jae 0x5cc200
lea ecx, [esp + 0x1c]
mov esi, dword [esp + 0x2c]
add ecx, esi
cmp ebp, ecx
jbe 0x5cc217
call fcn.005e5343
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, 0xfffffffc
je 0x5cc242
mov ecx, eax
cmp edx, 0x10
jae 0x5cc22b
lea ecx, [esp + 0x1c]
mov esi, dword [esp + 0x2c]
add ecx, esi
cmp ebp, ecx
jb 0x5cc242
call fcn.005e5343
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
cmp edx, 0x10
jb 0x5cc2fc
mov esi, eax
test eax, eax
je 0x5cc27d
mov ecx, eax
cmp edx, 0x10
jae 0x5cc260
lea ecx, [esp + 0x1c]
cmp ecx, esi
ja 0x5cc27d
mov ecx, eax
cmp edx, 0x10
jae 0x5cc26f
lea ecx, [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
add ecx, ebx
mov ebx, dword [esp + 0x10]
cmp esi, ecx
jbe 0x5cc28a
call fcn.005e5343
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, 0xfffffffc
je 0x5cc2ab
cmp edx, 0x10
jae 0x5cc29c
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x2c]
add eax, edx
cmp esi, eax
jb 0x5cc2ab
call fcn.005e5343
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
add ebp, edi
push ebp
push esi
lea eax, [ebx + 0x44]
push eax
call edx
sub eax, 0
je 0x5cc305
sub eax, 1
je 0x5cc309
sub eax, 2
lea ecx, [esp + 0x18]
je 0x5cc43f
call fcn.00456720
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
lea ebp, [esp + 0x1c]
jmp 0x5cc1e6
lea esi, [esp + 0x1c]
jmp 0x5cc255
mov byte [ebx + 0x41], 0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
cmp edx, 0x10
jb 0x5cc420
mov esi, eax
test eax, eax
je 0x5cc344
mov ecx, eax
cmp edx, 0x10
jae 0x5cc32b
lea ecx, [esp + 0x1c]
cmp ecx, esi
ja 0x5cc344
mov ecx, eax
cmp edx, 0x10
jae 0x5cc33a
lea ecx, [esp + 0x1c]
mov edi, dword [esp + 0x2c]
add ecx, edi
cmp esi, ecx
jbe 0x5cc351
call fcn.005e5343
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, 0xfffffffc
je 0x5cc37c
mov ecx, eax
cmp edx, 0x10
jae 0x5cc365
lea ecx, [esp + 0x1c]
mov edi, dword [esp + 0x2c]
add ecx, edi
cmp esi, ecx
jb 0x5cc37c
call fcn.005e5343
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
sub edi, esi
je 0x5cc401
cmp edx, 0x10
jb 0x5cc429
mov esi, eax
test eax, eax
je 0x5cc3b7
mov ecx, eax
cmp edx, 0x10
jae 0x5cc39e
lea ecx, [esp + 0x1c]
cmp ecx, esi
ja 0x5cc3b7
mov ecx, eax
cmp edx, 0x10
jae 0x5cc3ad
lea ecx, [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
add ecx, ebp
cmp esi, ecx
jbe 0x5cc3c4
call fcn.005e5343
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
cmp ecx, 0xfffffffc
je 0x5cc3e5
cmp edx, 0x10
jae 0x5cc3d6
lea eax, [esp + 0x1c]
mov edx, dword [esp + 0x2c]
add eax, edx
cmp esi, eax
jb 0x5cc3e5
call fcn.005e5343
mov eax, dword [ebx + 0x4c]
push eax
push edi
push 1
push esi
call fcn.005e5c6c
add esp, 0x10
cmp edi, eax
jne 0x5cc432
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
cmp byte [ebx + 0x41], 0
je 0x5cc43b
test edi, edi
jne 0x5cc1d7
push edi
push 8
lea ecx, [esp + 0x20]
call fcn.005cb5e0
jmp 0x5cc1cf
lea esi, [esp + 0x1c]
jmp 0x5cc320
lea esi, [esp + 0x1c]
jmp 0x5cc393
lea ecx, [esp + 0x18]
jmp 0x5cc2d9
lea ecx, [esp + 0x18]
call fcn.00456720
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov ecx, dword [esp + 0x28]
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret