Function at 0x1c55ce0
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, 0x440
mov eax, dword [0x1d08010]
xor eax, ebp
mov dword [esp + 0x438], eax
mov dword [ecx], 0x1cf42b8
lea edi, [ecx + 8]
mov dword [esp], ecx
add ecx, 0xc
lea esi, [esp + 0x38]
mov dword [esp + 0xc], ecx
push esi
call fcn.01c6af10
movzx eax, byte [esi + 0xb]
mov dword [esp + 4], eax
test al, al
jns 0x1c55d2e
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
jns 0x1c55d3c
push dword [esp + 0x38]
call fcn.01c928e1
add esp, 4
mov eax, dword [esp]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 4]
mov dword [esp + 8], edi
add ecx, edi
lea esi, [esp + 0x38]
push esi
call fcn.01c6f890
mov ecx, esi
push 0x1d0d3e4
call fcn.01c70660
mov edi, eax
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
push 0xa
call esi
mov ebx, eax
lea ecx, [esp + 0x38]
call fcn.01c6f9d0
movsx eax, bl
mov esi, dword [esp + 8]
mov ecx, esi
push eax
call fcn.01c31020
mov ecx, esi
call fcn.01c30610
xor eax, eax
dec eax
lea esi, [esp + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, dword [esp + 0xc]
push esi
call fcn.01c6af10
movzx ecx, byte [esi + 0xb]
mov eax, ecx
test cl, cl
jns 0x1c55dbe
mov eax, dword [esp + 0x20]
mov edx, dword [esp]
mov edx, dword [edx + 0x90]
sub eax, edx
jb 0x1c55f60
test cl, cl
jns 0x1c55dd7
mov esi, dword [esp + 0x1c]
add esi, edx
lea ebx, [esp + 0x10]
mov ecx, ebx
push eax
push esi
call fcn.01cbda40
mov ecx, dword [esp]
mov eax, dword [ecx + 0x94]
mov ecx, dword [ecx + 0x98]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
test byte [0x1d0b330], 0x19
jne 0x1c55f63
cmp byte [esp + 0x1b], 0
jns 0x1c55e1d
push dword [esp + 0x10]
call fcn.01c928e1
add esp, 4
mov eax, dword [esp]
cmp dword [eax + 4], 3
je 0x1c55fa1
mov ecx, dword [0x1d1be44]
test ecx, ecx
je 0x1c55e6b
mov eax, dword [esp]
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
mov edi, dword [eax + 0x90]
mov ebx, dword [eax + 0x98]
mov esi, dword [eax + 0x94]
call dword [section..00cfg]
lea eax, [esp + 0x1c]
push eax
push edi
push ebx
push esi
push dword [esp + 0x18]
call ecx
add esp, 0x14
test al, al
jne 0x1c55ea7
mov eax, dword [0x1d0bfb8]
test al, 2
jne 0x1c56025
test al, 4
jne 0x1c55f20
mov ecx, dword [esp]
cmp dword [ecx + 4], 2
jl 0x1c55e92
cmp eax, 1
jbe 0x1c55f20
test al, 1
jne 0x1c56032
mov eax, dword [esp]
cmp dword [eax + 4], 3
je 0x1c56072
cmp byte [esp + 0x27], 0
jns 0x1c55eba
push dword [esp + 0x1c]
call fcn.01c928e1
add esp, 4
mov esi, dword [esp]
lea ecx, [esi + 0x9c]
call fcn.01c82270
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov dword [esi + eax + 8], 0x1cf42c4
mov dword [esi + 0xc], 0x1cf4480
cmp byte [esi + 0x37], 0
jns 0x1c55eee
push dword [esi + 0x2c]
call fcn.01c928e1
add esp, 4
add esi, 0x40
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.01c6a7f0
mov ecx, edi
call fcn.01c6af00
mov ecx, esi
call fcn.01c6a7e0
mov ecx, dword [esp + 0x438]
xor ecx, ebp
call fcn.01c938a3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [esp + 0x1c]
movzx ebx, byte [esi + 0xb]
test bl, bl
cmovs ebx, dword [esi + 4]
cmovs esi, dword [esi]
test ebx, ebx
je 0x1c55e92
xor edi, edi
mov eax, ebx
sub eax, edi
lea ecx, [esi + edi]
push eax
push ecx
push 2
call fcn.01ca7ef8
add esp, 0xc
test eax, eax
jns 0x1c5612b
mov eax, dword [0x1d0bfb8]
jmp 0x1c55e92
int3
lea eax, [esp + 0x28]
lea edx, [esp + 0x38]
mov dword [edx], eax
lea eax, [esp + 0x2c]
mov dword [edx + 4], eax
mov dword [edx + 8], ebx
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
sub esp, 8
movsd xmm0, qword [esp + 0x38]
movsd qword [esp], xmm0
mov ecx, str.LogMessage
call fcn.01cdb380
add esp, 8
jmp 0x1c55e0a
cmp byte [0x1d1be6c], 0
jne 0x1c55e2a
mov byte [0x1d1be6c], 1
mov eax, dword [0x1d1be74]
mov ecx, dword [0x1d0c258]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c5617b
mov ecx, dword [esp]
lea esi, [esp + 0x38]
push esi
call fcn.01cdb020
movzx eax, byte [esp + 0x43]
mov ecx, esi
test al, al
jns 0x1c55ff6
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
push eax
push ecx
push dword [0x1d1be70]
call fcn.01c7eb30
add esp, 0xc
cmp byte [esp + 0x43], 0
jns 0x1c56019
push dword [esp + 0x38]
call fcn.01c928e1
add esp, 4
mov byte [0x1d1be6c], 0
jmp 0x1c55e2a
cmp byte [esp + 0x27], 0
jns 0x1c56097
mov eax, dword [esp + 0x1c]
jmp 0x1c5609b
call fcn.01cdacf0
test al, al
je 0x1c55e9a
lea eax, [esp + 0x1c]
movzx ecx, byte [eax + 0xb]
test cl, cl
cmovs ecx, dword [eax + 4]
mov dword [esp + 0x38], 0xffffffff
cmovs eax, dword [eax]
push 0
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
push dword [0x1d1be50]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1c55e9a
mov esi, 0x400
push esi
push 0xff
lea eax, [esp + 0x40]
push eax
call fcn.01c96880
add esp, 0xc
cmp byte [esp + 0x27], 0
jns 0x1c560ac
mov eax, dword [esp + 0x1c]
jmp 0x1c560b0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1d0bfb8]
jmp 0x1c55e78
lea eax, [esp + 0x1c]
push esi
push eax
lea esi, [esp + 0x40]
push esi
call fcn.01c7cab0
add esp, 0xc
push esi
call fcn.01c6af00
add esp, 4
call fcn.01cdaf10
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 0xc]
je 0x1c561be
mov dword [esp + 0x10], 0xffffffff
call fcn.01cdaf10
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
test edx, edx
cmove edx, ecx
dec edx
cmp ecx, edx
jb 0x1c561c1
shl edx, 2
add edx, dword [eax]
lea esi, [esp + 0x10]
mov ecx, esi
push edx
call fcn.01c7eaa0
cmp dword [esi], 0
jne 0x1c5611e
lea ecx, [esp + 0x10]
call fcn.01c7ead0
jmp 0x1c55ea7
cmp byte [esp + 0x27], 0
jns 0x1c5613a
mov esi, dword [esp + 0x1c]
jmp 0x1c5613e
add edi, eax
cmp ebx, edi
ja 0x1c55f3b
jmp 0x1c55f56
lea esi, [esp + 0x1c]
mov edi, esi
add edi, dword [esp + 4]
je 0x1c561c4
push edi
call fcn.01caaf60
add esp, 4
mov edx, dword [esp]
mov ecx, dword [edx + 0x90]
mov ebx, dword [esp + 4]
sub ebx, ecx
add esi, ecx
lea ecx, [esp + 0x10]
push eax
push edi
push ebx
push esi
push dword [edx + 0x98]
push dword [edx + 0x94]
call fcn.01cdaf70
jmp 0x1c56110
push 0x1d1be74
call fcn.01c92957
add esp, 4
cmp dword [0x1d1be74], 0xffffffff
jne 0x1c55fd6
push 0x400
push str.LOG_FATAL
call fcn.01c57460
add esp, 8
mov dword [0x1d1be70], eax
push 0x1d1be74
call fcn.01c929cd
add esp, 4
jmp 0x1c55fd6
int3
int3
int3