Function at 0x1c4d620
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 [0x1cea148]
xor eax, ebp
mov dword [esp + 0x448], eax
mov dword [ecx], 0x1cba930
lea esi, [ecx + 8]
mov eax, dword [ecx + 8]
mov ecx, dword [eax + 4]
mov edx, 0xffffffff
test byte [edi + ecx + 0x18], 5
jne 0x1c4d67f
mov ecx, dword [esi + ecx + 0x18]
mov eax, dword [ecx]
sub esp, 0x14
movaps xmm0, xmmword [0x1cb6070]
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.01c27a98
mov ecx, ebx
push 0x1ceb198
call fcn.01c39278
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x1c]
mov ebx, eax
lea ecx, [esp + 0x40]
call fcn.01c2a440
movsx eax, bl
mov ecx, esi
push eax
call fcn.01c28380
mov dword [esp + 0x18], esi
mov ecx, esi
call fcn.01c27990
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.01c24008
test byte [0x1cd1554], 0x19
jne 0x1c4da1e
mov eax, dword [0x1ced568]
test eax, eax
je 0x1c4d742
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 0x1c4d742
cmp byte [esp + 0x2f], 0
jns 0x1c4d86e
push dword [esp + 0x24]
call fcn.01c8b528
add esp, 4
jmp 0x1c4d86e
mov eax, dword [0x1cd11b0]
test al, 2
je 0x1c4d762
cmp byte [esp + 0x2f], 0
jns 0x1c4d756
mov ebx, dword [esp + 0x24]
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, dword [0x1cd11b0]
mov dword [esp + 4], edi
test al, 4
lea edi, [esp + 0x40]
jne 0x1c4d77d
cmp eax, 1
ja 0x1c4d7c1
mov ecx, dword [esp + 4]
cmp dword [ecx + 4], 2
jl 0x1c4d7c1
push 2
call fcn.01c9b78d
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.01c9b78d
add esp, 0x10
push 2
call fcn.01c9b78d
add esp, 4
push eax
call fcn.01c9b78d
add esp, 4
mov eax, dword [0x1cd11b0]
test al, 1
je 0x1c4d7fc
call fcn.01c4cf40
test al, al
je 0x1c4d7fc
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 [0x1ced574]
call dword [sym.imp.kernel32.dll_WriteFile]
mov eax, dword [esp + 4]
cmp dword [eax + 4], 3
jne 0x1c4d854
mov ecx, dword [0x1cec900]
lea esi, [esp + 0x24]
test ecx, ecx
je 0x1c4d82e
movzx eax, byte [esp + 0x2f]
mov edx, esi
test al, al
jns 0x1c4d827
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push eax
push edx
call fcn.01c470f0
push 0x400
push 0xff
push edi
call fcn.01c8cb90
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x1c4d8d5
mov eax, dword [esp + 0x24]
jmp 0x1c4d8d9
lea esi, [esp + 0x24]
cmp byte [esi + 0xb], 0
jns 0x1c4d86a
push dword [esp + 0x24]
call fcn.01c8b528
add esp, 4
mov edi, dword [esp + 4]
lea ecx, [edi + 0xa0]
call fcn.01c4bdd0
lea ebx, [edi + 0x40]
mov eax, dword [edi + 8]
mov eax, dword [eax + 4]
mov dword [edi + eax + 8], 0x1cb57cc
mov dword [edi + 0xc], 0x1cb57d0
cmp byte [edi + 0x37], 0
jns 0x1c4d8a6
mov eax, dword [esp + 0x18]
push dword [eax + 0x24]
call fcn.01c8b528
add esp, 4
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.01c27624
mov ecx, esi
call fcn.01c23bd0
mov ecx, ebx
call fcn.01c2761a
mov ecx, dword [esp + 0x448]
xor ecx, ebp
call fcn.01c8b52d
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.01c48490
add esp, 0xc
push edi
call fcn.01c23bd0
add esp, 4
mov eax, dword [0x1ced588]
mov ecx, dword [0x1ced9a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x1c4da3d
mov eax, dword [0x1ced580]
cmp eax, dword [0x1ced584]
je 0x1c4daa9
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [0x1ced588]
mov ecx, dword [0x1ced9a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x1c4da73
mov eax, dword [0x1ced584]
test eax, eax
mov ecx, dword [0x1ced57c]
cmove eax, ecx
add eax, 0xffffffff
cmp ecx, eax
jb 0x1c4daac
shl eax, 2
add eax, dword [0x1ced578]
lea ecx, [esp + 0x20]
push eax
call fcn.01c4b580
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1c4da06
mov dword [esp + 0x14], esi
cmp byte [esi + 0xb], 0
mov dword [esp + 0x10], eax
jns 0x1c4d99a
mov edi, dword [esp + 0x24]
jmp 0x1c4d99e
lea edi, [esp + 0x24]
mov esi, dword [esp + 4]
mov eax, dword [esp + 8]
add eax, edi
test edi, edi
mov dword [esp + 0xc], eax
je 0x1c4d9bb
push eax
call fcn.01c91820
add esp, 4
jmp 0x1c4d9bd
xor eax, eax
mov ecx, dword [esi + 0x90]
mov ebx, dword [esp + 8]
sub ebx, ecx
add edi, ecx
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x98]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
mov esi, dword [esp + 0xc]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
lea edi, [esp + 0x38]
push eax
push edi
push edx
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.01c4b560
cmp byte [esi + 0xb], 0
jns 0x1c4d86a
jmp 0x1c4d85e
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
lea ecx, [esp + 0x40]
xor edx, edx
push ebx
push edi
push 0
call fcn.01c4dec0
add esp, 0xc
jmp 0x1c4d6fe
push 0x1ced588
call fcn.01c9b78d
add esp, 4
cmp dword [0x1ced588], 0xffffffff
jne 0x1c4d912
xorps xmm0, xmm0
movups xmmword [0x1ced578], xmm0
push 0x1ced588
call fcn.01c9b78d
add esp, 4
jmp 0x1c4d912
push 0x1ced588
call fcn.01c9b78d
add esp, 4
cmp dword [0x1ced588], 0xffffffff
jne 0x1c4d94c
xorps xmm0, xmm0
movups xmmword [0x1ced578], xmm0
push 0x1ced588
call fcn.01c9b78d
add esp, 4
jmp 0x1c4d94c
int3
int3