Function at 0x1400019b0
Capabilities:
Accept command line arguments
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x1d0
mov rax, qword [0x1400200d0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.ole32.dll_CoInitialize]
lea r12, [0x140000000]
mov rax, qword [r12 + 0x1a610]
lea rdi, [0x140021a10]
mov qword [r12 + 0x22bf0], rax
mov rax, qword [r12 + 0x1a618]
mov qword [r12 + 0x22bf8], rax
cmp rdi, 0xffffffffffffffff
je 0x140001a4f
cmp qword [0x140021a10], 0
mov qword [0x140022cb8], rdi
je 0x140001a4f
nop dword [rax]
mov cl, 1
call qword [rdi + 0x40]
add rdi, 0x48
cmp qword [rdi], 0
jne 0x140001a40
mov rdi, qword [0x140021bf0]
mov rcx, qword [0x140021bf8]
cmp rdi, rcx
jae 0x140001a7f
mov rax, qword [rdi]
test rax, rax
je 0x140001a76
mov cl, 1
call qword [rax + 0x40]
mov rcx, qword [0x140021bf8]
add rdi, 8
cmp rdi, rcx
jb 0x140001a62
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or rcx, 0xffffffffffffffff
xor r14d, r14d
mov dword [0x140022cc0], eax
xor eax, eax
mov qword [rsp + 0x98], 7
mov qword [rsp + 0x90], r14
mov word [rsp + 0x80], r14w
mov rdi, rbx
repne scasw ax, word [rdi]
mov rdx, rbx
xor bpl, bpl
not rcx
xor r13b, r13b
lea r8, [rcx - 1]
lea rcx, [rsp + 0x78]
call fcn.140002860
lea r8d, [r14 + 0x40]
lea rdx, [rsp + 0xc0]
lea rcx, [0x14001a620]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rsi, rax
test rax, rax
jne 0x140001b0b
mov ecx, 0x8007000e
call fcn.140005f90
int3
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x140001b2c
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov rcx, rsi
mov edx, eax
call qword [sym.imp.USER32.dll_CharUpperBuffW]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
mov rdx, rsi
mov qword [rsp + 0x68], 7
not rcx
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
lea r8, [rcx - 1]
lea rcx, [rsp + 0x48]
call fcn.140002860
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.1400017f0
cmp qword [rsp + 0x68], 8
movzx edi, al
jb 0x140001b8c
mov rcx, qword [rsp + 0x50]
call fcn.14000ae50
test dil, dil
je 0x140001b98
mov r13b, 1
movzx ebp, r13b
mov eax, dword [r12 + 0x1a6bc]
lea rcx, [rsp + 0xb0]
mov dword [rcx], eax
movzx eax, word [r12 + 0x1a6c0]
mov word [rcx + 4], ax
test rbx, rbx
je 0x140001c9f
cmp word [rbx], r14w
je 0x140001c9f
lea rax, [rsp + 0xb0]
movzx edx, word [rax]
test dx, dx
je 0x140001bed
cmp word [rbx], dx
je 0x140001c03
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
test rax, rax
jne 0x140001bd2
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharNextW]
mov rbx, rax
test rax, rax
jne 0x140001bc0
jmp 0x140001c9f
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharNextW]
mov rdi, rax
test rax, rax
je 0x140001c9f
nop dword [rax + rax]
lea rdx, str.UnregServer
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001ee2
lea rdx, str.RegServer
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001ee2
cmp word [rdi], r14w
je 0x140001c9f
lea rax, [rsp + 0xb0]
nop
movzx edx, word [rax]
test dx, dx
je 0x140001c7b
cmp word [rdi], dx
je 0x140001c8e
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
test rax, rax
jne 0x140001c60
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdi, rax
test rax, rax
jne 0x140001c50
jmp 0x140001c9f
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdi, rax
test rax, rax
jne 0x140001c20
test bpl, bpl
je 0x140001ee2
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140022cc8], rax
test rax, rax
je 0x140001ceb
lea rax, [rsp + 0x30]
lea r9, [0x140022c70]
lea r8, [0x140001750]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, r14
test r13b, r13b
je 0x140001d68
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0xa0]
mov r8d, 0x40
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rcx, [rsp + 0x140]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
test rax, rax
jne 0x140001d30
mov ecx, 0x8007000e
call fcn.140005f90
int3
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov rcx, rdi
mov edx, eax
call qword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov rbx, rax
test rax, rax
jne 0x140001d5f
mov ecx, 0x8007000e
call fcn.140005f90
int3
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x140001d89
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov rcx, rbx
mov edx, eax
call qword [sym.imp.USER32.dll_CharUpperBuffW]
mov r12, r14
mov qword [rsp + 0x30], r14
test r13b, r13b
je 0x140001da5
lea rcx, [rsp + 0x30]
call fcn.140002d50
mov r12, qword [rsp + 0x30]
mov ebp, 0x64
mov edi, 0x80004005
mov qword [rsp + 0x38], r14
mov eax, ebp
dec ebp
test eax, eax
je 0x140001e74
lea r8, [rsp + 0x30]
lea rcx, [0x14001a6f4]
mov rdx, rbx
mov qword [rsp + 0x30], r14
call qword [sym.imp.ole32.dll_CreateItemMoniker]
mov edi, eax
test eax, eax
jns 0x140001dfd
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140001e6a
mov rdx, qword [rcx]
call qword [rdx + 0x10]
jmp 0x140001e6a
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001e12
mov qword [rsp + 0x38], r14
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rdx, [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.ole32.dll_GetRunningObjectTable]
mov edi, eax
test eax, eax
js 0x140001e4f
test r13b, r13b
je 0x140001e5a
mov rcx, qword [rsp + 0x38]
mov r9, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdx
mov r8, r12
xor edx, edx
call qword [rax + 0x18]
mov edi, eax
test eax, eax
jns 0x140001e5a
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140001e6a
mov rax, qword [rcx]
call qword [rax + 0x10]
test edi, edi
js 0x140001db4
jmp 0x140001e78
test edi, edi
js 0x140001ec1
lea rcx, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140001eb2
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140001e90
mov rcx, qword [rsp + 0x38]
mov edx, dword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001ed9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [0x140022cb8]
test rdi, rdi
je 0x140001f14
cmp qword [rdi], r14
je 0x140001f14
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140001f02
mov rax, qword [rcx]
call qword [rax + 0x10]
xor ecx, ecx
mov qword [rdi + 0x20], r14
call qword [rdi + 0x40]
add rdi, 0x48
cmp qword [rdi], r14
jne 0x140001ef3
mov rdi, qword [0x140021bf0]
mov rcx, qword [0x140021bf8]
cmp rdi, rcx
jae 0x140001f44
mov rax, qword [rdi]
test rax, rax
je 0x140001f3b
xor ecx, ecx
call qword [rax + 0x40]
mov rcx, qword [0x140021bf8]
add rdi, 8
cmp rdi, rcx
jb 0x140001f27
cmp dword [0x140022c78], r14d
je 0x140001fa7
mov rbx, qword [0x140022c80]
test rbx, rbx
je 0x140001f81
nop dword [rax]
mov rcx, qword [rbx + 8]
call qword [rbx]
mov rdi, qword [rbx + 0x10]
mov rcx, rbx
call fcn.14000ae50
mov rbx, rdi
test rdi, rdi
jne 0x140001f60
mov qword [0x140022c80], r14
mov rcx, qword [0x140022cb0]
test rcx, rcx
je 0x140001f93
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, [0x140022c88]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [0x140022c78], r14d
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp qword [rsp + 0x98], 8
jb 0x140001fce
mov rcx, qword [rsp + 0x80]
call fcn.14000ae50
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14000ae70
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret