Function at 0x1c576b0
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 [0x1d17014]
xor eax, ebp
mov dword [esp + 0x438], eax
mov dword [ecx], 0x1d03264
lea edi, [ecx + 8]
mov dword [esp], ecx
add ecx, 0xc
lea esi, [esp + 0x38]
mov dword [esp + 0xc], ecx
push esi
call fcn.01c6e630
movzx eax, byte [esi + 0xb]
mov dword [esp + 4], eax
test al, al
jns 0x1c576fe
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
jns 0x1c5770c
push dword [esp + 0x38]
call fcn.01c97151
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.01c73020
mov ecx, esi
push 0x1d342c4
call fcn.01c73df0
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.01c73160
movsx eax, bl
mov esi, dword [esp + 8]
mov ecx, esi
push eax
call fcn.01c31290
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.01c6e630
movzx ecx, byte [esi + 0xb]
mov eax, ecx
test cl, cl
jns 0x1c5778e
mov eax, dword [esp + 0x20]
mov edx, dword [esp]
mov edx, dword [edx + 0x90]
sub eax, edx
jb 0x1c57930
test cl, cl
jns 0x1c577a7
mov esi, dword [esp + 0x1c]
add esi, edx
lea ebx, [esp + 0x10]
mov ecx, ebx
push eax
push esi
call fcn.01cc37c0
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 [0x1d32210], 0x19
jne 0x1c57933
cmp byte [esp + 0x1b], 0
jns 0x1c577ed
push dword [esp + 0x10]
call fcn.01c97151
add esp, 4
mov eax, dword [esp]
cmp dword [eax + 4], 3
je 0x1c57971
mov ecx, dword [0x1d42dac]
test ecx, ecx
je 0x1c5783b
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 0x1c57877
mov eax, dword [0x1d32eac]
test al, 2
jne 0x1c579f5
test al, 4
jne 0x1c578f0
mov ecx, dword [esp]
cmp dword [ecx + 4], 2
jl 0x1c57862
cmp eax, 1
jbe 0x1c578f0
test al, 1
jne 0x1c57a02
mov eax, dword [esp]
cmp dword [eax + 4], 3
je 0x1c57a42
cmp byte [esp + 0x27], 0
jns 0x1c5788a
push dword [esp + 0x1c]
call fcn.01c97151
add esp, 4
mov esi, dword [esp]
lea ecx, [esi + 0x9c]
call fcn.01c863a0
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov dword [esi + eax + 8], 0x1d03448
mov dword [esi + 0xc], 0x1d03450
cmp byte [esi + 0x37], 0
jns 0x1c578be
push dword [esi + 0x2c]
call fcn.01c97151
add esp, 4
add esi, 0x40
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.01c6df10
mov ecx, edi
call fcn.01c6e620
mov ecx, esi
call fcn.01c6df00
mov ecx, dword [esp + 0x438]
xor ecx, ebp
call fcn.01c97fe3
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 0x1c57862
xor edi, edi
mov eax, ebx
sub eax, edi
lea ecx, [esi + edi]
push eax
push ecx
push 2
call fcn.01cadbd0
add esp, 0xc
test eax, eax
jns 0x1c57b23
mov eax, dword [0x1d32eac]
jmp 0x1c57862
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.01ce2ea0
add esp, 8
jmp 0x1c577da
cmp byte [0x1d42dd4], 0
jne 0x1c577fa
mov byte [0x1d42dd4], 1
mov eax, dword [0x1d42ddc]
mov ecx, dword [0x1d33130]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c57b73
mov ecx, dword [esp]
lea esi, [esp + 0x38]
push esi
call fcn.01ce2b40
movzx eax, byte [esp + 0x43]
mov ecx, esi
test al, al
jns 0x1c579c6
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
push eax
push ecx
push dword [0x1d42dd8]
call fcn.01c84370
add esp, 0xc
cmp byte [esp + 0x43], 0
jns 0x1c579e9
push dword [esp + 0x38]
call fcn.01c97151
add esp, 4
mov byte [0x1d42dd4], 0
jmp 0x1c577fa
cmp byte [esp + 0x27], 0
jns 0x1c57a5f
mov eax, dword [esp + 0x1c]
jmp 0x1c57a63
call fcn.01ce2810
test al, al
je 0x1c5786a
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 [0x1d42db8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1c5786a
mov ecx, dword [0x1d40160]
test ecx, ecx
je 0x1c57a7f
movzx eax, byte [esp + 0x27]
test al, al
jns 0x1c57a74
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jmp 0x1c57a78
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1d32eac]
jmp 0x1c57848
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.01cdd390
mov esi, 0x400
push esi
push 0xff
lea eax, [esp + 0x40]
push eax
call fcn.01c9afc0
add esp, 0xc
cmp byte [esp + 0x27], 0
jns 0x1c57aa4
mov eax, dword [esp + 0x1c]
jmp 0x1c57aa8
lea eax, [esp + 0x1c]
push esi
push eax
lea esi, [esp + 0x40]
push esi
call fcn.01c7a3e0
add esp, 0xc
push esi
call fcn.01c6e620
add esp, 4
call fcn.01ce2a30
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 0xc]
je 0x1c57bb6
mov dword [esp + 0x10], 0xffffffff
call fcn.01ce2a30
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
test edx, edx
cmove edx, ecx
dec edx
cmp ecx, edx
jb 0x1c57bb9
shl edx, 2
add edx, dword [eax]
lea esi, [esp + 0x10]
mov ecx, esi
push edx
call fcn.01c83e20
cmp dword [esi], 0
jne 0x1c57b16
lea ecx, [esp + 0x10]
call fcn.01c83e50
jmp 0x1c57877
cmp byte [esp + 0x27], 0
jns 0x1c57b32
mov esi, dword [esp + 0x1c]
jmp 0x1c57b36
add edi, eax
cmp ebx, edi
ja 0x1c5790b
jmp 0x1c57926
lea esi, [esp + 0x1c]
mov edi, esi
add edi, dword [esp + 4]
je 0x1c57bbc
push edi
call fcn.01cb0b70
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.01ce2a90
jmp 0x1c57b08
push 0x1d42ddc
call fcn.01c97191
add esp, 4
cmp dword [0x1d42ddc], 0xffffffff
jne 0x1c579a6
push 0x400
push str.LOG_FATAL
call fcn.01c59f80
add esp, 8
mov dword [0x1d42dd8], eax
push 0x1d42ddc
call fcn.01c9720b
add esp, 4
jmp 0x1c579a6
int3
int3
int3