Function at 0x140006068
Capabilities:
Accept command line arguments
Check os version
Compare security identifiers
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x23d8]
mov eax, 0x24b0
call fcn.14000a7d0
sub rsp, rax
mov rax, qword [0x1400100e0]
xor rax, rsp
mov qword [rbp + 0x23a0], rax
mov rdi, rcx
mov dword [rbp + 0x230], 0x11c
lea rax, [rbp + 8]
mov r15d, 1
lea rcx, [rbp + 0x230]
mov dword [rbp], r15d
mov qword [rbp - 8], rax
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
nop dword [rax + rax]
xor r13d, r13d
test eax, eax
je 0x1400060ec
mov byte [0x1400110da], r15b
mov byte [0x140010dc4], r15b
mov rax, qword [0x14000f0c0]
mov r14d, 0x104
mov word [rax], r13w
mov rax, qword [0x14000f8d0]
mov word [rax], r13w
lea rax, [rbp + 0x20]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], r14d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop dword [rax + rax]
mov esi, 0x20
mov rbx, rax
lea ecx, [rsi + 2]
lea edx, [rsi - 0x1e]
cmp word [rax], cx
jne 0x140006138
add rbx, rdx
jmp 0x140006145
movzx ecx, si
jmp 0x140006145
add rbx, rdx
cmp ax, cx
je 0x14000614d
movzx eax, word [rbx]
test ax, ax
jne 0x14000613d
mov ecx, 0xfffffff5
mov qword [0x1400110f0], rdi
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
nop dword [rax + rax]
mov qword [0x140010dd0], rax
cmp rax, 0xffffffffffffffff
je 0x140006186
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
nop dword [rax + rax]
cmp eax, 3
je 0x14000618d
mov qword [0x140010dd0], r13
mov edi, 0x800
mov dword [rbp - 0x68], r13d
mov r8d, edi
lea rcx, [rbp + 0xba0]
xor edx, edx
call sub.msvcrt.dll_memset
mov r8d, edi
lea rcx, [rbp + 0x13a0]
xor edx, edx
call sub.msvcrt.dll_memset
mov edi, 2
mov dword [0x140010c14], r13d
lea r12d, [rdi + 7]
movzx eax, word [rbx]
cmp ax, si
je 0x1400061d6
cmp ax, r12w
jne 0x1400061db
add rbx, rdi
jmp 0x1400061c8
sub ax, 0x2d
mov edi, 0xfffd
test di, ax
jne 0x1400063ad
lea rax, [rbx + 2]
test rax, rax
je 0x1400063ad
movzx eax, word [rax]
or ax, si
cmp ax, 0x60
jne 0x1400063ad
add rbx, 4
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x78], rbx
call fcn.140009198
lea rcx, [rbp + 0xba0]
mov r8d, 0x400
mov qword [rsp + 0x68], rcx
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.1400052dc
test al, al
jne 0x14000626e
xor edx, edx
xor ecx, ecx
call fcn.140008dd0
cmp dword [rbp + 0x18], r14d
jle 0x140006261
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
cmp dword [rbp], r15d
mov dword [rbp + 0x18], r14d
jmp 0x140006dc7
mov eax, dword [rbp + 0x18]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInstallerRunOnceEntries
add eax, eax
mov dword [rbp - 0x78], r13d
mov dword [rbp - 0x74], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call fcn.140004e70
test eax, eax
jne 0x14000636e
mov rcx, qword [rbp - 0x80]
lea rax, [rbp - 0x74]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x78]
mov rax, qword [rbp + 0x10]
lea rdx, [rbp + 0xba0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xea
jne 0x140006325
mov edx, dword [rbp - 0x74]
lea rcx, [rbp + 0x10]
shr edx, 1
call fcn.140008b64
mov rcx, qword [rbp - 0x80]
test al, al
jne 0x1400062f7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x1400063f5
lea rax, [rbp - 0x74]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x78]
mov rax, qword [rbp + 0x10]
lea rdx, [rbp + 0xba0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
jne 0x14000636e
cmp dword [rbp - 0x78], r15d
jne 0x14000636e
mov r11, qword [rbp + 0x10]
movzx ebx, word [r11]
mov rcx, r11
mov qword [rsp + 0x78], r11
mov rax, r11
cmp bx, si
je 0x140006364
cmp bx, r12w
jne 0x14000696b
cmp bx, si
cmove rcx, rax
lea r11, [rcx + 2]
jmp 0x140006343
cmp dword [rbp + 0x18], r14d
jle 0x140006384
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
lea rax, [rbp + 0x20]
mov dword [rbp + 0x18], r14d
mov qword [rbp + 0x10], rax
cmp dword [rbp], r15d
jle 0x1400063a6
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
xor eax, eax
jmp 0x140006d5b
lea r8, [rsp + 0x68]
mov qword [rsp + 0x68], r13
mov rcx, rbx
call fcn.140009328
test eax, eax
jns 0x1400063e2
cmp dword [rbp + 0x18], r14d
jle 0x1400063d9
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
cmp dword [rbp], r15d
jmp 0x1400068bd
mov edx, dword [rsp + 0x68]
lea rcx, [rbp + 0x10]
inc edx
call fcn.140008b64
test al, al
jne 0x140006437
cmp dword [rbp + 0x18], r14d
jle 0x14000640b
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
lea rax, [rbp + 0x20]
mov dword [rbp + 0x18], r14d
mov qword [rbp + 0x10], rax
cmp dword [rbp], r15d
jle 0x14000642d
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov eax, 0xe
jmp 0x140006d5b
mov rax, qword [rbp + 0x10]
lea rcx, str.package
lea r8, [rbp - 0x70]
mov qword [rbp + 0xa08], r13
mov byte [rbp + 0xa10], r13b
mov qword [rbp + 0xa20], r13
mov word [rax], r13w
lea rax, str.update
movsd xmm0, qword [str.PATCH]
movups xmm1, xmmword [0x14000bfb0]
mov qword [rbp + 0xa00], rax
lea rax, str.uninstall
mov qword [rbp + 0xa18], rax
lea rax, [0x14000be30]
mov qword [rbp + 0xa38], rax
lea rax, str.help
mov qword [rbp + 0xa48], rax
lea rax, [0x14000be44]
mov qword [rbp + 0xa50], rax
lea rax, str.quiet
mov qword [rbp + 0xa60], rax
lea rax, [0x14000be60]
mov qword [rbp + 0xa68], rax
lea rax, str.passive
mov qword [rbp + 0xa78], rax
lea rax, str._qb___REBOOTPROMPTS
mov qword [rbp + 0xa80], rax
lea rax, str.norestart
mov qword [rbp + 0xa90], rax
lea rax, str.REBOOTReallySuppress
mov qword [rbp + 0xa98], rax
lea rax, str.forcerestart
mov qword [rbp + 0xaa8], rax
lea rax, str.REBOOTForce
mov qword [rbp + 0xab0], rax
lea rax, str.promptrestart
mov qword [rbp + 0xac0], rax
lea rax, str.REBOOTPROMPT__
mov qword [rbp + 0xac8], rax
lea rax, [0x14000bf70]
mov qword [rbp + 0xad8], rax
lea rax, [0x14000bf78]
mov qword [rbp + 0xae0], rax
mov eax, dword [0x14000bf80]
mov dword [rbp + 0x9c8], eax
movzx eax, word [0x14000bf84]
mov word [rbp + 0x9cc], ax
mov eax, dword [0x14000bf88]
mov dword [rbp + 0x9b0], eax
movzx eax, word [0x14000bf8c]
mov word [rbp + 0x9b4], ax
mov eax, dword [0x14000bf98]
mov dword [rbp + 0x9c0], eax
movzx eax, word [0x14000bf9c]
movsd qword [rbp + 0x9b8], xmm0
movups xmm0, xmmword [str.MSIPATCHREMOVE]
mov word [rbp + 0x9c4], ax
mov byte [rbp + 0xa28], r13b
mov qword [rbp + 0xa30], rcx
mov byte [rbp + 0xa40], r15b
mov byte [rbp + 0xa58], r15b
mov byte [rbp + 0xa70], r15b
mov byte [rbp + 0xa88], r15b
mov byte [rbp + 0xaa0], r15b
mov byte [rbp + 0xab8], r15b
mov byte [rbp + 0xad0], r15b
mov byte [rbp + 0xae8], r15b
movups xmmword [rbp + 0x9e0], xmm0
mov qword [rbp - 0x70], r13
movups xmmword [rbp + 0x9f0], xmm1
call fcn.140009328
test eax, eax
js 0x1400063c3
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x68], rbx
lea rcx, [rsp + 0x68]
mov qword [rbp - 0x80], r13
call fcn.1400039fc
mov r15, qword [rbp - 0x70]
test rax, rax
je 0x14000670d
movzx ecx, word [rax]
test cx, cx
je 0x14000670d
sub cx, 0x2d
test di, cx
jne 0x1400066de
mov rdi, qword [rbp - 0x80]
lea rsi, [rax + 2]
mov r12d, 1
lea r14, [rdi - 1]
cmp r14, r12
jne 0x1400066a3
or dword [rsp + 0x28], 0xffffffff
lea rax, [0x14000bfc0]
lea r9d, [rdi - 1]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov edx, r12d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
nop dword [rax + rax]
cmp eax, 2
je 0x1400066f1
cmp r15, r14
jne 0x1400066d9
lea rax, str.package
mov dword [rsp + 0x28], r15d
lea r9d, [rdi - 1]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov edx, r12d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
nop dword [rax + rax]
cmp eax, 2
je 0x1400066f1
mov edi, 0xfffd
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x68]
call fcn.1400039fc
jmp 0x140006639
lea rax, [rbp + 0x9b8]
mov edi, 0xfffd
mov qword [rbp + 0xa08], rax
lea rax, [rbp + 0x9e0]
jmp 0x140006736
lea rax, [rbp + 0x9b0]
mov r12d, 1
mov qword [rbp + 0xa08], rax
lea rax, [rbp + 0x9c8]
mov byte [rbp + 0xa10], r12b
mov byte [rbp + 0xa28], r12b
lea rdx, [rbp - 0x80]
mov qword [rbp + 0xa20], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rbx
mov qword [rbp - 0x80], r13
call fcn.1400039fc
mov r14d, 0x104
mov rbx, rax
test rax, rax
je 0x14000688a
movzx eax, word [rax]
test ax, ax
je 0x14000688a
mov r15, qword [rbp - 0x80]
sub ax, 0x2d
test di, ax
jne 0x140006812
mov esi, r13d
lea r14, [rbp + 0xa00]
mov rdi, r13
cmp esi, 0xa
jae 0x14000680c
mov rax, qword [r14]
lea r9d, [r15 - 1]
or dword [rsp + 0x28], 0xffffffff
lea r8, [rbx + 2]
mov edx, r12d
mov qword [rsp + 0x20], rax
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
nop dword [rax + rax]
cmp eax, 2
je 0x1400067cf
add esi, r12d
add rdi, r12
add r14, 0x18
jmp 0x140006790
lea r11, [rdi + rdi*2]
mov qword [rbp - 0x70], r13
mov rcx, qword [rbp + r11*8 + 0xa08]
lea r8, [rbp - 0x70]
mov r14d, 0x104
mov dword [rbp + 0x1c], r14d
call fcn.140009328
test eax, eax
js 0x140006846
mov r9b, byte [rbp + r11*8 + 0xa10]
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp + r11*8 + 0xa08]
jmp 0x14000681f
mov r14d, 0x104
mov dword [rbp + 0x1c], r14d
mov r9b, r12b
mov r8, r15
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.140002554
mov ebx, eax
test eax, eax
jne 0x14000684b
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x68]
call fcn.1400039fc
mov edi, 0xfffd
jmp 0x14000675a
mov ebx, 0x65b
cmp dword [rbp + 0x18], r14d
jle 0x140006861
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
cmp dword [rbp], r12d
mov dword [rbp + 0x18], r14d
lea rax, [rbp + 0x20]
mov qword [rbp + 0x10], rax
jle 0x140006883
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov eax, ebx
jmp 0x140006d5b
mov r11, qword [rbp + 0x10]
lea r8, [rsp + 0x68]
mov rcx, r11
mov qword [rsp + 0x68], r13
call fcn.140009328
test eax, eax
jns 0x1400068e5
cmp dword [rbp + 0x18], r14d
jle 0x1400068b9
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
cmp dword [rbp], r12d
lea rax, [rbp + 0x20]
mov dword [rbp + 0x18], r14d
mov qword [rbp + 0x10], rax
jle 0x1400068db
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov eax, 0x65b
jmp 0x140006d5b
mov rax, qword [rsp + 0x68]
mov esi, 0x20
lea edi, [rsi - 0x1e]
test rax, rax
je 0x14000691f
dec rax
lea rax, [r11 + rax*2]
cmp word [rax], si
je 0x14000690d
mov ecx, 9
cmp word [rax], cx
jne 0x14000691f
cmp rax, r11
jb 0x14000691f
mov word [rax], r13w
sub rax, rdi
mov r11, qword [rbp + 0x10]
jmp 0x1400068fe
movzx ebx, word [r11]
mov qword [rsp + 0x78], r11
test bx, bx
je 0x140006965
mov rax, r11
mov rcx, r11
mov edx, 9
cmp bx, si
je 0x140006942
cmp bx, dx
jne 0x140006965
cmp bx, si
mov r11, rax
cmove r11, rcx
add r11, rdi
mov rax, r11
mov qword [rsp + 0x78], r11
movzx ebx, word [r11]
test bx, bx
je 0x140006965
mov rcx, rax
jmp 0x140006938
mov r15d, 1
mov rsi, qword [0x140010b50]
lea rdx, str.RUVEH_IJDqXFAtPYZlgmnc
mov r9d, 0x52
test bx, bx
je 0x140006deb
cmp bx, 0x2f
je 0x140006a12
cmp bx, 0x2d
je 0x140006a12
xor edx, edx
lea rcx, [rbp + 0x7a0]
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x7a0]
mov dword [rbp + 0x798], r14d
lea rdx, [rbp + 0x790]
mov qword [rbp + 0x790], rax
lea rcx, [rsp + 0x78]
mov dword [rbp + 0x79c], r14d
call fcn.140004eb4
test eax, eax
je 0x140006cf8
mov rdx, qword [rbp + 0x790]
call fcn.140005320
lea rcx, [rsp + 0x78]
call fcn.140009198
lea rcx, [rbp + 0x790]
movzx ebx, ax
call fcn.140001f8c
mov rsi, qword [0x140010b50]
jmp 0x140006cee
add r11, 2
mov r8d, 0x20
movzx ecx, word [r11]
or ecx, r8d
cmp r13w, word [r11]
je 0x140006a2d
add r11, 2
mov rdi, rdx
mov qword [rsp + 0x78], r11
movzx edx, r9w
movzx eax, dx
or eax, r8d
cmp eax, ecx
je 0x140006a62
add rdi, 2
movzx edx, word [rdi]
test dx, dx
jne 0x140006a39
xor edx, edx
xor ecx, ecx
call fcn.140008dd0
mov edi, 0x667
jmp 0x140006d12
cmp word [r11], r8w
ja 0x140006a7f
movzx eax, word [r11]
movabs rcx, 0x100000201
bt rcx, rax
mov r12d, r13d
jb 0x140006a82
mov r12d, r15d
lea rcx, [rsp + 0x78]
call fcn.140009198
lea rcx, [rbp + 0xba0]
mov qword [rsp + 0x68], rcx
cmp dx, 0x63
jne 0x140006aa3
test r12d, r12d
jne 0x140006a4f
cmp dx, 0x50
jne 0x140006af9
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
nop dword [rax + rax]
lea rcx, [rbp - 8]
lea edx, [rax + 0xa]
call fcn.140008ae4
test al, al
je 0x140006d8c
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x48]
mov r8d, dword [rbp]
lea rcx, [rsp + 0x78]
mov qword [rbp - 0x48], rax
call fcn.1400052dc
test al, al
je 0x140006242
mov rsi, qword [0x140010b50]
jmp 0x140006b27
cmp dx, 0x71
je 0x140006b05
cmp dx, 0x63
jne 0x140006b0a
test r12d, r12d
je 0x140006b27
mov r8d, 0x400
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.1400052dc
test al, al
je 0x140006242
lea rcx, [rsp + 0x78]
call fcn.140009198
movzx ebx, ax
movzx eax, word [rdi]
sub ax, 0x46
cmp ax, 0x2b
ja 0x140006b51
movabs rcx, 0x80000000011
bt rcx, rax
jb 0x140006b65
cmp word [rdi], 0x6c
lea r14, [rbp + 0xba0]
lea r15, [rbp + 0x13a0]
jne 0x140006bc2
lea r14, [rbp + 0xba0]
lea r15, [rbp + 0x13a0]
test r12d, r12d
je 0x140006bc2
cmp word [rdi], 0x71
lea rax, [rbp + 0x13a0]
mov qword [rsp + 0x68], rax
lea r15, [rbp + 0xba0]
lea r14, [rbp + 0x13a0]
je 0x140006bc2
mov r8d, 0x400
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.1400052dc
test al, al
je 0x140006d96
lea rcx, [rsp + 0x78]
call fcn.140009198
movzx ebx, ax
movzx eax, word [rdi]
sub ax, 0x61
cmp ax, 0x19
ja 0x140006c03
lea rcx, str.RUVEH_IJDqXFAtPYZlgmnc
sub rdi, rcx
sar rdi, 1
movabs r10, 0xfec0a6591e564070
lea rax, [0x140000000]
mov rdx, r14
mov rax, qword [rax + rdi*8 + 0xb010]
mov rcx, r15
call qword [0x14000b670]
jmp 0x140006c72
test rsi, rsi
je 0x140006c83
cmp word [rdi], 0x50
mov r12d, 0x41
jne 0x140006c53
cmp word [rsi], r12w
jne 0x140006c53
mov ecx, r12d
lea rdx, [rbp + 0x1ba0]
call fcn.140008a9c
test eax, eax
jne 0x140006a4f
lea r12d, [rax + 0x1e]
mov qword [0x140010b50], rdi
mov r9d, r12d
lea rcx, [rbp + 0xb00]
mov edx, r12d
mov r8, r15
call fcn.140009298
jmp 0x140006c7a
cmp word [rsi], 0x50
jne 0x140006a4f
cmp word [rdi], r12w
jne 0x140006a4f
mov ecx, r12d
mov rdx, r14
call fcn.140008a9c
test eax, eax
jne 0x140006a4f
mov rsi, qword [0x140010b50]
jmp 0x140006cd2
cmp word [rdi], 0x50
mov qword [0x140010b50], rdi
je 0x140006ca8
mov r9d, 0x400
lea rcx, [rbp + 0x1ba0]
mov edx, r9d
mov r8, r14
call fcn.140009298
mov edi, 0x1e
lea rcx, [rbp + 0xb00]
mov r9d, edi
mov edx, edi
mov r8, r15
call fcn.140009298
mov rsi, qword [0x140010b50]
cmp word [rsi], 0x45
je 0x140006deb
mov word [rbp + 0xba0], r13w
mov r14d, 0x104
mov word [rbp + 0x13a0], r13w
mov r15d, 1
mov r11, qword [rsp + 0x78]
jmp 0x140006972
xor edx, edx
xor ecx, ecx
call fcn.140008dd0
lea rcx, [rbp + 0x790]
mov edi, 0x667
call fcn.140001f8c
call fcn.140004a8c
cmp dword [rbp + 0x18], 0x104
jle 0x140006d30
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov ebx, 1
cmp dword [rbp], ebx
lea rax, [rbp + 0x20]
mov dword [rbp + 0x18], 0x104
mov qword [rbp + 0x10], rax
jle 0x140006d59
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp + 0x23a0]
xor rcx, rsp
call fcn.140001490
lea r11, [rsp + 0x24b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edi, 0xe
jmp 0x140006d12
xor edx, edx
xor ecx, ecx
call fcn.140008dd0
cmp dword [rbp + 0x18], 0x104
jle 0x140006db8
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov ebx, 1
mov dword [rbp + 0x18], 0x104
cmp dword [rbp], ebx
lea rax, [rbp + 0x20]
mov qword [rbp + 0x10], rax
jle 0x140006de1
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov eax, 0x667
jmp 0x140006d5b
mov edi, r13d
test rsi, rsi
je 0x140006f41
movzx eax, word [rsi]
cmp ax, 0x45
je 0x140006e1a
sub ax, 0x59
mov ebx, 1
cmp ax, bx
jbe 0x140006e1a
call fcn.140004a8c
mov rsi, qword [0x140010b50]
mov rax, rsi
lea rcx, str.RUVEH_IJDqXFAtPYZlgmnc
sub rax, rcx
lea rdx, [rbp + 0x1ba0]
sar rax, 1
cmp word [rsi], 0x50
cmove rdx, qword [rbp - 8]
movabs r10, 0xfec0a6591e564070
lea r14, [0x140000000]
mov rax, qword [r14 + rax*8 + 0xb010]
lea rcx, [rbp + 0xb00]
call qword [0x14000b670]
mov rcx, qword [0x140010b50]
mov esi, 1
mov edi, eax
movzx eax, word [rcx]
lea ecx, [rax - 0x59]
cmp cx, si
jbe 0x140006f20
test edi, edi
jne 0x140006ea4
cmp ax, 0x45
jne 0x140006e94
mov eax, esi
mov dword [0x140010c14], eax
jmp 0x140006f7c
mov eax, dword [0x140010c14]
mov ebx, esi
mov dword [rbp - 0x74], ebx
jmp 0x140006f8a
cmp edi, 0x8000
jne 0x140006ebd
mov eax, r13d
mov edi, r13d
mov dword [0x140010c14], eax
jmp 0x140006f7c
mov eax, 0x4eb
cmp edi, eax
jg 0x140006ef8
je 0x140006f6e
cmp edi, 0xfffffffe
je 0x140006f6e
cmp edi, 0xffffffff
je 0x140006f6e
mov eax, 2
cmp edi, eax
je 0x140006ef1
cmp edi, 3
je 0x140006ef1
cmp edi, 0x7b
jne 0x140006f17
mov edi, 0x653
jmp 0x140006f17
mov ecx, edi
sub ecx, 0x642
je 0x140006f6e
sub ecx, esi
je 0x140006f6e
sub ecx, esi
je 0x140006f6e
sub ecx, 0x25
je 0x140006f6e
cmp ecx, 0x559
je 0x140006f6e
mov ecx, edi
call fcn.140002f1c
jmp 0x140006f6e
cmp dword [rbp + 0x18], 0x104
jle 0x140006f39
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
cmp dword [rbp], esi
jmp 0x140006d38
call fcn.140004a8c
cmp qword [0x140010b50], r13
jne 0x140006f62
xor edx, edx
xor ecx, ecx
call fcn.140008dd0
mov edi, 0x667
jmp 0x140006d17
mov esi, 1
lea r14, [0x140000000]
test edi, edi
jne 0x140006d17
mov eax, dword [0x140010c14]
mov ebx, r13d
mov dword [rbp - 0x74], ebx
test eax, eax
je 0x140006d17
test eax, eax
je 0x140006fab
movabs r10, 0xe0948e0d50584070
mov rax, qword [0x14000f030]
xor edx, edx
xor ecx, ecx
call qword [0x14000b670]
jmp 0x140006fc5
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
nop dword [rax + rax]
lea rcx, str.OLEAUT32.dll
call fcn.14000a1f0
test ebx, ebx
je 0x14000702a
cmp dword [0x140010c14], r13d
jne 0x14000703a
mov ebx, r13d
cmp ebx, esi
jge 0x14000702a
movsxd rcx, ebx
lea r8, [0x14000cc78]
mov r9d, esi
lea rax, [rcx*4 + 0x1075c]
lea rdx, [rcx*8 + 0xf0a8]
add rax, r14
shl rcx, 4
add rdx, r14
add rcx, r8
mov qword [rsp + 0x20], rax
mov r8d, 4
call qword [sym.imp.ole32.dll_CoRegisterClassObject]
nop dword [rax + rax]
test eax, eax
jne 0x140007022
add ebx, esi
jmp 0x140006fd5
mov r12d, esi
mov dword [rbp - 0x68], esi
jmp 0x14000702d
mov r12d, r13d
cmp dword [0x140010c14], r13d
je 0x140007f99
mov rax, qword gs:[0x60]
mov ebx, 0x41
mov r10, qword [rsp + 0x78]
xorps xmm0, xmm0
mov r8d, r13d
mov rcx, qword [rax + 0x20]
lea r11d, [rbx - 0x3f]
bts dword [rcx + 8], 0x13
movups xmmword [rbp + 0x9d0], xmm0
movzx ecx, word [r10]
mov edx, 9
lea eax, [rcx - 0x30]
cmp ax, dx
ja 0x140007080
mov eax, ecx
lea r9d, [rcx - 0x30]
jmp 0x140007093
movzx eax, cx
sub ax, bx
cmp ax, 5
ja 0x1400070f7
lea r9d, [rcx - 0x37]
mov eax, r9d
shl eax, 4
test sil, r8b
cmove r9d, eax
cmp r8d, 0x20
jge 0x1400070bd
mov eax, r8d
add r8d, esi
cdq
idiv r11d
movsxd rcx, eax
or byte [rbp + rcx + 0x9d0], r9b
add r10, r11
jmp 0x140007067
lea rcx, str.ServerMain__CA_:_Wrong_command_line
mov edx, 0x57
call fcn.140005934
cmp dword [rbp + 0x18], 0x104
jle 0x1400070e7
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
cmp dword [rbp], esi
lea rax, [rbp + 0x20]
mov qword [rbp + 0x10], rax
jmp 0x140007f5c
cmp r8d, 0x20
je 0x140007106
lea rcx, str.ServerMain__CA_:_Parsing_command_line_failed
jmp 0x1400070c4
mov byte [rsp + 0x61], r13b
mov r14b, r13b
mov byte [rsp + 0x60], r13b
mov r12b, r13b
mov byte [rsp + 0x70], r13b
mov r15b, r13b
test cx, cx
je 0x14000712a
add r10, r11
movzx ecx, word [r10]
cmp cx, 0x43
jne 0x14000713e
mov ebx, 1
mov byte [rsp + 0x61], bl
jmp 0x14000722b
cmp cx, 0x55
jne 0x140007157
mov eax, 1
mov byte [rsp + 0x61], al
mov r15b, al
mov ebx, eax
jmp 0x14000722b
cmp cx, bx
jne 0x14000716d
mov ebx, 1
mov r13b, bl
mov byte [rsp + 0x70], bl
jmp 0x14000722b
cmp cx, 0x4d
je 0x140007193
mov eax, 0x52
cmp cx, ax
je 0x14000718c
cmp cx, 0x45
jne 0x140007226
lea esi, [rax - 0x51]
jmp 0x1400071a3
mov esi, 1
jmp 0x14000719b
mov esi, 1
mov r14b, sil
mov byte [rsp + 0x60], sil
mov r12b, sil
lea r8, [r10 + 4]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenEventW]
nop dword [rax + rax]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140007f7f
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
mov rcx, rbx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test esi, esi
je 0x140007226
mov edx, esi
lea rcx, str.ServerMain__CA_:_Wait_on_synchronization_event_failed
call fcn.140005934
cmp dword [rbp + 0x18], 0x104
jle 0x140007219
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
lea rax, [rbp + 0x20]
mov qword [rbp + 0x10], rax
jmp 0x140007f54
mov ebx, 1
or qword [rbp + 0x9b8], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
nop dword [rax + rax]
lea r9, [rbp + 0x9b8]
mov r8d, ebx
mov rcx, rax
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
nop dword [rax + rax]
test eax, eax
jne 0x1400072b0
or qword [rbp + 0x9b8], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x3f0
je 0x1400072b0
mov edx, eax
lea rcx, str.ServerMain__CA_:_Access_to_token_failed
call fcn.140005934
cmp dword [rbp + 0x18], 0x104
jle 0x1400072a3
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
lea rax, [rbp + 0x20]
mov qword [rbp + 0x10], rax
jmp 0x140007f59
test r14b, r14b
jne 0x1400072c1
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
nop dword [rax + rax]
mov rbx, 0xffffffff80000001
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
nop dword [rax + rax]
test r14b, r14b
je 0x1400072ff
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
nop dword [rax + rax]
xor r14d, r14d
cmp byte [0x1400110da], r14b
mov esi, r14d
setne sil
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop dword [rax + rax]
mov rcx, rax
lea r8, [rbp - 0x48]
lea edx, [r14 + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop dword [rax + rax]
test eax, eax
je 0x1400073e7
lea rcx, [rsp + 0x68]
call fcn.1400038c8
test eax, eax
jne 0x1400073cf
mov rcx, qword [rbp - 0x48]
lea rax, [rbp + 0x9c8]
lea ebx, [r14 + 1]
mov qword [rsp + 0x20], rax
mov edx, ebx
lea r9d, [r14 + 0x58]
lea r8, [rbp + 0xb40]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
nop dword [rax + rax]
test eax, eax
je 0x1400073cf
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rbp + 0xb40]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
je 0x1400073c1
cmp byte [0x1400110da], r14b
je 0x1400073b2
movzx eax, r12b
xor eax, ebx
lea esi, [rax*2 + 3]
jmp 0x1400073cf
mov al, r12b
neg al
sbb esi, esi
and esi, 0xfffffffe
add esi, 4
jmp 0x1400073cf
cmp byte [0x1400110da], r14b
mov esi, r14d
setne sil
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov r12d, 0x104
jmp 0x140007428
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x790]
mov r8d, 0x208
mov ebx, eax
call sub.msvcrt.dll_memset
mov r12d, 0x104
lea r8, str.OpenProcessToken_failed_with__d
mov edx, r12d
lea rcx, [rbp + 0x790]
mov r9d, ebx
call fcn.1400093d0
test r15b, r15b
je 0x140007446
mov ebx, 1
cmp esi, ebx
jne 0x14000743d
lea ecx, [rbx + 8]
mov esi, ecx
jmp 0x14000744b
test esi, esi
jne 0x14000746e
mov esi, 8
mov ecx, 9
test r13b, r13b
mov r13d, 1
je 0x1400074f1
test esi, esi
jne 0x1400074a9
lea esi, [r13 + 5]
mov dword [rbp - 0x78], 0x100
jmp 0x14000751c
mov edx, 0x57
lea rcx, str.ServerMain__CA_:_Error:_icacContext_in_CA_server_should_be_EEUI_but_is_not_any_impersonated_type
call fcn.140005934
cmp dword [rbp + 0x18], r12d
jle 0x140007495
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
cmp dword [rbp], ebx
lea rax, [rbp + 0x20]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], r12d
jmp 0x140007f63
cmp esi, r13d
jne 0x1400074b5
mov esi, 7
jmp 0x140007462
mov edx, 0x57
lea rcx, str.ServerMain__CA_:_Error:_icacContext_in_CA_server_should_be_AISImpersonated_but_is_not_any_impersonated_type
call fcn.140005934
cmp dword [rbp + 0x18], r12d
jle 0x1400074dc
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
cmp dword [rbp], r13d
lea rax, [rbp + 0x20]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], r12d
jmp 0x140007f63
mov dword [rbp - 0x78], 0x100
mov eax, esi
test esi, esi
je 0x14000751c
cmp eax, r13d
je 0x14000751c
cmp eax, 6
je 0x14000751c
cmp eax, 7
je 0x14000751c
cmp eax, 8
je 0x14000751c
mov r8d, 3
cmp eax, ecx
jne 0x140007527
mov r15d, 2
mov r8d, r15d
jmp 0x14000752d
mov r15d, 2
xor r9d, r9d
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0xa00]
call fcn.140003f08
mov ebx, eax
test eax, eax
je 0x140007590
mov rcx, qword [rbp + 0x9b8]
cmp rcx, 0xffffffffffffffff
je 0x14000755f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov edx, ebx
lea rcx, str.ServerMain__CA_:_Error:_Access_to_SD
call fcn.140005934
cmp dword [rbp + 0x18], r12d
jle 0x140007583
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
cmp dword [rbp], r13d
mov dword [rbp + 0x18], r12d
jmp 0x140006869
mov edx, dword [rbp - 0x78]
lea rcx, [rbp + 0x350]
mov dword [rbp - 0x40], edx
mov dword [rbp - 0x50], edx
mov dword [rbp - 0x54], edx
mov dword [rbp - 0x58], edx
mov dword [rbp - 0x5c], edx
call fcn.140001de4
mov edx, dword [rbp - 0x50]
lea rcx, [rbp + 0x230]
call fcn.140001de4
mov edx, dword [rbp - 0x54]
lea rcx, [rbp + 0x680]
call fcn.140001de4
mov edx, dword [rbp - 0x58]
lea rcx, [rbp + 0x570]
call fcn.140001de4
mov edx, dword [rbp - 0x5c]
lea rcx, [rbp + 0x460]
call fcn.140001de4
mov r9, qword [rbp + 0x230]
lea rax, [rbp - 0x5c]
mov rdx, qword [rbp + 0x350]
lea r8, [rbp - 0x40]
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0xa00]
mov rax, qword [rbp + 0x460]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x570]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x54]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x680]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_MakeAbsoluteSD]
nop dword [rax + rax]
test eax, eax
jne 0x1400076d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x9b8]
mov ebx, eax
cmp rcx, 0xffffffffffffffff
je 0x140007682
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov edx, ebx
lea rcx, str.ServerMain__CA_:_Error:_Format_SD
call fcn.140005934
lea rcx, [rbp + 0x460]
call fcn.140001f44
lea rcx, [rbp + 0x570]
call fcn.140001f44
lea rcx, [rbp + 0x680]
call fcn.140001f44
lea rcx, [rbp + 0x230]
call fcn.140001f44
lea rcx, [rbp + 0x350]
call fcn.140001f44
jmp 0x14000756d
movabs r10, 0xb25c1fa67cd7f270
mov rcx, qword [rbp + 0x350]
xor r9d, r9d
mov rax, qword [0x14000f038]
xor r8d, r8d
mov qword [rsp + 0x40], r14
or edx, 0xffffffff
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
call qword [0x14000b670]
mov ebx, eax
test eax, eax
je 0x140007782
mov rcx, qword [rbp + 0x9b8]
cmp rcx, 0xffffffffffffffff
je 0x140007733
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov edx, ebx
lea rcx, str.ServerMain__CA_:_CoInitializeSecurity_failed
call fcn.140005934
lea rcx, [rbp + 0x460]
call fcn.140001f44
lea rcx, [rbp + 0x570]
call fcn.140001f44
lea rcx, [rbp + 0x680]
call fcn.140001f44
lea rcx, [rbp + 0x230]
call fcn.140001f44
lea rcx, [rbp + 0x350]
call fcn.140001f44
jmp 0x1400074c6
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov r15, rax
test rax, rax
jne 0x1400077d4
mov rcx, qword [rbp + 0x9b8]
cmp rcx, 0xffffffffffffffff
je 0x1400077ba
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, eax
lea rcx, str.ServerMain__CA_:_Error:_Watch_for_the_shutdown_signal
jmp 0x14000773c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov r12, rax
test rax, rax
jne 0x14000788f
mov rcx, qword [rbp + 0x9b8]
cmp rcx, 0xffffffffffffffff
je 0x14000780f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, eax
lea rcx, str.ServerMain__CA_:_Error:_Watch_for_change_of_owning_process_signal
call fcn.140005934
lea rcx, [rbp + 0x460]
call fcn.140001f44
lea rcx, [rbp + 0x570]
call fcn.140001f44
lea rcx, [rbp + 0x680]
call fcn.140001f44
lea rcx, [rbp + 0x230]
call fcn.140001f44
lea rcx, [rbp + 0x350]
call fcn.140001f44
cmp dword [rbp + 0x18], 0x104
jle 0x14000787e
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
cmp dword [rbp], r13d
lea rax, [rbp + 0x20]
mov qword [rbp + 0x10], rax
jmp 0x140007f5c
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x70], r14
mov qword [rbp + 0x9b0], r14
call fcn.140002c84
mov qword [rsp + 0x68], rax
mov rbx, rax
test rax, rax
jne 0x1400078fe
mov rcx, qword [rbp + 0x9b8]
cmp rcx, 0xffffffffffffffff
je 0x1400078c9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea rcx, str.ServerMain__CA_:_Connection_to_Service_failed.
mov edx, 0x641
call fcn.140005934
lea rcx, [rsp + 0x68]
call fcn.140001f14
lea rcx, [rbp + 0x9b0]
call fcn.140001f14
lea rcx, [rbp - 0x70]
call fcn.140001f14
jmp 0x140007829
mov dword [rbp - 0x60], r14d
mov dword [rbp - 0x4c], r14d
call fcn.140002a08
mov r14, rax
test rax, rax
jne 0x140007935
mov rcx, qword [rbp + 0x9b8]
cmp rcx, 0xffffffffffffffff
je 0x14000792c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea rcx, str.ServerMain__CA_:_Create_Custom_Action_Server_failed.
jmp 0x1400078d0
mov rax, qword [rax]
mov rcx, qword [rbp - 0x70]
mov r13, qword [rax]
test rcx, rcx
je 0x14000795b
mov rdx, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rdx + 0x10]
call qword [0x14000b670]
movabs r10, 0xdee01e7974d59970
lea r8, [rbp - 0x70]
mov rcx, r14
lea rdx, [0x14000ccb0]
mov rax, r13
call qword [0x14000b670]
mov rax, qword [r14]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
mov rcx, r14
call qword [0x14000b670]
mov rcx, qword [rbp + 0x9b0]
xor r13d, r13d
mov dword [rbp - 0x64], esi
mov rax, qword [rbx]
mov r14, qword [rax + 0x70]
test rcx, rcx
je 0x1400079c6
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14000b670]
movabs r10, 0xf9218e5958547970
mov rcx, qword [rbp - 0x70]
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x38], rax
lea r8, [rbp + 0x9d0]
lea rax, [rbp + 0x9b0]
mov r9d, 0x10
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x64]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov rax, r14
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call qword [0x14000b670]
test eax, eax
je 0x140007aa6
mov rcx, qword [rbp + 0x9b8]
cmp rcx, 0xffffffffffffffff
je 0x140007a35
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea rcx, str.ServerMain__CA_:_Process_not_registered_with_service.
mov edx, 0x641
call fcn.140005934
lea rcx, [rsp + 0x68]
call fcn.140001f14
lea rcx, [rbp + 0x9b0]
call fcn.140001f14
lea rcx, [rbp - 0x70]
call fcn.140001f14
lea rcx, [rbp + 0x460]
call fcn.140001f44
lea rcx, [rbp + 0x570]
call fcn.140001f44
lea rcx, [rbp + 0x680]
call fcn.140001f44
lea rcx, [rbp + 0x230]
call fcn.140001f44
lea rcx, [rbp + 0x350]
call fcn.140001f44
jmp 0x140007200
mov r8d, dword [rbp - 0x60]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x140007af8
mov rcx, qword [rbp + 0x9b8]
cmp rcx, 0xffffffffffffffff
je 0x140007ade
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, eax
lea rcx, str.ServerMain__CA_:_Could_not_open_synchronization_handle.
jmp 0x140007a41
movabs r10, 0x89713e9c58dc2070
mov rcx, qword [rbp + 0x9b0]
mov rax, qword [0x14000f048]
call qword [0x14000b670]
test eax, eax
jne 0x140007b3f
mov rcx, qword [rbp + 0x9b8]
cmp rcx, 0xffffffffffffffff
je 0x140007b33
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea rcx, str.ServerMain__CA_:_Connect_to_remote_object_failed.
jmp 0x140007a3c
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
movabs r10, 0xdee01e7974d59970
mov rax, qword [rax]
lea r8, [rbp - 0x80]
lea rdx, [0x14000cd40]
call qword [0x14000b670]
mov rdx, r13
mov r14d, 1
cmp esi, dword [rbp - 0x64]
jne 0x140007b7a
lea eax, [rsi - 8]
cmp eax, r14d
ja 0x140007b7e
lea rdx, [rbp - 0x64]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
movabs r10, 0xa5e517ed34589370
mov rax, qword [rax + 0x140]
lea r8, [rbp + 0x9d0]
call qword [0x14000b670]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
movabs r10, 0xc088865f3adc0a70
mov rax, qword [rax + 0x150]
mov rdx, r15
call qword [0x14000b670]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
movabs r10, 0xb195a7073ed57170
mov rax, qword [rax + 0x158]
mov rdx, r12
call qword [0x14000b670]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
movabs r10, 0xd190276570d97270
mov rdx, qword [rbp + 0x9b8]
mov r9b, byte [rsp + 0x70]
mov r8b, byte [rsp + 0x61]
mov rax, qword [rax + 0x148]
mov qword [rsp + 0x30], rdx
mov edx, dword [rbp - 0x4c]
mov dword [rsp + 0x28], edx
mov dl, byte [rsp + 0x60]
mov byte [rsp + 0x20], dl
mov edx, dword [rbp - 0x60]
call qword [0x14000b670]
mov rcx, qword [rbp + 0x9b8]
mov esi, eax
cmp rcx, 0xffffffffffffffff
je 0x140007c4e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
or qword [rbp + 0x9b8], 0xffffffffffffffff
test esi, esi
je 0x140007cec
mov edx, 0x641
lea rcx, str.ServerMain__CA_:_Impersonation_token_not_saved.
call fcn.140005934
lea rcx, [rsp + 0x68]
call fcn.140001f14
lea rcx, [rbp + 0x9b0]
call fcn.140001f14
lea rcx, [rbp - 0x70]
call fcn.140001f14
lea rcx, [rbp + 0x460]
call fcn.140001f44
lea rcx, [rbp + 0x570]
call fcn.140001f44
lea rcx, [rbp + 0x680]
call fcn.140001f44
lea rcx, [rbp + 0x230]
call fcn.140001f44
lea rcx, [rbp + 0x350]
call fcn.140001f44
cmp dword [rbp + 0x18], 0x104
jle 0x140007cdb
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
cmp dword [rbp], r14d
lea rax, [rbp + 0x20]
mov qword [rbp + 0x10], rax
jmp 0x140007f5c
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
movabs r10, 0xab612fba3ad29870
mov rdx, qword [rbp + 0x9b0]
mov rax, qword [rax + 0x138]
call qword [0x14000b670]
lea rcx, [rsp + 0x68]
call fcn.140001f14
lea rcx, [rbp + 0x9b0]
call fcn.140001f14
lea rcx, [rbp - 0x70]
call fcn.140001f14
mov qword [rbp + 0x9e0], rbx
mov qword [rbp + 0x9e8], r15
mov qword [rbp + 0x9f0], r12
xor r8d, r8d
mov dword [rsp + 0x20], 0x1cff
or r9d, 0xffffffff
lea rdx, [rbp + 0x9e0]
lea ecx, [r8 + 3]
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
nop dword [rax + rax]
test eax, eax
je 0x140007e85
cmp eax, r14d
je 0x140007e76
mov ecx, 2
cmp eax, ecx
jne 0x140007de8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x80]
mov dword [rsp + 0x78], r13d
mov rax, qword [rcx]
movabs r10, 0xed5c3ea87c5b3870
mov rax, qword [rax + 0x160]
lea rdx, [rsp + 0x78]
call qword [0x14000b670]
mov r8d, dword [rsp + 0x78]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140007e3e
mov qword [rbp + 0x9e0], rax
jmp 0x140007d45
cmp eax, 3
jne 0x140007e85
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rcx, [rbp - 0x38]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
nop dword [rax + rax]
test eax, eax
je 0x140007d45
cmp dword [rbp - 0x30], 0x12
je 0x140007e85
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
nop dword [rax + rax]
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [rax + rax]
jmp 0x140007df1
mov rcx, qword [rbp + 0x9b8]
cmp rcx, 0xffffffffffffffff
je 0x140007e57
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, eax
lea rcx, str.ServerMain__CA_:_Could_not_open_synchronization_handle.
call fcn.140005934
jmp 0x140007c86
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14000b670]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea rcx, [rbp + 0x460]
call fcn.140001f44
lea rcx, [rbp + 0x570]
call fcn.140001f44
lea rcx, [rbp + 0x680]
call fcn.140001f44
lea rcx, [rbp + 0x230]
call fcn.140001f44
lea rcx, [rbp + 0x350]
call fcn.140001f44
mov r12d, dword [rbp - 0x68]
cmp dword [rbp - 0x74], r13d
je 0x140007f14
cmp dword [0x140010c14], r13d
jne 0x140007f14
mov ecx, dword [0x14001075c]
test ecx, ecx
je 0x140007f14
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
nop dword [rax + rax]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop dword [rax + rax]
test r12d, r12d
je 0x140006d17
mov ecx, 0x641
call fcn.140002f1c
cmp dword [rbp + 0x18], 0x104
jle 0x140007f4c
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x10], rcx
mov ebx, 1
cmp dword [rbp], ebx
mov dword [rbp + 0x18], 0x104
jle 0x140007f75
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov eax, 0x641
jmp 0x140006d5b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, eax
lea rcx, str.ServerMain__CA_:_Open_synchronization_event_failed
jmp 0x1400070c9
xor r9d, r9d
lea rcx, [rbp - 0x38]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
nop dword [rax + rax]
test eax, eax
jne 0x140007fcf
cmp dword [0x140010eb0], r13d
je 0x140007eef
cmp dword [0x140010c10], r13d
je 0x140007eef
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
nop dword [rax + rax]
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [rax + rax]
jmp 0x140007f99