Function at 0x1400067a0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x160
mov rax, qword [0x14006c270]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r15d, r9d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, qword [0x14006bfe0]
lea rcx, [0x14006bfe0]
mov rbx, rax
call qword [rdx + 0x18]
xor r12d, r12d
or r13, 0xffffffffffffffff
lea rdi, [rax + 0x18]
mov qword [rbp - 0x80], rdi
test rbx, rbx
je 0x140006836
test rbx, 0xffffffffffff0000
jne 0x140006823
movzx ebx, bx
xor edx, edx
mov ecx, ebx
call fcn.140001200
test rax, rax
je 0x14000684c
lea rcx, [rbp - 0x80]
mov r8d, ebx
mov rdx, rax
call fcn.140005520
jmp 0x140006848
xor eax, eax
mov rcx, r13
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x140006839
mov ecx, r12d
mov r8d, ecx
lea rcx, [rbp - 0x80]
mov rdx, rbx
call fcn.140005390
mov rdi, qword [rbp - 0x80]
movsxd rbx, dword [rdi - 0x10]
test ebx, ebx
jns 0x14000685f
mov ecx, 0x80070057
call fcn.140001050
int3
mov eax, dword [rdi - 0xc]
mov qword [rsp + 0x198], r14
mov r14d, 1
mov ecx, r14d
sub eax, ebx
sub ecx, dword [rdi - 8]
or ecx, eax
jge 0x14000688b
lea rcx, [rbp - 0x80]
mov edx, ebx
call fcn.140003900
mov rdi, qword [rbp - 0x80]
lea eax, [rbx + 1]
mov rcx, rdi
movsxd rdx, eax
call fcn.14003490c
cmp ebx, dword [rdi - 0xc]
jg 0x140006f66
mov dword [rdi - 0x10], ebx
mov word [rdi + rbx*2], r12w
mov qword [rsp + 0x190], rsi
cmp dword [rdi - 0x10], r12d
jl 0x140006ef9
lea rdx, str.unregserver
mov rcx, rdi
call fcn.140033f80
test rax, rax
je 0x140006ba5
sub rax, rdi
sar rax, 1
test eax, eax
js 0x140006ba5
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rcx, [rbp - 0x28]
call fcn.14002b3d0
lea r8, [0x14004bca8]
lea rcx, [rbp - 0x38]
mov rdx, rax
call fcn.1400056c0
mov rdx, qword [rbp - 0x28]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140006925
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140005d30
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.140022e30
test eax, eax
js 0x140006946
call fcn.140005d30
mov qword [0x14006da38], rax
mov rax, qword [0x14006bfe0]
lea rcx, [0x14006bfe0]
call qword [rax + 0x18]
lea rdi, [0x14004c990]
add rax, 0x18
mov rbx, rdi
shr rbx, 0x10
mov qword [rbp - 0x60], rax
test rbx, rbx
jne 0x140006994
movzx esi, di
xor edx, edx
mov ecx, esi
call fcn.140001200
test rax, rax
je 0x1400069a3
lea rcx, [rbp - 0x60]
mov r8d, esi
mov rdx, rax
call fcn.140005520
jmp 0x1400069a3
lea rcx, [rbp - 0x60]
xor r8d, r8d
mov rdx, rdi
call fcn.140005390
mov rax, qword [0x14006bfe0]
lea rcx, [0x14006bfe0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x68], rax
test rbx, rbx
jne 0x1400069e3
movzx edi, di
xor edx, edx
mov ecx, edi
call fcn.140001200
test rax, rax
je 0x1400069f2
lea rcx, [rbp - 0x68]
mov r8d, edi
mov rdx, rax
call fcn.140005520
jmp 0x1400069f2
lea rcx, [rbp - 0x68]
xor r8d, r8d
mov rdx, rdi
call fcn.140005390
mov rax, qword [0x14006bfe0]
lea rcx, [0x14006bfe0]
call qword [rax + 0x18]
lea rdi, [0x14004bc78]
add rax, 0x18
mov qword [rbp - 0x70], rax
test rdi, 0xffffffffffff0000
jne 0x140006a41
movzx edi, di
xor edx, edx
mov ecx, edi
call fcn.140001200
test rax, rax
je 0x140006ab4
lea rcx, [rbp - 0x70]
mov r8d, edi
mov rdx, rax
call fcn.140005520
jmp 0x140006ab4
mov ecx, dword [rax - 0xc]
sub r14d, dword [rax - 8]
mov esi, dword [rax - 0x10]
mov rbx, rdi
sub ecx, 0x16
sub rbx, rax
sar rbx, 1
or r14d, ecx
jge 0x140006a6e
lea rcx, [rbp - 0x70]
mov edx, 0x16
call fcn.140003900
mov rax, qword [rbp - 0x70]
movsxd rdx, dword [rax - 0xc]
mov r9d, 0x2c
mov rcx, rax
add rdx, rdx
cmp rbx, rsi
ja 0x140006a8e
lea r8, [rax + rbx*2]
call fcn.1400345b0
jmp 0x140006a96
mov r8, rdi
call fcn.1400340dc
mov rax, qword [rbp - 0x70]
cmp dword [rax - 0xc], 0x16
jl 0x140006b9a
mov dword [rax - 0x10], 0x16
mov rax, qword [rbp - 0x70]
mov word [rax + 0x2c], r12w
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x48]
call fcn.140026d70
mov rdx, qword [rbp - 0x70]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140006ae8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x68]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140006b07
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x60]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140006b26
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp - 0x48]
cmp dword [rax - 0x10], r12d
je 0x140006b4a
lea rcx, [rax - 0x18]
call fcn.1400026f0
lea rcx, [rbp - 0x18]
add rax, 0x18
mov qword [rbp - 0x18], rax
call fcn.140005e30
lea rdx, str.1F733841_2B64_466b_BE22_53A779CB3B29
lea rcx, [rbp - 8]
call fcn.140006350
mov rcx, rax
call fcn.140005e30
call fcn.140006570
call fcn.140006570
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rdx, qword [rbp - 0x48]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140006b91
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x38]
jmp 0x140006eda
mov ecx, 0x80070057
call fcn.140001050
int3
cmp dword [rdi - 0x10], r12d
jl 0x140006ef9
lea rdx, str.regserver
mov rcx, rdi
call fcn.140033f80
test rax, rax
je 0x140006ef9
sub rax, rdi
sar rax, 1
test eax, eax
js 0x140006ef9
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rcx, [rbp - 0x10]
call fcn.14002b3d0
lea r8, [0x14004bca8]
lea rcx, [rbp - 0x30]
mov rdx, rax
call fcn.1400056c0
mov rdx, qword [rbp - 0x10]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140006c18
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140005d30
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.140022e30
test eax, eax
js 0x140006c39
call fcn.140005d30
mov qword [0x14006da38], rax
mov eax, dword [0x140052198]
lea rcx, [0x14006bfe0]
mov dword [rbp], eax
mov eax, dword [0x14005219c]
mov dword [rbp + 4], eax
mov eax, dword [0x1400521a0]
mov dword [rbp + 8], eax
mov eax, dword [0x1400521a4]
mov dword [rbp + 0xc], eax
mov rax, qword [0x14006bfe0]
call qword [rax + 0x18]
lea rcx, [rbp]
add rax, 0x18
mov qword [rbp - 0x58], rax
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x140006ea7
lea rdx, str._08lX__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
lea rcx, [rbp - 0x40]
call fcn.140006350
movzx edx, byte [rbp + 0xf]
movzx ecx, byte [rbp + 0xd]
movzx r9d, byte [rbp + 9]
movzx eax, byte [rbp + 0xe]
movzx edi, byte [rbp + 0xc]
movzx r10d, byte [rbp + 0xb]
movzx r11d, byte [rbp + 0xa]
movzx ebx, byte [rbp + 8]
movzx esi, word [rbp + 6]
movzx r12d, word [rbp + 4]
mov r8d, dword [rbp]
mov dword [rsp + 0xb8], edx
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0xa8], ecx
mov dword [rsp + 0xa0], edi
mov dword [rsp + 0x98], r10d
mov dword [rsp + 0x90], r11d
mov dword [rsp + 0x88], r9d
mov dword [rsp + 0x80], ebx
mov dword [rsp + 0x78], esi
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x68], r8d
mov dword [rsp + 0x60], edx
mov rdx, qword [rbp - 0x40]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], r9d
lea rcx, [rbp - 0x58]
mov r9d, r12d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], esi
call fcn.140005d00
lea rdx, [0x14004c990]
lea rcx, [rbp - 0x50]
call fcn.140006350
mov rax, qword [0x14006bfe0]
lea rcx, [0x14006bfe0]
call qword [rax + 0x18]
lea rdi, [0x14004bc78]
add rax, 0x18
mov qword [rbp - 0x78], rax
test rdi, 0xffffffffffff0000
jne 0x140006da7
movzx edi, di
xor edx, edx
mov ecx, edi
call fcn.140001200
test rax, rax
je 0x140006e1b
lea rcx, [rbp - 0x78]
mov r8d, edi
mov rdx, rax
call fcn.140005520
jmp 0x140006e1b
mov ecx, dword [rax - 0xc]
sub r14d, dword [rax - 8]
mov esi, dword [rax - 0x10]
mov rbx, rdi
sub ecx, 0x16
sub rbx, rax
sar rbx, 1
or r14d, ecx
jge 0x140006dd4
lea rcx, [rbp - 0x78]
mov edx, 0x16
call fcn.140003900
mov rax, qword [rbp - 0x78]
movsxd rdx, dword [rax - 0xc]
mov r9d, 0x2c
mov rcx, rax
add rdx, rdx
cmp rbx, rsi
ja 0x140006df4
lea r8, [rax + rbx*2]
call fcn.1400345b0
jmp 0x140006dfc
mov r8, rdi
call fcn.1400340dc
mov rax, qword [rbp - 0x78]
cmp dword [rax - 0xc], 0x16
jl 0x140006f5b
mov dword [rax - 0x10], 0x16
mov rax, qword [rbp - 0x78]
xor ecx, ecx
mov word [rax + 0x2c], cx
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x78]
call fcn.140027430
mov rdx, qword [rbp - 0x78]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140006e4b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x50]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140006e6a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x58]
add rcx, 0xffffffffffffffe8
call fcn.1400026f0
lea rcx, [rbp - 0x20]
add rax, 0x18
mov qword [rbp - 0x20], rax
call fcn.140005f80
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140006ea7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140006400
call fcn.140006670
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rdx, qword [rbp - 0x58]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140006ed6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140006ef5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rbp - 0x80]
lea rcx, [0x14006d9d0]
mov edx, r15d
call fcn.140005ec0
lea rdx, [rdi - 0x18]
mov ebx, eax
lock xadd dword [rdx + 0x10], r13d
dec r13d
test r13d, r13d
jg 0x140006f25
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x190]
mov r14, qword [rsp + 0x198]
mov eax, ebx
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140034530
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x160
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80070057
call fcn.140001050
int3
mov ecx, 0x80070057
call fcn.140001050
int3