Function at 0x10018710
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4a4
mov eax, dword [0x10080704]
xor eax, esp
mov dword [esp + 0x4a0], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push str.CommonSdk
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
and dword [esp + 0x38], 0xfffffe00
lea ecx, [esp + 0x20]
push esi
mov dword [esp + 0x40], 0
call fcn.10015e80
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
cmp dword [edi], 0
jne 0x100187aa
mov eax, dword [edi + 4]
test eax, eax
je 0x100187aa
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebx
test eax, eax
je 0x100187aa
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 + 0x48]
mov ecx, dword [0x10081120]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], eax
push 0xffffffffffffffff
mov eax, dword [ecx]
push dword [edi]
call dword [eax + 0xc]
push ecx
push str.Path
lea ecx, [esp + 0x38]
mov dword [esp + 0x48], eax
call fcn.1000a3e0
mov edi, eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x40]
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 + 0x40]
call fcn.10009b00
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10018879
push eax
call fcn.1001bce1
add esp, 4
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1001888a
push eax
call fcn.1001bce1
add esp, 4
push 0x400
lea eax, [esp + 0xac]
push 0
push eax
call fcn.10033470
add esp, 0xc
lea eax, [esp + 0xa8]
push dword [ebp + 0xc]
push 0x1007009c
push 0x400
push eax
call fcn.1000c040
mov eax, dword [esp + 0x58]
lea edx, [esp + 0xb8]
mov ecx, dword [0x10081120]
and eax, 0xffffff04
add esp, 0x10
mov dword [esp + 0x4c], 0
or eax, 0x104
mov dword [esp + 0x48], eax
mov eax, dword [ecx]
push 0xffffffffffffffff
push edx
call dword [eax + 0xc]
push ecx
push str.ProcessId
lea ecx, [esp + 0x38]
mov dword [esp + 0x48], eax
call fcn.1000a3e0
mov edi, eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x40]
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 + 0x40]
call fcn.10009b00
xor eax, eax
mov dword [esp + 0x20], eax
cmp dword [ebp + 0x14], eax
jbe 0x10018ad6
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
xor edi, edi
mov esi, dword [ecx + eax*4]
test esi, esi
je 0x10018a41
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100189b0
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001c3b1
mov edi, eax
add esp, 4
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100189e2
sub eax, edx
sar eax, 1
push esi
inc eax
push eax
push edi
call fcn.1004304a
add esp, 0xc
test edi, edi
je 0x10018a41
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x10018a41
lea esi, [eax + 1]
push esi
call fcn.1001c3b1
add esp, 4
mov ebx, eax
push 0
push 0
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x28]
mov ecx, dword [0x10081120]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x4c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], eax
mov eax, dword [ecx]
push 0xffffffffffffffff
push ebx
call dword [eax + 0xc]
push ecx
push 0x10070d00
lea ecx, [esp + 0x38]
mov dword [esp + 0x48], eax
call fcn.1000a3e0
mov edx, eax
lea eax, [esp + 0x40]
push eax
mov ecx, edx
call fcn.1000a140
push ecx
push eax
mov ecx, edx
call fcn.1000a1e0
add esp, 4
mov ecx, eax
call fcn.10009bc0
lea ecx, [esp + 0x40]
call fcn.10009b00
test ebx, ebx
je 0x10018ab7
push ebx
call fcn.1001bce1
add esp, 4
test edi, edi
je 0x10018ac4
push edi
call fcn.1001bce1
add esp, 4
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [ebp + 0x14]
jb 0x10018991
lea eax, [esp + 0x30]
mov dword [esp + 0x58], vtable.Json::StyledWriter.0
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x60], 0
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0xf
mov byte [esp + 0x70], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0xf
mov byte [esp + 0x88], 0
mov dword [esp + 0xa0], 0x4a
mov dword [esp + 0xa4], 3
call fcn.1000ca50
lea ecx, [esp + 0x58]
call fcn.100093b0
lea edx, [esp + 0x40]
mov ecx, 0x21
call fcn.10017410
mov edx, dword [esp + 0x54]
mov esi, eax
cmp edx, 0x10
jb 0x10018ba3
mov ecx, dword [esp + 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10018b99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018bc3
push edx
push ecx
call fcn.1001bf11
add esp, 8
lea ecx, [esp + 0x30]
call fcn.10009b00
mov ecx, dword [esp + 0x4ac]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1001bcd0
mov esp, ebp
pop ebp
ret
call fcn.10041b97
int3