Function at 0x1400039b0
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 [0x1400220d0]
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, [0x140002000]
mov rax, qword [r12 + 0x1a610]
lea rdi, [0x140023a10]
mov qword [r12 + 0x22bf0], rax
mov rax, qword [r12 + 0x1a618]
mov qword [r12 + 0x22bf8], rax
cmp rdi, 0xffffffffffffffff
je 0x140003a4f
cmp qword [0x140023a10], 0
mov qword [0x140024cb8], rdi
je 0x140003a4f
nop dword [rax]
mov cl, 1
call qword [rdi + 0x40]
add rdi, 0x48
cmp qword [rdi], 0
jne 0x140003a40
mov rdi, qword [0x140023bf0]
mov rcx, qword [0x140023bf8]
cmp rdi, rcx
jae 0x140003a7f
mov rax, qword [rdi]
test rax, rax
je 0x140003a76
mov cl, 1
call qword [rax + 0x40]
mov rcx, qword [0x140023bf8]
add rdi, 8
cmp rdi, rcx
jb 0x140003a62
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or rcx, 0xffffffffffffffff
xor r14d, r14d
mov dword [0x140024cc0], 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.140004860
lea r8d, [r14 + 0x40]
lea rdx, [rsp + 0xc0]
lea rcx, [0x14001c620]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rcx, [rsp + 0xc0]
call qword [0x14001a338]
mov rsi, rax
test rax, rax
jne 0x140003b0b
mov ecx, 0x8007000e
call fcn.140007f90
int3
mov rcx, rax
call qword [0x14001a350]
test eax, eax
je 0x140003b2c
mov rcx, rsi
call qword [0x14001a350]
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.140004860
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.1400037f0
cmp qword [rsp + 0x68], 8
movzx edi, al
jb 0x140003b8c
mov rcx, qword [rsp + 0x50]
call fcn.14000ce50
test dil, dil
je 0x140003b98
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 0x140003c9f
cmp word [rbx], r14w
je 0x140003c9f
lea rax, [rsp + 0xb0]
movzx edx, word [rax]
test dx, dx
je 0x140003bed
cmp word [rbx], dx
je 0x140003c03
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
test rax, rax
jne 0x140003bd2
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharNextW]
mov rbx, rax
test rax, rax
jne 0x140003bc0
jmp 0x140003c9f
mov rcx, rbx
call qword [sym.imp.USER32.dll_CharNextW]
mov rdi, rax
test rax, rax
je 0x140003c9f
nop dword [rax + rax]
lea rdx, str.UnregServer
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140003ee2
lea rdx, str.RegServer
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140003ee2
cmp word [rdi], r14w
je 0x140003c9f
lea rax, [rsp + 0xb0]
nop
movzx edx, word [rax]
test dx, dx
je 0x140003c7b
cmp word [rdi], dx
je 0x140003c8e
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
test rax, rax
jne 0x140003c60
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdi, rax
test rax, rax
jne 0x140003c50
jmp 0x140003c9f
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharNextW]
mov rdi, rax
test rax, rax
jne 0x140003c20
test bpl, bpl
je 0x140003ee2
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140024cc8], rax
test rax, rax
je 0x140003ceb
lea rax, [rsp + 0x30]
lea r9, [0x140024c70]
lea r8, [0x140003750]
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 0x140003d68
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0xa0]
mov r8d, 0x40
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rcx, [rsp + 0x140]
call qword [0x14001a338]
mov rdi, rax
test rax, rax
jne 0x140003d30
mov ecx, 0x8007000e
call fcn.140007f90
int3
xor ecx, ecx
call qword [0x14001a358]
mov rcx, rdi
call qword [0x14001a328]
mov rcx, rdi
mov edx, eax
call qword [0x14001a330]
mov rbx, rax
test rax, rax
jne 0x140003d5f
mov ecx, 0x8007000e
call fcn.140007f90
int3
mov rcx, rdi
call qword [0x14001a358]
mov rcx, rbx
call qword [0x14001a350]
test eax, eax
je 0x140003d89
mov rcx, rbx
call qword [0x14001a350]
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 0x140003da5
lea rcx, [rsp + 0x30]
call fcn.140004d50
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 0x140003e74
lea r8, [rsp + 0x30]
lea rcx, [0x14001c6f4]
mov rdx, rbx
mov qword [rsp + 0x30], r14
call qword [sym.imp.ole32.dll_CreateItemMoniker]
mov edi, eax
test eax, eax
jns 0x140003dfd
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140003e6a
mov rdx, qword [rcx]
call qword [rdx + 0x10]
jmp 0x140003e6a
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140003e12
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 0x140003e4f
test r13b, r13b
je 0x140003e5a
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 0x140003e5a
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140003e6a
mov rax, qword [rcx]
call qword [rax + 0x10]
test edi, edi
js 0x140003db4
jmp 0x140003e78
test edi, edi
js 0x140003ec1
lea rcx, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140003eb2
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 0x140003e90
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 0x140003ed9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call qword [0x14001a358]
mov rdi, qword [0x140024cb8]
test rdi, rdi
je 0x140003f14
cmp qword [rdi], r14
je 0x140003f14
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140003f02
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 0x140003ef3
mov rdi, qword [0x140023bf0]
mov rcx, qword [0x140023bf8]
cmp rdi, rcx
jae 0x140003f44
mov rax, qword [rdi]
test rax, rax
je 0x140003f3b
xor ecx, ecx
call qword [rax + 0x40]
mov rcx, qword [0x140023bf8]
add rdi, 8
cmp rdi, rcx
jb 0x140003f27
cmp dword [0x140024c78], r14d
je 0x140003fa7
mov rbx, qword [0x140024c80]
test rbx, rbx
je 0x140003f81
nop dword [rax]
mov rcx, qword [rbx + 8]
call qword [rbx]
mov rdi, qword [rbx + 0x10]
mov rcx, rbx
call fcn.14000ce50
mov rbx, rdi
test rdi, rdi
jne 0x140003f60
mov qword [0x140024c80], r14
mov rcx, qword [0x140024cb0]
test rcx, rcx
je 0x140003f93
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, [0x140024c88]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [0x140024c78], r14d
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rsi
call qword [0x14001a358]
cmp qword [rsp + 0x98], 8
jb 0x140003fce
mov rcx, qword [rsp + 0x80]
call fcn.14000ce50
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14000ce70
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