Function at 0x140008c30
Capabilities:
Delete registry value
Get thread local storage value
Get token membership
Query or enumerate registry value
Terminate process

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400b5778]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r15, qword [rbp + 0x120]
xor eax, eax
mov dword [rsp + 0x64], r9d
mov r13, r8
mov qword [rbp - 0x38], r15
mov r12d, edx
mov qword [rbp - 0x70], rax
mov rsi, rcx
mov qword [rbp - 0x68], rax
mov r14d, eax
mov qword [rbp - 0x80], rax
mov edi, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x60], eax
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x6c], eax
mov dword [rbp - 0x58], eax
test rcx, rcx
je 0x14001d6c6
cmp dword [rcx], 0x6060
jne 0x14001d6c6
mov qword [rsp + 0x1b8], rbx
mov ebx, r9d
test r8, r8
je 0x14000928b
test byte [0x1400b7240], 2
jne 0x14001cd6e
cmp r12d, 2
je 0x140008e16
mov eax, r12d
sub eax, 8
je 0x14001ce7c
cmp eax, 1
je 0x14001cd97
mov ebx, edi
mov edx, dword [rsp + 0x64]
xor r8d, r8d
mov rax, qword [rsi + 8]
mov ecx, edx
sub ecx, dword [rsp + 0x78]
mov r9d, r8d
cmp edx, dword [rsp + 0x78]
mov r8, r13
mov edx, r12d
mov qword [rsp + 0x20], r15
mov rax, qword [rax + 0x58]
cmovae r9d, ecx
mov rcx, qword [rsi + 0x10]
and r9d, 0xfffffff8
call qword [0x1400978a8]
mov ecx, dword [r15]
mov edi, eax
add ecx, 7
and ecx, 0xfffffff8
add ecx, ebx
add ecx, dword [rsp + 0x78]
mov dword [r15], ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r11, qword [rbp - 0x70]
mov ebx, eax
cmp eax, 0x7a
jne 0x1400092c6
mov r9d, dword [rsp + 0x78]
test r9d, r9d
jne 0x14001d549
mov rax, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
jne 0x14001d652
mov rcx, qword [0x1400b7220]
mov r8, r14
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov r8, qword [rbp - 0x48]
xor edx, edx
mov rcx, qword [0x1400b7220]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov r8, qword [rbp - 0x50]
xor edx, edx
mov rcx, qword [0x1400b7220]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
test edi, edi
je 0x14000927d
test byte [0x1400b7240], 2
jne 0x14001d6a9
mov eax, edi
mov rbx, qword [rsp + 0x1b8]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400126a0
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp qword [rsi + 0x48], rdi
je 0x140008cf3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [0x1400b7250]
mov edi, eax
cmp ecx, 0xffffffff
je 0x14001cf2f
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
nop dword [rax + rax]
lea rdx, [rsp + 0x7c]
mov rcx, rax
call qword [sym.imp.RPCRT4.dll_I_RpcBindingInqTransportType]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14001cf36
cmp dword [rsp + 0x7c], 4
jne 0x14001cf5c
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThread]
nop dword [rax + rax]
mov rcx, rax
lea r9, [rsp + 0x70]
lea edx, [rbx + 8]
lea r8d, [rbx + 1]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenThreadToken]
nop dword [rax + rax]
test eax, eax
je 0x14001cfb8
xor ebx, ebx
mov dword [rbp - 0x20], r14d
lea rax, [rbp - 0x80]
mov word [rbp - 0x1c], 0x500
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x20]
mov dword [rsp + 0x48], ebx
xor r9d, r9d
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 2]
mov dword [rsp + 0x38], ebx
mov dl, 1
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov qword [rbp - 0x80], rbx
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AllocateAndInitializeSid]
nop dword [rax + rax]
test eax, eax
je 0x14001cf94
mov rdx, qword [rbp - 0x80]
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
nop dword [rax + rax]
test eax, eax
je 0x14001cf70
cmp dword [rsp + 0x60], ebx
jne 0x14001cf66
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_FreeSid]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov ecx, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
test ebx, ebx
js 0x14001cfe2
jne 0x14001d02b
mov rcx, qword [rsi + 0x48]
lea rdx, str._DrvConvert
call qword [sym.imp.msvcrt.dll_wcsstr]
nop dword [rax + rax]
test rax, rax
jne 0x14001d02b
mov ecx, dword [0x1400b59e8]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
nop dword [rax + rax]
cmp rax, 2
je 0x14001d02b
mov rax, qword [rsi + 0x48]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14001d01a
xor eax, eax
mov byte [rbp - 0x28], r14b
mov r15d, eax
mov dword [rbp - 0x20], eax
mov dword [rsp + 0x60], eax
mov ebx, eax
mov qword [rbp - 0x30], rax
mov edi, eax
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x70], 0xffffffffffffffff
mov qword [rbp - 0x78], 0xffffffffffffffff
mov dword [rsp + 0x7c], 0x58
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThread]
nop dword [rax + rax]
mov rcx, rax
lea r9, [rsp + 0x70]
lea edx, [rbx + 0xe]
lea r8d, [rbx + 1]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenThreadToken]
nop dword [rax + rax]
test eax, eax
je 0x1400090e4
xor edx, edx
lea r8d, [rbx + 0x58]
lea rcx, [rbp - 0x10]
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x14001d033
mov r9d, dword [rsp + 0x7c]
lea rax, [rsp + 0x7c]
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov edx, 0x19
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetTokenInformation]
nop dword [rax + rax]
test eax, eax
je 0x14001d03c
mov rcx, qword [rbp - 0x10]
mov edx, 0x42
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_IsWellKnownSid]
nop dword [rax + rax]
test eax, eax
jne 0x14001d04e
call qword [sym.imp.KERNELBASE.dll_GetIsEdpEnabled]
nop dword [rax + rax]
mov edi, eax
cmp dword [rsp + 0x68], ebx
jne 0x14001d05b
test eax, eax
jne 0x14001d05b
mov edi, dword [rsp + 0x68]
mov eax, ebx
cmp qword [rbp - 0x78], 0xffffffffffffffff
mov r15d, 1
jne 0x14001d1de
test eax, eax
jne 0x14001d132
test r15d, r15d
je 0x1400090d9
mov rcx, qword [rsp + 0x70]
mov rbx, 0xffffffffffffffff
cmp rcx, rbx
je 0x1400090d5
mov rbx, rcx
mov qword [rsp + 0x70], 0xffffffffffffffff
mov qword [rbp - 0x30], rbx
mov eax, dword [rbp - 0x20]
test eax, eax
jne 0x14001d221
mov rcx, qword [rbp - 0x78]
cmp rcx, 0xffffffffffffffff
jne 0x14001d235
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
jne 0x14001d24e
test r15d, r15d
je 0x14000910e
test edi, edi
jne 0x14001d260
xor r15d, r15d
lea rdx, [rsp + 0x70]
mov ecx, 0x2001f
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
mov qword [rsp + 0x70], r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenCurrentUser]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x14001d269
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x14001d2d0
mov rax, qword [rbp - 0x40]
cmp word [rax], 0x5c
je 0x140009299
lea rax, [rsp + 0x7c]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, [0x1400995e0]
lea rax, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, rdi
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov r15d, eax
test eax, eax
jne 0x1400091aa
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x78], rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test r15d, r15d
jne 0x14001d317
xor ecx, ecx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rcx
xor r9d, r9d
mov qword [rsp + 0x50], rcx
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x14000921c
mov ecx, dword [rsp + 0x60]
cmp ecx, 0x48
jae 0x14001d339
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test edi, edi
jne 0x14001d40f
cmp rbx, 0xffffffffffffffff
je 0x140009267
test rbx, rbx
je 0x140009258
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SetThreadToken]
nop dword [rax + rax]
test eax, eax
je 0x14001d462
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test r14, r14
jne 0x14001d474
mov r15, qword [rbp - 0x38]
mov ebx, dword [rsp + 0x6c]
jmp 0x140008cf5
cmp ebx, 0x7a
je 0x140008ddc
jmp 0x14001d667
test r9d, r9d
je 0x140008cc7
jmp 0x14001cd56
cmp word [rax + 2], 0x5c
jne 0x14000915a
lea r8, [rbp - 0x80]
mov rdx, rax
mov rcx, rdi
call fcn.140008720
mov r15d, eax
test eax, eax
je 0x14001d30b
xor r15d, r15d
jmp 0x14000915a
cmp r12d, 9
jne 0x140008d5d
jmp 0x14001d523
mov ecx, 0x6f8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x140008deb
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r8, qword [rsi + 0x48]
lea rdx, [0x1400a54c8]
mov r9d, r12d
mov dword [rsp + 0x20], eax
call fcn.140062914
nop
jmp 0x140008cd4
cmp qword [rsi + 0x48], rdi
jne 0x14001cdd5
mov ecx, 6
jmp 0x14001cda9
mov ecx, 0x32
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
test byte [0x1400b7240], 2
je 0x14001cd67
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r9d, 9
jmp 0x14001ceb2
call sym.spoolsv.exe_PrvCheckLocalCall
test eax, eax
jne 0x14001cda4
mov dword [r15], 8
lea r8, [rbp - 0x80]
mov rdx, qword [rsi + 0x48]
call fcn.14006d278
mov r14, qword [rbp - 0x80]
test eax, eax
je 0x14001ce1b
mov rcx, r14
mov qword [rbp - 0x70], rcx
test r14, r14
je 0x14001ce1e
movzx edx, word [r14 + 0x46]
movzx eax, word [r14 + 0x44]
add edx, eax
add dword [r15], edx
mov qword [rbp - 0x60], rdx
jmp 0x14001ce1e
mov rcx, rdi
cmp ebx, dword [r15]
jb 0x14001ce59
mov edi, 1
test rcx, rcx
je 0x14001ce70
lea rax, [r13 + 8]
mov rcx, rsi
mov qword [rbp - 0x68], rax
mov qword [r13], rax
call fcn.14006204c
mov qword [rbp - 0x48], rax
test rax, rax
jne 0x140008d42
xor r8d, r8d
mov edi, r8d
jmp 0x140008d42
mov ecx, 0x7a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
nop
jmp 0x140008d42
xor r8d, r8d
mov qword [r13], r8
jmp 0x140008d42
cmp qword [rsi + 0x48], rdi
jne 0x14001cecb
mov ecx, 2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
test byte [0x1400b7240], 2
je 0x14001cd67
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r9d, 8
mov r8, qword [rsi + 0x48]
lea rdx, [0x1400a5368]
mov dword [rsp + 0x20], eax
call fcn.140062914
jmp 0x14001cd67
mov rcx, rsi
mov dword [r15], 8
call fcn.14006204c
mov qword [rbp - 0x48], rax
test rax, rax
je 0x140008d42
mov rcx, qword [rax + 0x38]
mov qword [rbp - 0x70], rcx
test rcx, rcx
je 0x14001cf05
movzx edx, word [rcx + 0x46]
movzx eax, word [rcx + 0x44]
add edx, eax
add dword [r15], edx
mov qword [rbp - 0x60], rdx
mov eax, dword [r15]
cmp ebx, eax
jb 0x14001ce59
mov edi, 1
test rcx, rcx
je 0x14001ce70
lea rax, [r13 + 8]
mov qword [rbp - 0x68], rax
mov qword [r13], rax
jmp 0x140008d42
xor eax, eax
jmp 0x140008e49
cmp eax, 0x6bd
je 0x14001cf53
test eax, eax
jle 0x140008f40
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140008f40
xor eax, eax
mov ebx, eax
jmp 0x140008f40
mov ebx, 1
jmp 0x140008f40
mov ebx, 1
jmp 0x140008f1f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140008f1f
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140008f1f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140008f2f
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140008f2f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14001cfd3
movzx ebx, ax
or ebx, 0x80070000
cmp ebx, 0x800703f0
cmove ebx, r14d
jmp 0x140008f40
mov rcx, qword [0x1400b52f8]
lea rax, [0x1400b52f8]
cmp rcx, rax
je 0x14001d013
test byte [rcx + 0x44], 0x20
je 0x14001d013
mov rcx, qword [rcx + 0x38]
lea r8, [0x14009b640]
mov edx, 0x12
mov r9d, ebx
call fcn.14002d778
test ebx, ebx
jmp 0x140008f56
mov ecx, 6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov ebx, r14d
jmp 0x140008cf5
xor eax, eax
mov ecx, eax
jmp 0x14000902b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
nop
jmp 0x1400090dc
mov dword [rsp + 0x68], 1
jmp 0x140009074
mov rcx, qword [rsp + 0x70]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
cmp rcx, 0xffffffffffffffff
mov eax, 2
mov edx, 0x8e
cmove rcx, rbx
mov dword [rsp + 0x20], eax
xor r8d, r8d
mov r9d, eax
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_DuplicateTokenEx]
nop dword [rax + rax]
test eax, eax
jne 0x14001d0aa
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, dword [rsp + 0x68]
jmp 0x1400090dc
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_RevertToSelf]
nop dword [rax + rax]
test eax, eax
jne 0x14001d0cf
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, dword [rsp + 0x68]
jmp 0x1400090dc
mov eax, 1
mov dword [rsp + 0x60], eax
test edi, edi
je 0x14001d0f1
mov rcx, qword [rbp - 0x78]
cmp rcx, 0xffffffffffffffff
cmove rcx, rbx
call fcn.1400542b0
mov eax, dword [rsp + 0x60]
mov edi, dword [rsp + 0x68]
test edi, edi
je 0x14000909a
xor edx, edx
mov dword [rsp + 0x68], 0x44
lea r9, [rsp + 0x68]
lea r8, [rbp + 0x50]
lea ecx, [rdx + 0x43]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CreateWellKnownSid]
nop dword [rax + rax]
test eax, eax
jne 0x14001d153
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x20], eax
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xffffffffffffffff
cmove rdx, rbx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SetThreadToken]
nop dword [rax + rax]
nop
jmp 0x1400090b3
xor edx, edx
lea rcx, [rbp - 4]
lea r8d, [rdx + 0x4c]
call sub.msvcrt.dll_memset
mov rcx, qword [rbp - 0x78]
lea rax, [rbp + 0x50]
mov r9d, 0x58
mov qword [rbp - 0x10], rax
cmp rcx, 0xffffffffffffffff
mov dword [rbp - 8], 0x60
lea r8, [rbp - 0x10]
cmove rcx, rbx
lea edx, [r9 - 0x3f]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_SetTokenInformation]
nop dword [rax + rax]
test eax, eax
jne 0x14001d1ac
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x20], eax
jmp 0x14001d132
mov rcx, qword [rbp - 0x78]
cmp rcx, 0xffffffffffffffff
cmove rcx, rbx
call fcn.140073744
test eax, eax
jne 0x14001d1d5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x20], eax
jmp 0x14001d132
mov eax, dword [rsp + 0x60]
jmp 0x14000909a
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400090ab
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SetThreadToken]
nop dword [rax + rax]
test eax, eax
jne 0x1400090b8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x20], eax
xor eax, eax
mov r15d, eax
mov eax, dword [rsp + 0x60]
jmp 0x1400090ab
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
nop
jmp 0x1400090e4
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rbp - 0x78], 0xffffffffffffffff
jmp 0x1400090f2
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
nop
jmp 0x140009101
mov byte [rbp - 0x28], 1
jmp 0x14000910e
mov ecx, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
cmp edi, 5
je 0x14001d2ad
mov rcx, qword [0x1400b52f8]
lea rax, [0x1400b52f8]
cmp rcx, rax
je 0x14001d2ad
test byte [rcx + 0x44], 0x20
je 0x14001d2ad
mov rcx, qword [rcx + 0x38]
lea r8, [0x14009b640]
mov edx, 0xf
mov r9d, edi
call fcn.14002d778
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001d2c3
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rdi, r15
mov qword [rsp + 0x70], r15
jmp 0x140009143
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 5
jne 0x14001d2ee
mov ecx, 0x20019
call sym.spoolsv.exe_PrvSplGetClientUserHandle
mov rdi, rax
test rdi, rdi
jne 0x14000914c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r15d, eax
jmp 0x1400091b9
lea rax, str.DevMode
jmp 0x1400091a6
mov ecx, r15d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
jmp 0x14000922c
call sym.spoolsv.exe_PrvDllAllocSplMem
mov r14, rax
test rax, rax
jne 0x14001d359
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
jmp 0x14000921c
mov r15, qword [rbp - 0x78]
lea rax, [rsp + 0x60]
mov rcx, qword [rbp - 0x80]
mov rdx, r15
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x14001d3e3
mov edx, dword [rsp + 0x60]
mov r8d, 0x8007000d
cmp rdx, 0x4c
jb 0x14001d3b8
movzx ecx, word [r14 + 0x46]
movzx eax, word [r14 + 0x44]
add rcx, rax
cmp rdx, rcx
jb 0x14001d3b8
mov rcx, r14
call fcn.1400052e0
mov r8d, eax
mov ecx, r8d
call fcn.14000664c
mov edi, eax
test eax, eax
je 0x14001d402
mov rcx, qword [rbp - 0x80]
mov rdx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, eax
mov eax, 2
cmove edi, eax
mov rcx, qword [0x1400b7220]
mov r8, r14
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
xor eax, eax
mov r14d, eax
jmp 0x14001d404
xor eax, eax
cmp edi, 2
cmove edi, eax
jmp 0x14000921c
mov ecx, edi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
cmp edi, 5
je 0x14001d453
mov rcx, qword [0x1400b52f8]
lea rax, [0x1400b52f8]
cmp rcx, rax
je 0x14001d453
test byte [rcx + 0x44], 0x20
je 0x14001d453
mov rcx, qword [rcx + 0x38]
lea r8, [0x14009b6e8]
mov edx, 0xf
mov r9d, edi
call fcn.14002d778
lea rcx, [rbp - 0x30]
call fcn.14000b1a0
nop
jmp 0x140009267
mov ecx, 1
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
mov rcx, qword [rsi + 8]
lea rdx, str.win32spl.dll
mov qword [rbp - 0x70], r14
mov rcx, qword [rcx + 8]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
mov r15d, dword [rsp + 0x64]
test eax, eax
jne 0x14001d4ef
mov dword [rbp - 0x58], 1
test r13, r13
je 0x14001d4ef
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0x7c]
mov qword [rsp + 0x20], rcx
mov r9d, r15d
mov rcx, qword [rsi + 0x10]
mov r8, r13
mov edx, 4
mov rax, qword [rax + 0x58]
call qword [0x1400978a8]
test eax, eax
je 0x14001d4ef
mov eax, dword [r13 + 0x10]
and eax, 0x50
cmp al, 0x50
je 0x14001d4ef
lea r8, [rsp + 0x78]
mov rcx, rsi
lea rdx, [rbp - 0x50]
call fcn.14006c82c
cmp qword [rbp - 0x50], 0
jne 0x14001d50c
movzx edx, word [r14 + 0x44]
movzx ecx, word [r14 + 0x46]
add edx, 3
add edx, ecx
and edx, 0xfffffffc
mov dword [rsp + 0x78], edx
and r15d, 0xfffffffc
mov ebx, 3
mov dword [rsp + 0x64], r15d
mov r15, qword [rbp - 0x38]
jmp 0x140008cf5
test r11, r11
jne 0x140008d5d
test r13, r13
je 0x140008d5d
mov rax, qword [r13]
test rax, rax
cmovne r11, rax
mov qword [rbp - 0x70], r11
jmp 0x140008d5d
test r13, r13
je 0x140008d6b
test edi, edi
je 0x140008d6b
mov r15, qword [rbp - 0x50]
mov r10, r9
test r15, r15
jne 0x14001d588
mov r15, qword [r13 + 0x38]
test r15, r15
je 0x14001d63c
movzx r9d, word [r15 + 0x44]
movzx ecx, word [r15 + 0x46]
add r9d, 3
add r9d, ecx
and r9d, 0xfffffffc
mov r8, r11
mov rdx, r15
call fcn.14006d0d0
test eax, eax
jne 0x14001d63c
xor eax, eax
cmp dword [r11 + 0xcc], 0x34534947
mov qword [rbp - 0x68], rax
jne 0x14001d5bb
cmp dword [r15 + 0xcc], 0x34534947
jne 0x14001d628
cmp dword [rbp - 0x58], eax
jne 0x14001d5d8
mov rax, qword [0x1400b7258]
cmp qword [rsi + 8], rax
jne 0x14001d628
mov eax, dword [r13 + 0x68]
and eax, 0x50
cmp al, 0x50
je 0x14001d628
mov r8, r15
mov rdx, r11
mov rcx, rsi
call fcn.14006c704
test eax, eax
je 0x14001d628
mov rax, qword [rbp - 0x50]
cmp r15, rax
jne 0x14001d611
mov ecx, dword [rsp + 0x64]
mov qword [rbp - 0x70], rax
mov eax, dword [rsp + 0x78]
sub rcx, rax
mov qword [rbp - 0x60], rax
add rcx, r13
mov qword [rbp - 0x68], rcx
mov qword [r13 + 0x38], rcx
mov rdx, qword [rsi + 0x48]
mov r8, r15
xor ecx, ecx
call sym.spoolsv.exe_PrvbSetDevModePerUser
mov r11, qword [rbp - 0x70]
jmp 0x140008d6b
mov rdx, qword [rsi + 0x48]
xor r8d, r8d
xor ecx, ecx
call sym.spoolsv.exe_PrvbSetDevModePerUser
nop
jmp 0x140008d7c
mov ecx, dword [rsp + 0x64]
mov rax, r10
sub rcx, r10
add rcx, r13
mov qword [r13 + 0x38], rcx
jmp 0x140008d73
mov r8d, eax
mov rdx, r11
call sub.msvcrt.dll_memcpy
mov edi, 1
jmp 0x140008d7c
mov rcx, qword [0x1400b52f8]
lea rax, [0x1400b52f8]
cmp rcx, rax
je 0x140008ddc
test byte [rcx + 0x44], 0x20
je 0x140008ddc
mov r9, qword [rsi + 0x48]
mov edx, 0x11
mov rcx, qword [rcx + 0x38]
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r12d
call fcn.140062d74
nop
jmp 0x140008ddc
mov r8, qword [rsi + 0x48]
lea rdx, [0x1400a5368]
mov r9d, r12d
mov dword [rsp + 0x20], ebx
call fcn.140062914
nop
jmp 0x140008de9
mov ecx, 6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x140008df3