Function at 0x1c5bb00
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x450
mov edi, ecx
mov eax, dword [0x1cda44c]
xor eax, ebp
mov dword [esp + 0x448], eax
mov dword [ecx], 0x1cc4280
lea esi, [ecx + 8]
mov eax, dword [ecx + 8]
mov ecx, dword [eax + 4]
mov edx, 0xffffffff
test byte [edi + ecx + 0x18], 5
jne 0x1c5bb5f
mov ecx, dword [esi + ecx + 0x18]
mov eax, dword [ecx]
sub esp, 0x14
movaps xmm0, xmmword [0x1cbde10]
movups xmmword [esp + 4], xmm0
lea edx, [esp + 0x54]
mov dword [esp], edx
call dword [eax + 0xc]
mov edx, dword [esp + 0x48]
mov eax, dword [esi]
mov dword [esp + 8], edx
mov ecx, dword [eax + 4]
add ecx, esi
lea ebx, [esp + 0x40]
push ebx
call fcn.01c289a8
mov ecx, ebx
push 0x1cf41e8
call fcn.01c3a1b8
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x1c]
mov ebx, eax
lea ecx, [esp + 0x40]
call fcn.01c2b330
movsx eax, bl
mov ecx, esi
push eax
call fcn.01c29290
mov dword [esp + 0x18], esi
mov ecx, esi
call fcn.01c288a0
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [edi + 0xc]
lea ebx, [esp + 0x24]
mov dword [esp + 0x1c], ecx
push ebx
call fcn.01c24068
test byte [0x1cf26dc], 0x19
jne 0x1c5bef8
mov eax, dword [0x1cf5c4c]
test eax, eax
je 0x1c5bc22
push ebx
push dword [edi + 0x90]
push dword [edi + 0x98]
push dword [edi + 0x94]
push dword [edi + 4]
call eax
add esp, 0x14
test al, al
je 0x1c5bc22
cmp byte [esp + 0x2f], 0
jns 0x1c5bd4e
push dword [esp + 0x24]
call fcn.01c92abc
add esp, 4
jmp 0x1c5bd4e
mov eax, dword [0x1cf3150]
test al, 2
je 0x1c5bc42
cmp byte [esp + 0x2f], 0
jns 0x1c5bc36
mov ebx, dword [esp + 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1cf3150]
mov dword [esp + 4], edi
test al, 4
lea edi, [esp + 0x40]
jne 0x1c5bc5d
cmp eax, 1
ja 0x1c5bca1
mov ecx, dword [esp + 4]
cmp dword [ecx + 4], 2
jl 0x1c5bca1
push 2
call fcn.01c97e24
add esp, 4
movzx ecx, byte [esp + 0x2f]
test cl, cl
cmovs ecx, dword [esp + 0x28]
lea edx, [esp + 0x24]
cmovs edx, dword [esp + 0x24]
push eax
push 1
push ecx
push edx
call fcn.01ca964d
add esp, 0x10
push 2
call fcn.01c97e24
add esp, 4
push eax
call fcn.01ca912b
add esp, 4
mov eax, dword [0x1cf3150]
test al, 1
je 0x1c5bcdc
call fcn.01c5b410
test al, al
je 0x1c5bcdc
mov dword [esp + 0x40], 0xffffffff
movzx eax, byte [esp + 0x2f]
test al, al
cmovs eax, dword [esp + 0x28]
lea ecx, [esp + 0x24]
cmovs ecx, dword [esp + 0x24]
push 0
push edi
push eax
push ecx
push dword [0x1cf5c58]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 4]
cmp dword [eax + 4], 3
jne 0x1c5bd34
mov ecx, dword [0x1cf5a00]
lea esi, [esp + 0x24]
test ecx, ecx
je 0x1c5bd0e
movzx eax, byte [esp + 0x2f]
mov edx, esi
test al, al
jns 0x1c5bd07
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push eax
push edx
call fcn.01c51300
push 0x400
push 0xff
push edi
call fcn.01c97000
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x1c5bdb5
mov eax, dword [esp + 0x24]
jmp 0x1c5bdb9
lea esi, [esp + 0x24]
cmp byte [esi + 0xb], 0
jns 0x1c5bd4a
push dword [esp + 0x24]
call fcn.01c92abc
add esp, 4
mov edi, dword [esp + 4]
lea ecx, [edi + 0xa0]
call fcn.01c6e280
lea ebx, [edi + 0x40]
mov eax, dword [edi + 8]
mov eax, dword [eax + 4]
mov dword [edi + eax + 8], 0x1cbd53c
mov dword [edi + 0xc], 0x1cbd540
cmp byte [edi + 0x37], 0
jns 0x1c5bd86
mov eax, dword [esp + 0x18]
push dword [eax + 0x24]
call fcn.01c92abc
add esp, 4
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.01c28534
mov ecx, esi
call fcn.01c23c30
mov ecx, ebx
call fcn.01c2852a
mov ecx, dword [esp + 0x448]
xor ecx, ebp
call fcn.01c92b01
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x24]
push 0x400
push eax
push edi
call fcn.01c4fd10
add esp, 0xc
push edi
call fcn.01c23c30
add esp, 4
mov eax, dword [0x1cf5c6c]
mov ecx, dword [0x1cf5970]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c5bf17
mov eax, dword [0x1cf5c64]
cmp eax, dword [0x1cf5c68]
je 0x1c5bf83
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [0x1cf5c6c]
mov ecx, dword [0x1cf5970]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c5bf4d
mov eax, dword [0x1cf5c68]
test eax, eax
mov ecx, dword [0x1cf5c60]
cmove eax, ecx
add eax, 0xffffffff
cmp ecx, eax
jb 0x1c5bf86
shl eax, 2
add eax, dword [0x1cf5c5c]
lea ecx, [esp + 0x20]
push eax
call fcn.01c670d0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1c5bee0
mov dword [esp + 0x14], esi
cmp byte [esi + 0xb], 0
jns 0x1c5be72
mov ecx, dword [esp + 0x24]
jmp 0x1c5be76
lea ecx, [esp + 0x24]
mov esi, dword [esp + 4]
mov dword [esp + 0x10], eax
mov edi, ecx
add edi, dword [esp + 8]
mov dword [esp + 0xc], ecx
je 0x1c5be95
push edi
call fcn.01caadb0
add esp, 4
jmp 0x1c5be97
xor eax, eax
mov ecx, dword [esi + 0x90]
mov ebx, dword [esp + 8]
sub ebx, ecx
mov edx, dword [esp + 0xc]
add edx, ecx
mov ecx, dword [esi + 0x94]
mov esi, dword [esi + 0x98]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
lea edi, [esp + 0x38]
push eax
push edi
push esi
push ecx
mov eax, dword [esp + 0x20]
push eax
call dword [eax + 4]
add esp, 0x14
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
call fcn.01c670b0
cmp byte [esi + 0xb], 0
jns 0x1c5bd4a
jmp 0x1c5bd3e
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
lea ecx, [esp + 0x40]
xor edx, edx
push ebx
push edi
push 0
call fcn.01c5c390
add esp, 0xc
jmp 0x1c5bbde
push 0x1cf5c6c
call fcn.01c92b47
add esp, 4
cmp dword [0x1cf5c6c], 0xffffffff
jne 0x1c5bdf2
xorps xmm0, xmm0
movups xmmword [0x1cf5c5c], xmm0
push 0x1cf5c6c
call fcn.01c92bbd
add esp, 4
jmp 0x1c5bdf2
push 0x1cf5c6c
call fcn.01c92b47
add esp, 4
cmp dword [0x1cf5c6c], 0xffffffff
jne 0x1c5be2c
xorps xmm0, xmm0
movups xmmword [0x1cf5c5c], xmm0
push 0x1cf5c6c
call fcn.01c92bbd
add esp, 4
jmp 0x1c5be2c
int3
int3