Function at 0x10018fc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x86c
mov eax, dword [0x10080704]
xor eax, esp
mov dword [esp + 0x868], eax
mov eax, dword [ebp + 0xc]
and dword [esp + 0x44], 0xfffffe00
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
push edi
and eax, 0xffffff01
mov dword [esp + 0x54], 0
push ecx
or eax, 1
mov dword [esp + 0x20], 0
push str.type
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 1
call fcn.1000a3e0
mov edi, eax
lea ecx, [esp + 0x28]
lea eax, [esp + 0x10]
push eax
call fcn.10009960
movsx ecx, byte [edi + 8]
mov edx, dword [esp + 0x30]
mov eax, edx
mov byte [edi + 8], dl
xor eax, ecx
mov ecx, dword [edi]
movzx esi, al
mov eax, dword [esp + 0x28]
xor esi, edx
mov edx, dword [edi + 4]
mov dword [edi], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
mov ecx, dword [edi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, esi
shl edx, 8
and eax, 0x100
xor edx, esi
xor eax, ecx
and edx, 0x100
mov dword [edi + 8], eax
xor edx, esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], edx
call fcn.10009b00
lea ecx, [esp + 0x10]
call fcn.10009b00
push ebx
lea ecx, [esp + 0x2c]
call fcn.10015e80
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
cmp dword [edi], 0
jne 0x100190f8
mov eax, dword [edi + 4]
test eax, eax
je 0x100190f8
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebx
test eax, eax
je 0x100190f8
lea esi, [eax + 1]
push esi
call fcn.1001c3b1
add esp, 4
mov dword [edi], eax
push 0
push 0
push esi
push eax
push 0xffffffffffffffff
push dword [edi + 4]
push 0
push 0xfde9
call ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [0x10081120]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], eax
push 0xffffffffffffffff
mov eax, dword [ecx]
push dword [edi]
call dword [eax + 0xc]
push ecx
push str.path
lea ecx, [esp + 0x50]
mov dword [esp + 0x40], eax
call fcn.1000a3e0
mov edi, eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x38]
push eax
call fcn.10009960
movsx ecx, byte [edi + 8]
mov edx, dword [esp + 0x18]
mov eax, edx
mov byte [edi + 8], dl
xor eax, ecx
mov ecx, dword [edi]
movzx esi, al
mov eax, dword [esp + 0x10]
xor esi, edx
mov edx, dword [edi + 4]
mov dword [edi], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, esi
shl edx, 8
and eax, 0x100
xor edx, esi
xor eax, ecx
and edx, 0x100
mov dword [edi + 8], eax
xor edx, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], edx
call fcn.10009b00
lea ecx, [esp + 0x38]
call fcn.10009b00
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100191c7
push eax
call fcn.1001bce1
add esp, 4
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100191d8
push eax
call fcn.1001bce1
add esp, 4
push dword [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.10015e80
mov edi, eax
cmp dword [edi], 0
jne 0x1001922d
mov eax, dword [edi + 4]
test eax, eax
je 0x1001922d
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebx
test eax, eax
je 0x1001922d
lea esi, [eax + 1]
push esi
call fcn.1001c3b1
add esp, 4
mov dword [edi], eax
push 0
push 0
push esi
push eax
push 0xffffffffffffffff
push dword [edi + 4]
push 0
push 0xfde9
call ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [0x10081120]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], eax
push 0xffffffffffffffff
mov eax, dword [ecx]
push dword [edi]
call dword [eax + 0xc]
push ecx
push str.delay_event
lea ecx, [esp + 0x50]
mov dword [esp + 0x40], eax
call fcn.1000a3e0
mov edi, eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x38]
push eax
call fcn.10009960
movsx ecx, byte [edi + 8]
mov edx, dword [esp + 0x18]
mov eax, edx
mov byte [edi + 8], dl
xor eax, ecx
mov ecx, dword [edi]
movzx esi, al
mov eax, dword [esp + 0x10]
xor esi, edx
mov edx, dword [edi + 4]
mov dword [edi], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, esi
shl edx, 8
and eax, 0x100
xor edx, esi
xor eax, ecx
and edx, 0x100
mov dword [edi + 8], eax
xor edx, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], edx
call fcn.10009b00
lea ecx, [esp + 0x38]
call fcn.10009b00
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100192fc
push eax
call fcn.1001bce1
add esp, 4
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1001930d
push eax
call fcn.1001bce1
add esp, 4
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x4c]
call fcn.1000a920
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
cmovae eax, dword [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [esp + 0x68]
lea esi, [esp + 0x58]
cmp dword [esp + 0x6c], 0x10
cmovae esi, dword [esp + 0x58]
lea ebx, [edi + 1]
push ebx
call fcn.1001c3b1
add esp, 4
mov dword [esp + 0x24], eax
push ebx
push 0
push eax
call fcn.10033470
add esp, 0xc
push edi
push esi
mov esi, dword [esp + 0x2c]
push esi
call fcn.100335d0
add esp, 0xc
lea eax, [esp + 0x70]
push 0x800
push 0
push eax
call fcn.10033470
add esp, 0xc
lea eax, [esp + 0x70]
push ebx
push esi
push str.json___s_len__d
push eax
call fcn.100194b0
add esp, 0x10
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0xffffffffffffffff
push 0
push 0
push ebx
push esi
push str.ipc_kernel_help
call fcn.10001020
push esi
mov edi, eax
call fcn.1001bce1
mov edx, dword [esp + 0x70]
add esp, 4
cmp edx, 0x10
jb 0x100193f1
mov ecx, dword [esp + 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100193e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019426
push edx
push ecx
call fcn.1001bf11
add esp, 8
lea ecx, [esp + 0x48]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0xf
mov byte [esp + 0x58], 0
call fcn.10009b00
mov ecx, dword [esp + 0x874]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001bcd0
mov esp, ebp
pop ebp
ret
call fcn.10041b97
int3