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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x448
mov eax, dword [0x1cf151c]
xor eax, ebp
mov dword [esp + 0x440], eax
mov dword [ecx], 0x1cdcbd0
lea esi, [ecx + 8]
mov eax, dword [ecx + 8]
mov edi, dword [eax + 4]
mov edx, 0xffffffff
mov dword [esp + 0x10], ecx
test byte [ecx + edi + 0x18], 5
mov dword [esp + 0x18], esi
jne 0x1c64735
mov ebx, dword [esi + edi + 0x18]
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [section..00cfg]
sub esp, 0x14
movaps xmm0, xmmword [0x1cd64d0]
movups xmmword [esp + 4], xmm0
lea eax, [esp + 0x54]
mov dword [esp], eax
mov ecx, ebx
call edi
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
mov eax, dword [esi]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 4]
add ecx, esi
lea edi, [esp + 0x40]
push edi
call fcn.01c2a15a
mov ecx, edi
push 0x1d0c4a8
call fcn.01c3f3b8
mov edi, eax
mov eax, dword [eax]
mov ebx, dword [eax + 0x1c]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 0xa
call ebx
mov ebx, eax
lea ecx, [esp + 0x40]
call fcn.01c2db80
movsx eax, bl
mov ecx, esi
push eax
call fcn.01c2b4d0
mov ecx, esi
call fcn.01c2a800
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
mov esi, dword [esp + 0x10]
lea ecx, [esi + 0xc]
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], ecx
mov dword [esp + 4], eax
push eax
call fcn.01c2b830
test byte [0x1d097d0], 0x19
jne 0x1c64ad6
mov ecx, dword [0x1d19f78]
test ecx, ecx
je 0x1c6480d
mov eax, dword [esi + 4]
mov dword [esp + 0xc], eax
mov ebx, dword [esi + 0x90]
mov eax, dword [esi + 0x98]
mov dword [esp + 8], eax
mov edi, dword [esi + 0x94]
call dword [section..00cfg]
lea eax, [esp + 0x24]
push eax
push ebx
push dword [esp + 0x10]
push edi
push dword [esp + 0x1c]
call ecx
add esp, 0x14
test al, al
jne 0x1c64a5c
mov eax, dword [0x1d0a220]
test al, 2
je 0x1c64834
cmp byte [esp + 0x2f], 0
jns 0x1c64825
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1d0a220]
test al, 4
jne 0x1c64843
cmp dword [esi + 4], 2
jl 0x1c64886
cmp eax, 1
ja 0x1c64886
movzx ebx, byte [esp + 0x2f]
test bl, bl
cmovs ebx, dword [esp + 0x28]
lea edi, [esp + 0x24]
cmovs edi, dword [esp + 0x24]
test ebx, ebx
je 0x1c64886
xor esi, esi
nop
mov eax, ebx
sub eax, esi
lea ecx, [edi + esi]
push eax
push ecx
push 2
call fcn.01cbffc0
add esp, 0xc
test eax, eax
js 0x1c6487d
add esi, eax
cmp esi, ebx
jb 0x1c64860
mov eax, dword [0x1d0a220]
mov esi, dword [esp + 0x10]
test al, 1
je 0x1c648c5
call fcn.01c63fd0
test al, al
je 0x1c648c5
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
lea edx, [esp + 0x44]
push edx
push eax
push ecx
push dword [0x1d19f84]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esi + 4], 3
jne 0x1c64a5c
mov ecx, dword [0x1d184f0]
test ecx, ecx
je 0x1c648f7
movzx eax, byte [esp + 0x2f]
test al, al
jns 0x1c648ec
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
jmp 0x1c648f0
lea edx, [esp + 0x24]
push eax
push edx
call fcn.01c58580
push 0x400
push 0xff
lea eax, [esp + 0x48]
push eax
call fcn.01caf0d0
add esp, 0xc
cmp byte [esp + 0x2f], 0
jns 0x1c6491b
mov eax, dword [esp + 0x24]
jmp 0x1c6491f
lea eax, [esp + 0x24]
push 0x400
push eax
lea edi, [esp + 0x48]
push edi
call fcn.01c56a30
add esp, 0xc
push edi
call fcn.01c23c00
add esp, 4
mov eax, dword [0x1d19f98]
mov ecx, dword [0x1d0dc5c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c64afd
mov eax, dword [0x1d19f90]
cmp eax, dword [0x1d19f94]
je 0x1c64b69
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [0x1d19f98]
mov ecx, dword [0x1d0dc5c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c64b33
mov eax, dword [0x1d19f94]
test eax, eax
mov ecx, dword [0x1d19f8c]
cmove eax, ecx
dec eax
cmp ecx, eax
jb 0x1c64b6c
shl eax, 2
add eax, dword [0x1d19f88]
lea ecx, [esp + 0x20]
push eax
call fcn.01c70b20
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1c64a53
cmp byte [esp + 0x2f], 0
jns 0x1c649db
mov esi, dword [esp + 0x24]
jmp 0x1c649df
lea esi, [esp + 0x24]
mov edi, dword [esp + 0x14]
mov dword [esp + 4], eax
mov ebx, esi
add ebx, edi
je 0x1c64b6f
push ebx
call fcn.01cc2e10
add esp, 4
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x90]
sub edi, ecx
add esi, ecx
mov ecx, dword [edx + 0x94]
mov dword [esp + 0xc], ecx
mov ecx, dword [edx + 0x98]
mov dword [esp + 8], ecx
mov dword [esp + 0x38], esi
mov esi, edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
mov edi, dword [esp + 4]
mov ecx, dword [edi + 4]
call dword [section..00cfg]
lea eax, [esp + 0x30]
lea edx, [esp + 0x38]
push eax
push edx
push dword [esp + 0x10]
push dword [esp + 0x18]
push edi
call ecx
add esp, 0x14
lea ecx, [esp + 0x20]
call fcn.01c70af0
cmp byte [esp + 0x2f], 0
jns 0x1c64a6f
push dword [esp + 0x24]
call fcn.01caae80
add esp, 4
lea ecx, [esi + 0x9c]
call fcn.01c7b240
lea ebx, [esi + 0x40]
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov dword [esi + eax + 8], vtable.std::__1::basic_ostringstream_char__struct_std::__1::char_traits_char___class_std::__1::allocator_char__.0
mov dword [esi + 0xc], vtable.std::__1::basic_stringbuf_char__struct_std::__1::char_traits_char___class_std::__1::allocator_char__.0
cmp byte [esi + 0x37], 0
jns 0x1c64aa7
mov eax, dword [esp + 0x18]
push dword [eax + 0x24]
call fcn.01caae80
add esp, 4
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.01c2a436
mov ecx, esi
call fcn.01c23c00
mov ecx, ebx
call fcn.01c2a42c
mov ecx, dword [esp + 0x440]
xor ecx, ebp
call fcn.01caaec1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x40], esi
lea eax, [esp + 0x24]
mov dword [esp + 0x44], eax
mov ecx, str.LogMessage
xor edx, edx
lea eax, [esp + 0x40]
push eax
push 0
call fcn.01c64f00
add esp, 8
jmp 0x1c647c4
push 0x1d19f98
call fcn.01caaf07
add esp, 4
cmp dword [0x1d19f98], 0xffffffff
jne 0x1c6495c
xorps xmm0, xmm0
movups xmmword [0x1d19f88], xmm0
push 0x1d19f98
call fcn.01caaf7d
add esp, 4
jmp 0x1c6495c
push 0x1d19f98
call fcn.01caaf07
add esp, 4
cmp dword [0x1d19f98], 0xffffffff
jne 0x1c64996
xorps xmm0, xmm0
movups xmmword [0x1d19f88], xmm0
push 0x1d19f98
call fcn.01caaf7d
add esp, 4
jmp 0x1c64996
int3
int3
int3