Function at 0x180002100
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180122010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
lea ecx, [r12 + 1]
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [rbp - 1], r12d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp - 1]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
test rax, rax
je 0x180002294
cmp dword [rbp - 1], 2
jl 0x18000217f
mov rdx, qword [rax + 8]
mov rcx, r14
call fcn.1800034f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x180002195
mov rcx, qword [r14]
cmp qword [r14 + 0x10], 0xf
jne 0x1800021ca
mov r8d, 0xf
lea rdx, str.worker_demo
nop dword [rax]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x1800021ca
add rcx, 2
add rdx, 2
sub r8, 1
jne 0x1800021b0
mov al, 1
jmp 0x1800021cc
xor al, al
test al, al
je 0x180002294
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], r12
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r12w
lea rdx, str.PDF_IPC_EF0B3EAA_5B61_48D1_81DF_3F0DE51A0315
lea rcx, [rbp + 7]
call fcn.1800034f0
nop
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], 7
mov word [rbp - 0x61], r12w
mov esi, 2
mov dword [rsp + 0x20], esi
mov rdx, qword [rbp + 0x17]
add rdx, 0x13
lea rcx, [rbp - 0x61]
call fcn.180003d80
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
lea rcx, [rbp - 0x61]
call fcn.1800036c0
lea r8d, [rsi + 0x11]
lea rdx, str._RC_IPC_TASK_SINGLE
lea rcx, [rbp - 0x61]
call fcn.1800036c0
lea rdx, [rbp - 0x61]
lea rcx, [r14 + 0x38]
call fcn.18001a050
and esi, 0xfffffffd
mov dword [rsp + 0x20], esi
lea rcx, [rbp - 0x61]
call fcn.180003470
cmp qword [r14 + 0x38], 0
je 0x1800022be
cmp byte [r14 + 0x41], 0
je 0x1800022be
lea rcx, [rbp + 7]
call fcn.180003470
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800ba9e0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, [rbp + 7]
call fcn.180003470
nop
mov ecx, 0x50
call fcn.1800baa04
mov rdx, rax
mov qword [rbp - 0x41], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj_class_RC::RCDocHandle_.0
mov qword [rdx], rax
lea rcx, [rdx + 0x10]
mov qword [rbp - 0x39], rcx
xor eax, eax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
mov qword [rcx + 0x20], r12
mov qword [rcx + 0x28], r12
mov qword [rcx + 0x30], r12
mov qword [rcx + 0x38], r12
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x79], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
or esi, 4
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x48], rcx
mov qword [rbp - 0x79], rdx
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdx
movdqu xmmword [rsp + 0x48], xmm0
mov rax, qword [r14 + 0x58]
mov qword [rsp + 0x28], rax
mov qword [r14 + 0x58], rcx
mov rbx, qword [r14 + 0x60]
mov qword [rsp + 0x30], rbx
mov qword [r14 + 0x60], rdx
mov r15d, 0xffffffff
test rbx, rbx
je 0x1800023c2
mov eax, r15d
lock xadd dword [rbx + 8], eax
sub eax, 1
jne 0x1800023be
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
sub eax, 1
jne 0x1800023be
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 8]
mov esi, dword [rsp + 0x20]
and esi, 0xfffffffb
mov dword [rsp + 0x20], esi
cmp qword [r14 + 0x58], 0
je 0x180002294
mov ecx, 0xb0
call fcn.1800baa04
mov rdi, rax
mov qword [rbp - 0x39], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj_class_RC::RCIPCClient_.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov qword [rbp - 0x41], rbx
xor edx, edx
mov r8d, 0xa0
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx], 0
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x20], r12
mov qword [rbx + 0x28], r12
mov qword [rbx + 0x30], r12
mov qword [rbx + 0x38], r12
mov qword [rbx + 0x40], r12
mov qword [rbx + 0x48], r12
mov qword [rbx + 0x50], r12
mov qword [rbx + 0x58], r12
lea rax, [rbx + 0x60]
mov qword [rbp - 9], rax
mov qword [rax + 0x38], r12
xor eax, eax
mov qword [rbp - 0x71], rax
mov qword [rbp - 0x69], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
or esi, 8
mov dword [rsp + 0x20], esi
mov qword [rbp - 0x71], rbx
mov qword [rbp - 0x69], rdi
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
movdqu xmmword [rbp - 0x71], xmm0
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x38], rax
mov qword [r14 + 0x28], rbx
mov rbx, qword [r14 + 0x30]
mov qword [rsp + 0x40], rbx
mov qword [r14 + 0x30], rdi
test rbx, rbx
je 0x1800024d7
mov eax, r15d
lock xadd dword [rbx + 8], eax
sub eax, 1
jne 0x1800024d3
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x1800024d3
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 8]
mov esi, dword [rsp + 0x20]
and esi, 0xfffffff7
mov dword [rsp + 0x20], esi
cmp qword [r14 + 0x28], 0
je 0x18000252b
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], r12w
lea rdx, str.PDF_IPC_EF0B3EAA_5B61_48D1_81DF_3F0DE51A0315
lea rcx, [rbp - 0x31]
call fcn.1800034f0
nop
or esi, 1
mov dword [rsp + 0x20], esi
lea rdx, [rbp - 0x31]
mov rcx, qword [r14 + 0x28]
call fcn.18007cec0
test al, al
je 0x18000252b
xor bl, bl
jmp 0x18000252d
mov bl, 1
test sil, 1
je 0x180002543
and esi, 0xfffffffe
mov dword [rsp + 0x20], esi
lea rcx, [rbp - 0x31]
call fcn.180003470
test bl, bl
sete al
jmp 0x180002296