Function at 0x100001fe0
Capabilities:
Create directory
Delete registry key
Get hostname
Get system information on windows
Set environment variable
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x10001d1d0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
xor r15d, r15d
xor r8d, r8d
xor edx, edx
lea eax, [r15 + 2]
lea r14d, [r15 + 1]
mov dword [rsp + 0x40], r15d
lea esi, [rax + 6]
mov dword [rsp + 0x44], eax
xor eax, eax
mov cl, r14b
mov rbp, r15
mov dword [rsp + 0x4c], r14d
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x78], r15
mov qword [r11 - 0x88], r15
mov qword [r11 - 0x90], r15
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov dword [0x10001d1b8], r14d
call qword [sym.imp.ntdll.dll_RtlSetProcessIsCritical]
xor r8d, r8d
xor edx, edx
mov cl, r14b
call qword [sym.imp.ntdll.dll_RtlSetThreadIsCritical]
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea rax, [0x100016410]
lea rbx, [0x10001d280]
mov qword [0x10001d290], r15
mov qword [0x10001d280], r15
mov qword [0x10001d1e8], rax
mov byte [0x10001d298], r14b
mov byte [0x10001d299], r15b
mov qword [0x10001d1e0], rbx
mov word [0x10001d29a], r15w
mov dword [0x10001d29c], r15d
lea rdi, [0x10001d1e8]
mov r8, qword [rdi]
lea rax, [rbx + 8]
lea rcx, [0x100005890]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], r15
mov r9d, r14d
mov rdx, rbx
mov qword [rsp + 0x28], r15
add rdi, rsi
mov qword [rsp + 0xb0], r8
mov qword [rsp + 0xb8], r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_EtwRegisterTraceGuidsW]
mov rbx, qword [rbx]
cmp rbx, r15
jne 0x1000020d3
xor r9d, r9d
lea rdx, [rsp + 0x70]
lea r12d, [r9 + 4]
lea ecx, [r9 + 9]
mov r8d, r12d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, r15d
jl 0x100002151
mov edx, dword [rsp + 0x70]
mov cl, r14b
and edx, r12d
call fcn.100001030
mov rcx, qword [0x10001d1e0]
lea rdi, [0x10001d1e0]
lea rbx, [0x100015650]
cmp rcx, rdi
je 0x100002175
test byte [rcx + 0x1c], r14b
jne 0x100006c8b
lea r9, [0x10001dbd0]
lea rcx, [0x100016400]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntdll.dll_EtwEventRegister]
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x1000021a4
test byte [rcx + 0x1c], r14b
jne 0x100006cac
lea r9, str.GlobalFirstWinlogonCheck
xor r8d, r8d
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r12d, 0x10
mov r13, rax
mov qword [rsp + 0x58], rax
cmp rax, r15
je 0x100006ccd
mov rcx, qword [0x10001d1e0]
mov eax, 0xd
cmp rcx, rdi
je 0x1000021eb
test byte [rcx + 0x1c], r14b
jne 0x100006d18
call fcn.100005a50
mov dword [rsp + 0x40], eax
cmp eax, r15d
jne 0x100006d36
mov word [0x10001d194], r14w
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x10000221b
test byte [rcx + 0x1c], r14b
jne 0x100006d73
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
cmp eax, r15d
je 0x100006d94
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp eax, r15d
je 0x100006db7
mov eax, 2
mov word [0x10001d194], ax
mov rcx, qword [0x10001d1e0]
mov eax, 0x11
cmp rcx, rdi
je 0x10000227c
test byte [rcx + 0x1c], r14b
jne 0x100006ebf
lea rcx, [0x100001134]
call fcn.100005db8
mov dword [rsp + 0x40], eax
cmp eax, r15d
jne 0x100006edd
mov rcx, qword [0x10001d1e0]
mov eax, 3
mov word [0x10001d194], ax
cmp rcx, rdi
je 0x1000022c8
test byte [rcx + 0x1c], r14b
je 0x1000022c8
cmp byte [rcx + 0x19], 4
jb 0x1000022c8
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x10]
mov r8, rbx
call fcn.10000121c
lea rdx, [rsp + 0x74]
lea rcx, [rsp + 0xd0]
mov ebx, r15d
mov dword [rsp + 0x74], r12d
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp eax, r15d
je 0x100006f1a
lea rdx, [rsp + 0xd0]
lea rcx, str.COMPUTERNAME
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x100002303
mov dword [rsp + 0x40], ebx
cmp ebx, r15d
jne 0x100006f27
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100006f6a
test byte [rcx + 0x1c], r14b
je 0x100006f6a
cmp byte [rcx + 0x19], 4
lea rbx, [0x100015650]
jb 0x10000234a
mov rcx, qword [rcx + 0x10]
mov edx, 0x15
mov r8, rbx
call fcn.10000121c
jmp 0x10000234a
call fcn.1000067d8
mov dword [rsp + 0x40], eax
cmp eax, r15d
jne 0x100006f76
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100002385
test byte [rcx + 0x1c], r14b
je 0x100002385
cmp byte [rcx + 0x19], 4
jb 0x100002385
mov rcx, qword [rcx + 0x10]
mov edx, 0x17
mov r8, rbx
call fcn.10000121c
call fcn.10000641c
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x1000023b3
test byte [rcx + 0x1c], r14b
je 0x1000023b3
cmp byte [rcx + 0x19], 4
jb 0x1000023b3
mov rcx, qword [rcx + 0x10]
mov edx, 0x18
mov r8, rbx
call fcn.10000121c
lea rcx, str._SystemRoot__temp
call fcn.1000031dc
mov rbx, rax
mov qword [rsp + 0xa8], rax
cmp rax, r15
je 0x1000023f8
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, r15d
jne 0x100006fa4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1000023eb
lea rcx, [rsp + 0xa8]
call fcn.1000031b0
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100006ff0
test byte [rcx + 0x1c], r14b
je 0x100006ff0
cmp byte [rcx + 0x19], 4
lea rbx, [0x100015650]
jb 0x100002432
mov rcx, qword [rcx + 0x10]
mov edx, 0x19
mov r8, rbx
call fcn.10000121c
jmp 0x100002432
lea rcx, [rsp + 0x50]
mov edx, r14d
call fcn.1000028cc
mov dword [rsp + 0x40], eax
cmp eax, r15d
jne 0x100006ffc
mov eax, 5
mov word [0x10001d194], ax
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x10000247f
test byte [rcx + 0x1c], r14b
je 0x10000247f
cmp byte [rcx + 0x19], 4
jb 0x10000247f
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x16]
mov r8, rbx
call fcn.10000121c
lea rax, [rsp + 0x50]
lea r9, [0x10001d208]
lea r8, [0x10001d200]
lea rdx, [rsp + 0x78]
lea rcx, [0x10001d1f8]
mov qword [rsp + 0x20], rax
call fcn.10000326c
mov dword [rsp + 0x40], eax
cmp eax, r15d
jne 0x10000702e
mov eax, 6
lea rcx, [rsp + 0x78]
mov word [0x10001d194], ax
call fcn.100005288
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x1000024f4
test byte [rcx + 0x1c], r14b
je 0x1000024f4
cmp byte [rcx + 0x19], 4
jb 0x1000024f4
mov rcx, qword [rcx + 0x10]
mov edx, 0x1d
mov r8, rbx
call fcn.10000121c
xor ecx, ecx
call qword [sym.imp.USER32.dll_UpdatePerUserSystemParameters]
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x10000251c
test byte [rcx + 0x1c], r14b
je 0x10000251c
mov eax, 5
cmp byte [rcx + 0x19], al
jae 0x10000705c
cmp dword [0x10001d1ac], r14d
je 0x10000256b
mov eax, 2
cmp dword [0x10001d1a8], eax
je 0x10000256b
cmp rcx, rdi
je 0x100002552
test byte [rcx + 0x1c], r14b
je 0x100002552
cmp byte [rcx + 0x19], 4
jb 0x100002552
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x1d]
mov r8, rbx
call fcn.10000121c
call fcn.1000054c0
mov dword [rsp + 0x40], eax
cmp eax, r15d
jne 0x100007077
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x10000258d
test byte [rcx + 0x1c], r14b
je 0x10000258d
cmp byte [rcx + 0x19], 4
jb 0x10000258d
mov rcx, qword [rcx + 0x10]
mov edx, 0x21
mov r8, rbx
call fcn.10000121c
call fcn.1000029d0
mov dword [rsp + 0x40], eax
cmp eax, r15d
jne 0x1000070a5
call fcn.100002b00
cmp eax, r15d
jne 0x1000070d3
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x1000025d6
test byte [rcx + 0x1c], r14b
je 0x1000025d6
cmp byte [rcx + 0x19], 4
jb 0x1000025d6
mov rcx, qword [rcx + 0x10]
mov edx, 0x26
mov r8, rbx
call fcn.10000121c
lea r9, str.GlobalUMSServicesStarted
xor r8d, r8d
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
cmp rbp, r15
je 0x1000071df
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x10000262d
test byte [rcx + 0x1c], r14b
je 0x10000262d
cmp byte [rcx + 0x19], 4
jb 0x10000262d
mov rcx, qword [rcx + 0x10]
mov edx, 0x28
mov r9d, eax
mov r8, rbx
call fcn.100001e70
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, r15d
je 0x100007223
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100002668
test byte [rcx + 0x1c], r14b
je 0x100002668
cmp byte [rcx + 0x19], 4
jb 0x100002668
mov rcx, qword [rcx + 0x10]
mov edx, 0x2a
mov r8, rbx
call fcn.10000121c
call fcn.100002e00
cmp eax, r15d
mov ebx, eax
jl 0x10000724c
mov eax, 0xd
mov word [0x10001d194], ax
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x1000026af
test byte [rcx + 0x1c], r14b
je 0x1000026af
cmp byte [rcx + 0x19], 4
jb 0x1000026af
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x1f]
lea r8, [0x100015650]
call fcn.10000121c
lea rcx, [0x100001258]
xor r8d, r8d
xor edx, edx
mov ebx, r15d
call qword [sym.imp.ntdll.dll_TpSimpleTryPost]
cmp eax, r15d
mov edi, eax
jl 0x10000729b
mov rcx, qword [0x10001d1e0]
mov eax, 2
mov dword [rsp + 0x40], ebx
cmp ebx, r15d
jne 0x1000072f0
lea rdi, [0x10001d1e0]
cmp rcx, rdi
je 0x100002715
test byte [rcx + 0x1c], r14b
je 0x100002715
cmp byte [rcx + 0x19], 4
jb 0x100002715
mov rcx, qword [rcx + 0x10]
lea r8, [0x100015650]
mov edx, 0x2e
call fcn.10000121c
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.1000028cc
mov dword [rsp + 0x40], eax
cmp eax, r15d
jne 0x100007337
mov edx, 0xe
mov word [0x10001d194], dx
call fcn.100002b00
cmp eax, r15d
jne 0x100007370
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x1000073a8
test byte [rcx + 0x1c], r14b
je 0x1000073a8
cmp byte [rcx + 0x19], 4
lea rbx, [0x100015650]
jb 0x100002782
mov rcx, qword [rcx + 0x10]
mov edx, 0x31
mov r8, rbx
call fcn.10000121c
jmp 0x100002782
call fcn.100002ef0
mov esi, 2
mov dword [rsp + 0x40], eax
cmp eax, r15d
jne 0x1000073b4
mov dword [rsp + 0x30], r15d
lea r8, [0x1000014f4]
lea rcx, [rsp + 0xa0]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 0x7530
call qword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
cmp eax, r15d
je 0x1000073d9
mov dword [rsp + 0x30], r15d
lea r8, [0x100001a3c]
lea rcx, [rsp + 0x98]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 0x2710
call qword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
cmp eax, r15d
je 0x100007424
mov rcx, qword [0x10001d1e0]
mov eax, 0xf
mov word [0x10001d194], ax
lea r13d, [rax - 0xc]
cmp rcx, rdi
je 0x10000283c
test byte [rcx + 0x1c], r14b
je 0x10000283c
cmp byte [rcx + 0x19], 4
jb 0x10000283c
mov rcx, qword [rcx + 0x10]
mov edx, 0x34
mov r8, rbx
call fcn.10000121c
mov rcx, qword [0x10001d228]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
jmp 0x10000746f
cmp byte [rcx + 0x19], r12b
jb 0x100002175
mov rcx, qword [rcx + 0x10]
mov edx, 0xa
mov r8, rbx
call fcn.10000121c
nop
jmp 0x100002175
cmp byte [rcx + 0x19], r12b
jb 0x1000021a4
mov rcx, qword [rcx + 0x10]
mov edx, 0xb
mov r8, rbx
call fcn.10000121c
nop
jmp 0x1000021a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100007623
test byte [rcx + 0x1c], r14b
je 0x100007623
lea edx, [r12 - 0xe]
cmp byte [rcx + 0x19], dl
jb 0x100007623
mov rcx, qword [rcx + 0x10]
lea edx, [r12 - 4]
mov r9d, eax
mov r8, rbx
call fcn.100001e70
jmp 0x100007618
cmp byte [rcx + 0x19], 4
jb 0x1000021eb
mov rcx, qword [rcx + 0x10]
mov edx, eax
mov r8, rbx
call fcn.10000121c
nop
jmp 0x1000021eb
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100007623
test byte [rcx + 0x1c], r14b
je 0x100007623
cmp byte [rcx + 0x19], r14b
jb 0x100007623
mov edx, 0xe
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, rbx
call fcn.100001e70
jmp 0x100007618
cmp byte [rcx + 0x19], 4
jb 0x10000221b
mov rcx, qword [rcx + 0x10]
mov edx, 0xf
mov r8, rbx
call fcn.10000121c
nop
jmp 0x10000221b
mov rax, qword [0x10001d1e0]
cmp rax, rdi
je 0x100006e1b
test byte [rax + 0x1c], r14b
je 0x100006deb
mov edx, 2
cmp byte [rax + 0x19], dl
jb 0x100006deb
mov edx, 0x64
jmp 0x100006dd8
mov rax, qword [0x10001d1e0]
cmp rax, rdi
je 0x100006e1b
test byte [rax + 0x1c], r14b
je 0x100006deb
mov edx, 2
cmp byte [rax + 0x19], dl
jb 0x100006deb
mov edx, 0x65
mov rcx, qword [rax + 0x10]
mov r8, rbx
call fcn.10000121c
mov rax, qword [0x10001d1e0]
cmp rax, rdi
je 0x100006e1b
test byte [rax + 0x1c], r14b
je 0x100006e1b
cmp byte [rax + 0x19], r14b
jb 0x100006e1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x10001d1e0]
mov edx, r12d
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, rbx
call fcn.100001e70
mov eax, 0x400
mov dword [rsp + 0x40], eax
movzx ecx, word [0x10001d194]
mov edx, 9
cmp cx, dx
jb 0x100006e5e
mov dword [rsp + 0x58], eax
movzx eax, cx
lea r9, [rsp + 0x58]
movzx ecx, r14w
mov edx, 0xc0000bba
mov r8d, 8
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0x20], r15
call fcn.10000ec6c
cmp r13, r15
je 0x100006e6c
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x10001dbd0]
cmp rcx, r15
je 0x100006e85
call qword [sym.imp.ntdll.dll_EtwEventUnregister]
mov qword [0x10001dbd0], r15
call fcn.10000aa20
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.100001000
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp byte [rcx + 0x19], 4
jb 0x10000227c
mov rcx, qword [rcx + 0x10]
mov edx, eax
mov r8, rbx
call fcn.10000121c
nop
jmp 0x10000227c
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100006f10
test byte [rcx + 0x1c], r14b
je 0x100006f10
cmp byte [rcx + 0x19], 3
jb 0x100006f10
mov rcx, qword [rcx + 0x10]
mov edx, 0x12
mov r9d, eax
mov r8, rbx
call fcn.100001e70
mov rcx, qword [0x10001d1e0]
mov dword [rsp + 0x40], r15d
jmp 0x10000229c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x100002303
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100006f60
test byte [rcx + 0x1c], r14b
je 0x100006f60
mov eax, 3
cmp byte [rcx + 0x19], al
jb 0x100006f60
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x11]
lea r8, [0x100015650]
mov r9d, ebx
call fcn.100001e70
mov rcx, qword [0x10001d1e0]
mov dword [rsp + 0x40], r15d
jmp 0x100002317
lea rbx, [0x100015650]
jmp 0x10000234a
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100007623
test byte [rcx + 0x1c], r14b
je 0x100007623
cmp byte [rcx + 0x19], r14b
jb 0x100007623
mov edx, 0x16
jmp 0x100006d5f
mov edx, r14d
mov ecx, 9
call fcn.1000130cc
mov edx, r14d
mov ecx, 0x12
call fcn.1000130cc
lea rdx, str.O:BAG:BAD:PAI_A__FA___SY__A_IOCIOI_GA___SY__A__FA___BA__A_OICIIO_GA___BA__A_CI_0x100026___BU__A_OICIIO_GA___CO_
mov rcx, rbx
call fcn.10000e9d0
cmp eax, r15d
je 0x1000023e3
xor edx, edx
lea ecx, [rdx + 9]
call fcn.1000130cc
xor edx, edx
lea ecx, [rdx + 0x12]
call fcn.1000130cc
nop
jmp 0x1000023eb
lea rbx, [0x100015650]
jmp 0x100002432
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100007623
test byte [rcx + 0x1c], r14b
je 0x100007623
mov edx, 5
cmp byte [rcx + 0x19], dl
jb 0x100007623
mov edx, 0x1a
jmp 0x100006d5f
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100007623
test byte [rcx + 0x1c], r14b
je 0x100007623
cmp byte [rcx + 0x19], r14b
jb 0x100007623
mov edx, 0x1c
jmp 0x100006d5f
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x19]
mov r8, rbx
call fcn.10000121c
mov rcx, qword [0x10001d1e0]
jmp 0x10000251c
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100007623
test byte [rcx + 0x1c], r14b
je 0x100007623
cmp byte [rcx + 0x19], r14b
jb 0x100007623
mov edx, 0x20
jmp 0x100006d5f
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100007623
test byte [rcx + 0x1c], r14b
je 0x100007623
cmp byte [rcx + 0x19], r14b
jb 0x100007623
mov edx, 0x22
jmp 0x100006d5f
cmp dword [0x10001d1ac], r14d
je 0x1000070ed
mov eax, 2
cmp dword [0x10001d1a8], eax
jne 0x10000263f
cmp dword [0x10001d1b0], r15d
jne 0x100007104
mov rcx, qword [0x10001d208]
xor edx, edx
call fcn.1000055d0
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x10000712d
test byte [rcx + 0x1c], r14b
je 0x10000712d
cmp byte [rcx + 0x19], 4
jb 0x10000712d
mov rcx, qword [rcx + 0x10]
mov edx, 0x23
mov r8, rbx
call fcn.10000121c
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x4c]
call fcn.10000afc4
mov dword [rsp + 0x40], eax
cmp dword [0x10001d1b0], r15d
jne 0x10000715b
mov rcx, qword [0x10001d200]
xor edx, edx
call fcn.1000055d0
mov eax, dword [rsp + 0x40]
cmp eax, r15d
je 0x10000718e
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100007623
test byte [rcx + 0x1c], r14b
je 0x100007623
cmp byte [rcx + 0x19], r14b
jb 0x100007623
mov edx, 0x24
jmp 0x100006d5f
mov edx, 0xc
mov word [0x10001d194], dx
cmp dword [rsp + 0x4c], r14d
jne 0x10000263f
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100007650
test byte [rcx + 0x1c], r14b
je 0x10000762c
cmp byte [rcx + 0x19], 4
jb 0x10000762c
mov rcx, qword [rcx + 0x10]
mov edx, 0x25
mov r8, rbx
call fcn.10000121c
jmp 0x100007618
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x10000728f
test byte [rcx + 0x1c], r14b
je 0x10000728f
cmp byte [rcx + 0x19], r14b
jb 0x10000728f
mov edx, 0x27
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, rbx
call fcn.100001e70
mov rcx, qword [0x10001d1e0]
jmp 0x100007606
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x10000728f
test byte [rcx + 0x1c], r14b
je 0x10000728f
cmp byte [rcx + 0x19], r14b
jb 0x10000728f
mov edx, 0x29
jmp 0x100007208
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x10000727c
test byte [rcx + 0x1c], r14b
je 0x10000727c
cmp byte [rcx + 0x19], r14b
jb 0x10000727c
mov rcx, qword [rcx + 0x10]
lea r8, [0x100015650]
mov edx, 0x2b
mov r9d, eax
call fcn.100001e70
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov rcx, qword [0x10001d1e0]
mov dword [rsp + 0x40], eax
lea rbx, [0x100015650]
jmp 0x10000760a
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ebx, eax
mov rcx, qword [0x10001d1e0]
lea rax, [0x10001d1e0]
cmp rcx, rax
mov eax, 2
je 0x1000026db
test byte [rcx + 0x1c], r14b
je 0x1000026db
cmp byte [rcx + 0x19], al
jb 0x1000026db
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0xb]
lea r8, [0x100014810]
mov r9d, edi
call fcn.100001e70
nop
jmp 0x1000026cf
lea rdi, [0x10001d1e0]
cmp rcx, rdi
je 0x100002715
test byte [rcx + 0x1c], r14b
je 0x1000026ef
cmp byte [rcx + 0x19], al
jb 0x1000026ef
mov rcx, qword [rcx + 0x10]
lea r8, [0x100015650]
mov edx, 0x2d
mov r9d, ebx
call fcn.100001e70
mov rcx, qword [0x10001d1e0]
jmp 0x1000026ef
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x10000728f
test byte [rcx + 0x1c], r14b
je 0x10000728f
mov edx, 5
cmp byte [rcx + 0x19], dl
jb 0x10000728f
mov edx, 0x2f
lea rbx, [0x100015650]
jmp 0x100007208
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x10000739d
test byte [rcx + 0x1c], r14b
je 0x10000739d
cmp byte [rcx + 0x19], 4
jb 0x10000739d
mov rcx, qword [rcx + 0x10]
lea r8, [0x100015650]
mov edx, 0x30
call fcn.10000121c
call fcn.100012f38
nop
jmp 0x100002748
lea rbx, [0x100015650]
jmp 0x100002782
lea r9, [rsp + 0x40]
lea r8d, [rsi + 2]
mov edx, 0x80000bbb
movzx ecx, si
mov qword [rsp + 0x20], r15
call fcn.10000ec6c
mov dword [rsp + 0x40], r15d
jmp 0x100002799
mov rax, qword [0x10001d1e0]
cmp rax, rdi
je 0x1000027ce
test byte [rax + 0x1c], sil
je 0x1000027ce
cmp byte [rax + 0x19], sil
jb 0x1000027ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x10001d1e0]
mov edx, 0x32
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, rbx
call fcn.100001e70
nop
jmp 0x1000027ce
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x10000280a
test byte [rcx + 0x1c], sil
je 0x10000280a
cmp byte [rcx + 0x19], sil
jb 0x10000280a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x10001d1e0]
mov edx, 0x33
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, rbx
call fcn.100001e70
nop
jmp 0x100002803
mov dword [rsp + 0x40], eax
cmp eax, r15d
je 0x1000074bb
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x1000074a4
test byte [rcx + 0x1c], r14b
je 0x1000074a4
cmp byte [rcx + 0x19], r13b
jb 0x1000074a4
mov rcx, qword [rcx + 0x10]
mov edx, 0x35
mov r9d, eax
mov r8, rbx
call fcn.100001e70
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x10001d1e0]
jmp 0x10000281a
mov word [0x10001d194], r12w
mov rcx, qword [0x10001d1e0]
mov r13, qword [rsp + 0x58]
cmp rcx, rdi
je 0x1000074f8
test byte [rcx + 0x1c], r14b
je 0x1000074f8
cmp byte [rcx + 0x19], 4
jb 0x1000074f8
mov rcx, qword [rcx + 0x10]
mov edx, 0x36
mov r8, rbx
call fcn.10000121c
mov rcx, qword [0x10001d1e0]
mov rax, qword [0x10001dbd0]
cmp rax, r15
je 0x10000753a
lea rdx, [0x100016b60]
mov rcx, rax
call qword [sym.imp.ntdll.dll_EtwEventEnabled]
cmp al, r15b
je 0x100007533
mov rcx, qword [0x10001dbd0]
lea rdx, [0x100016b60]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ntdll.dll_EtwEventWrite]
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x10000755c
test byte [rcx + 0x1c], r14b
je 0x10000755c
cmp byte [rcx + 0x19], 4
jb 0x10000755c
mov rcx, qword [rcx + 0x10]
mov edx, 0x37
mov r8, rbx
call fcn.10000121c
call fcn.10000e49c
mov rcx, qword [0x10001dbd0]
cmp rcx, r15
je 0x100007599
lea rdx, [0x100016b70]
call qword [sym.imp.ntdll.dll_EtwEventEnabled]
cmp al, r15b
je 0x100007599
mov rcx, qword [0x10001dbd0]
lea rdx, [0x100016b70]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ntdll.dll_EtwEventWrite]
lea rcx, [rsp + 0x48]
call fcn.10000daf4
cmp eax, r15d
jne 0x1000075d3
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x1000075da
test byte [rcx + 0x1c], r14b
je 0x1000075da
mov eax, 3
cmp byte [rcx + 0x19], al
jb 0x1000075da
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x35]
mov r8, rbx
call fcn.10000121c
mov rcx, qword [0x10001d1e0]
mov esi, dword [rsp + 0x48]
test r12b, sil
je 0x1000075ea
mov dword [rsp + 0x44], r15d
jmp 0x1000075fa
mov al, sil
and al, 4
neg al
sbb eax, eax
add eax, 2
mov dword [rsp + 0x44], eax
mov eax, 0x11
mov word [0x10001d194], ax
mov eax, dword [rsp + 0x40]
cmp rbp, r15
je 0x100007623
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x10001d1e0]
mov eax, dword [rsp + 0x40]
cmp eax, r15d
jne 0x100006e24
cmp rcx, rdi
je 0x100007650
test byte [rcx + 0x1c], r14b
je 0x100007650
mov eax, 5
cmp byte [rcx + 0x19], al
jb 0x100007650
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x34]
mov r8, rbx
call fcn.10000121c
call fcn.100002b00
mov rbp, 0xffffffff80000002
cmp eax, r15d
jne 0x100007740
mov rax, qword gs:[0x30]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionAuthenticationLogonUISessionData
mov r9d, 8
mov rcx, qword [rax + 0x60]
lea rax, [rsp + 0x80]
xor r8d, r8d
mov edi, dword [rcx + 0x2c0]
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov rcx, r15
mov ebx, eax
mov qword [rsp + 0x60], rcx
cmp eax, r15d
jne 0x10000770c
lea r8, [0x100018820]
lea rcx, [rsp + 0xc0]
mov r9d, edi
mov edx, 8
call fcn.100002858
cmp eax, r15d
jl 0x1000076f9
mov rcx, qword [rsp + 0x80]
lea rax, [rsp + 0x60]
lea rdx, [rsp + 0xc0]
mov r9d, 0x1000b
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
cmp ebx, r15d
jl 0x100007724
xor edx, edx
call qword [sym.imp.KERNEL32.dll_RegDeleteTreeW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
lea r8, [rsp + 0x90]
xor edx, edx
xor ecx, ecx
call fcn.1000111f8
mov esi, dword [rsp + 0x48]
lea rdi, [0x10001d1e0]
mov ebx, 6
mov r8d, r12d
mov ecx, 0x3ea
mov edx, ebx
call fcn.10000ec00
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100007786
test byte [rcx + 0x1c], r14b
je 0x100007786
cmp byte [rcx + 0x19], 4
jb 0x100007786
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x34]
lea r8, [0x100015650]
call fcn.10000121c
mov rcx, qword [0x10001d1e0]
mov rax, qword [0x10001dbd0]
cmp rax, r15
je 0x1000077c8
lea rdx, [0x100016b80]
mov rcx, rax
call qword [sym.imp.ntdll.dll_EtwEventEnabled]
cmp al, r15b
je 0x1000077c1
mov rcx, qword [0x10001dbd0]
lea rdx, [0x100016b80]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ntdll.dll_EtwEventWrite]
mov rcx, qword [0x10001d1e0]
mov dword [rsp + 0x68], esi
cmp rcx, rdi
je 0x1000077f5
test byte [rcx + 0x1c], 8
je 0x1000077f5
cmp byte [rcx + 0x19], 4
jb 0x1000077f5
mov rcx, qword [rcx + 0x10]
lea r8, [0x100015650]
mov edx, 0x62
mov r9d, esi
call fcn.100001e70
lea rax, [rsp + 0x88]
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
mov r9d, 0x20006
xor r8d, r8d
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
cmp eax, r15d
jne 0x100007860
mov rcx, qword [rsp + 0x88]
lea rax, [rsp + 0x68]
lea rdx, str.ShutdownFlags
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
jmp 0x100007894
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x1000078c3
test byte [rcx + 0x1c], 8
je 0x10000789b
mov edx, 3
cmp byte [rcx + 0x19], dl
jb 0x10000789b
mov rcx, qword [rcx + 0x10]
lea r8, [0x100015650]
mov edx, 0x63
mov r9d, eax
call fcn.100001e70
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x1000078c3
test byte [rcx + 0x1c], 8
je 0x1000078c3
mov eax, 5
cmp byte [rcx + 0x19], al
jb 0x1000078c3
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x58]
lea r8, [0x100015650]
call fcn.10000121c
mov r8d, 0x20
mov edx, ebx
mov ecx, 0x3e8
call fcn.10000ec00
bt esi, 8
jb 0x100007924
xor edx, edx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 0xf]
call sub.API_MS_WIN_Service_winsvc_L1_1_0.dll_I_ScSendTSMessage
cmp eax, r15d
je 0x100007924
mov rcx, qword [0x10001d1e0]
mov ebx, 2
cmp rcx, rdi
je 0x100007929
test byte [rcx + 0x1c], 8
je 0x100007929
cmp byte [rcx + 0x19], bl
jb 0x100007929
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x5c]
lea r8, [0x100015650]
mov r9d, eax
call fcn.100001e70
jmp 0x100007929
mov ebx, 2
mov rcx, qword [0x10001dbd0]
cmp rcx, r15
je 0x100007961
lea rdx, [0x100016b90]
call qword [sym.imp.ntdll.dll_EtwEventEnabled]
cmp al, r15b
je 0x100007961
mov rcx, qword [0x10001dbd0]
lea rdx, [0x100016b90]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ntdll.dll_EtwEventWrite]
call fcn.1000107fc
call fcn.10000ad88
call fcn.10000bbac
mov rcx, qword [0x10001d218]
cmp rcx, r15
je 0x1000079d3
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
cmp eax, r15d
jne 0x1000079c3
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x1000079ca
test byte [rcx + 0x1c], r14b
je 0x1000079ca
cmp byte [rcx + 0x19], bl
jb 0x1000079ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x10001d1e0]
lea r8, [0x100015650]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x6f
call fcn.100001e70
mov rcx, qword [0x10001d1e0]
mov qword [0x10001d218], r15
jmp 0x1000079da
mov rcx, qword [0x10001d1e0]
cmp rcx, rdi
je 0x100007a00
test byte [rcx + 0x1c], r14b
je 0x100007a00
cmp byte [rcx + 0x19], 4
jb 0x100007a00
mov rcx, qword [rcx + 0x10]
lea r8, [0x100015650]
mov edx, 0x3b
call fcn.10000121c
mov ecx, dword [rsp + 0x44]
call fcn.10000b160
jmp 0x100006e5e