Function at 0x5cc910
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x614c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x40]
mov edx, ecx
mov dword [esp + 8], edx
cmp ebx, 0xffffffff
jne 0x5cc94c
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
mov eax, dword [edx + 0x24]
mov ecx, dword [eax]
push esi
test ecx, ecx
je 0x5cc984
mov eax, dword [edx + 0x34]
mov esi, dword [eax]
add esi, ecx
cmp ecx, esi
jae 0x5cc984
dec dword [eax]
mov eax, dword [edx + 0x24]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
mov byte [ecx], bl
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
mov eax, dword [edx + 0x4c]
test eax, eax
je 0x5cc9a3
cmp dword [edx + 0x3c], 0
jne 0x5cc9b9
push eax
movsx eax, bl
push eax
call fcn.005ea433
add esp, 8
cmp eax, 0xffffffff
jne 0x5cc96f
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
mov eax, 0xf
mov byte [esp + 0x1c], 0
pxor xmm0, xmm0
mov dword [esp + 0x30], eax
movq qword [esp + 0x1c], xmm0
cmp eax, 0x10
mov eax, dword [esp + 0x1c]
mov byte [esp + 8], bl
mov dword [esp + 0x2c], 8
jae 0x5cc9ea
lea eax, [esp + 0x1c]
mov byte [eax + 8], 0
push ebp
mov dword [esp + 0x40], 0
push edi
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
cmp edx, 0x10
jb 0x5ccc4a
mov ebp, eax
test eax, eax
je 0x5cca33
mov ecx, eax
cmp edx, 0x10
jae 0x5cca1e
lea ecx, [esp + 0x24]
cmp ecx, ebp
ja 0x5cca33
mov ecx, eax
cmp edx, 0x10
jae 0x5cca2d
lea ecx, [esp + 0x24]
add ecx, ebx
cmp ebp, ecx
jbe 0x5cca44
call fcn.005e5343
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
cmp ecx, 0xfffffffc
je 0x5cca6f
mov ecx, eax
cmp edx, 0x10
jae 0x5cca58
lea ecx, [esp + 0x24]
add ecx, ebx
cmp ebp, ecx
jb 0x5cca6f
call fcn.005e5343
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov edi, ebx
cmp edx, 0x10
jb 0x5ccc53
mov esi, eax
test eax, eax
je 0x5ccaa0
mov ecx, eax
cmp edx, 0x10
jae 0x5cca8b
lea ecx, [esp + 0x24]
cmp ecx, esi
ja 0x5ccaa0
mov ecx, eax
cmp edx, 0x10
jae 0x5cca9a
lea ecx, [esp + 0x24]
add ecx, ebx
cmp esi, ecx
jbe 0x5ccab1
call fcn.005e5343
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
cmp ecx, 0xfffffffc
je 0x5ccace
cmp edx, 0x10
jae 0x5ccac3
lea eax, [esp + 0x24]
add eax, ebx
cmp esi, eax
jb 0x5ccace
call fcn.005e5343
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x18]
push eax
add ebp, edi
push ebp
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x21]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [ebx + 0x44]
push eax
call edx
test eax, eax
jl 0x5cccf1
cmp eax, 1
jg 0x5ccc6e
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
cmp edx, 0x10
jb 0x5ccc5c
mov esi, eax
test eax, eax
je 0x5ccb44
mov ecx, eax
cmp edx, 0x10
jae 0x5ccb2b
lea ecx, [esp + 0x24]
cmp ecx, esi
ja 0x5ccb44
mov ecx, eax
cmp edx, 0x10
jae 0x5ccb3a
lea ecx, [esp + 0x24]
mov ebx, dword [esp + 0x34]
add ecx, ebx
cmp esi, ecx
jbe 0x5ccb55
call fcn.005e5343
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
cmp ecx, 0xfffffffc
je 0x5ccb80
mov ecx, eax
cmp edx, 0x10
jae 0x5ccb69
lea ecx, [esp + 0x24]
add ecx, ebx
cmp esi, ecx
jb 0x5ccb80
call fcn.005e5343
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
sub edi, esi
je 0x5ccc11
cmp edx, 0x10
jb 0x5ccc65
mov esi, eax
test eax, eax
je 0x5ccbbb
mov ecx, eax
cmp edx, 0x10
jae 0x5ccba6
lea ecx, [esp + 0x24]
cmp ecx, esi
ja 0x5ccbbb
mov ecx, eax
cmp edx, 0x10
jae 0x5ccbb5
lea ecx, [esp + 0x24]
add ecx, ebx
cmp esi, ecx
jbe 0x5ccbcc
call fcn.005e5343
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
cmp ecx, 0xfffffffc
je 0x5ccbe9
cmp edx, 0x10
jae 0x5ccbde
lea eax, [esp + 0x24]
add eax, ebx
cmp esi, eax
jb 0x5ccbe9
call fcn.005e5343
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x4c]
push eax
push edi
push 1
push esi
call fcn.005e5c6c
add esp, 0x10
cmp edi, eax
jne 0x5cccf1
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x41], 1
lea ecx, [esp + 0x10]
cmp dword [esp + 0x1c], ecx
jne 0x5ccccf
test edi, edi
ja 0x5cca04
lea ecx, [esp + 0x20]
cmp ebx, 0x20
jae 0x5cccf5
push 0
push 8
call fcn.005cb5e0
jmp 0x5cc9f8
lea ebp, [esp + 0x24]
jmp 0x5cca13
lea esi, [esp + 0x24]
jmp 0x5cca80
lea esi, [esp + 0x24]
jmp 0x5ccb20
lea esi, [esp + 0x24]
jmp 0x5ccb9b
cmp eax, 3
jne 0x5cccf1
mov edx, dword [ebx + 0x4c]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.005cac20
add esp, 8
test al, al
je 0x5cccac
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
call fcn.00456720
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
lea ecx, [esp + 0x20]
or esi, 0xffffffff
call fcn.00456720
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
lea ecx, [esp + 0x20]
call fcn.00456720
mov eax, dword [esp + 0x4c]
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
lea ecx, [esp + 0x20]
call fcn.00456720
mov ecx, dword [esp + 0x3c]
pop edi
pop ebp
pop esi
or eax, 0xffffffff
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4