Function at 0x1400d2de0
Capabilities:
Persist via winlogon helper dll registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x1403ceac0]
xor rax, rsp
mov qword [rbp + 0x238], rax
mov rbx, rdx
mov qword [rbp + 0x218], rdx
mov dword [rbp + 0x220], 0x410
xor esi, esi
mov dword [rbp + 0x230], esi
test rdx, rdx
je 0x1400d3184
mov word [rdx], si
mov qword [rbp + 0x210], rsi
lea rax, [rbp + 0x210]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
je 0x1400d2fa6
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], si
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], si
mov ebx, 1
mov edx, ebx
lea rcx, [rbp - 0x40]
call fcn.140029460
nop
nop dword [rax]
nop dword [rax + rax]
xor eax, eax
lock cmpxchg dword [0x1403e3090], ebx
test eax, eax
je 0x1400d2ecd
cmp eax, 1
jne 0x1400d2eeb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400d2eb0
call fcn.14002b3e0
mov qword [0x1403e3098], rax
neg rax
sbb ecx, ecx
and ecx, 2
mov eax, ebx
lock cmpxchg dword [0x1403e3090], ecx
mov rcx, qword [0x1403e3098]
mov qword [rbp + 0xb8], rcx
add rcx, 0x28
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbp + 0xb8]
mov dword [rax + 8], 4
mov rax, qword [rbp + 0xb8]
mov dword [rax + 0x10], 0x99
lea rbx, str.CCPHelper::_GetShellProgram
mov qword [rax + 0x18], rbx
lea rdx, str.E:BT3304243d_d858_4efc_85b8_b3526d9f21d2PartnerCustomSharedSrcPCSharedCreateProcessHelper.cpp
mov qword [rax + 0x20], rdx
mov dword [rsp + 0x70], 0x99
mov r8d, 0x64
lea rcx, [rsp + 0x78]
call fcn.14002b640
mov dword [rbp - 0x48], 4
mov r8d, 0x1b
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.14002b640
nop
mov r8d, edi
lea rdx, str.RegOpenKeyEx_WINLOGIN__failed._ErrorCode:__d
lea rcx, [rsp + 0x30]
call fcn.1400270c0
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14002be60
nop
lea rcx, [rsp + 0x30]
call fcn.14002ce60
nop
lea rcx, [rsp + 0x70]
call fcn.140028cd0
mov eax, edi
jmp 0x1400d3189
lea rax, [rbp + 0x220]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x230]
xor r8d, r8d
lea rdx, str.Shell
mov rcx, qword [rbp + 0x210]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x1400d312f
mov qword [rbp + 0xd8], rsi
mov qword [rbp + 0xe0], 7
mov word [rbp + 0xc8], si
mov qword [rbp + 0xf8], rsi
mov qword [rbp + 0x100], 7
mov word [rbp + 0xe8], si
mov ebx, 1
mov edx, ebx
lea rcx, [rbp + 0x110]
call fcn.140029460
nop
nop word [rax + rax]
xor eax, eax
lock cmpxchg dword [0x1403e3090], ebx
test eax, eax
je 0x1400d304d
cmp eax, 1
jne 0x1400d306b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400d3030
call fcn.14002b3e0
mov qword [0x1403e3098], rax
neg rax
sbb ecx, ecx
and ecx, 2
mov eax, ebx
lock cmpxchg dword [0x1403e3090], ecx
mov rcx, qword [0x1403e3098]
mov qword [rbp + 0x208], rcx
add rcx, 0x28
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbp + 0x208]
mov dword [rax + 8], 4
mov rax, qword [rbp + 0x208]
mov dword [rax + 0x10], reloc.OLEAUT32.dll_RegisterTypeLib
lea rbx, str.CCPHelper::_GetShellProgram
mov qword [rax + 0x18], rbx
lea rdx, str.E:BT3304243d_d858_4efc_85b8_b3526d9f21d2PartnerCustomSharedSrcPCSharedCreateProcessHelper.cpp
mov qword [rax + 0x20], rdx
mov dword [rbp + 0xc0], reloc.OLEAUT32.dll_RegisterTypeLib
mov r8d, 0x64
lea rcx, [rbp + 0xc8]
call fcn.14002b640
mov dword [rbp + 0x108], 4
mov r8d, 0x1b
mov rdx, rbx
lea rcx, [rbp + 0xe8]
call fcn.14002b640
nop
mov r8d, edi
lea rdx, str.RegQueryValueEx_failed._ErrorCode:__d
lea rcx, [rsp + 0x50]
call fcn.1400270c0
nop
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.14002be60
nop
lea rcx, [rsp + 0x50]
call fcn.14002ce60
nop
lea rcx, [rbp + 0xc0]
call fcn.140028cd0
jmp 0x1400d316e
mov ecx, 1
call fcn.1400de610
test eax, eax
je 0x1400d316e
lea rax, [rbp + 0x218]
mov qword [rsp + 0x28], rax
lea rax, str.The_shell_program_is:__s
mov qword [rsp + 0x20], rax
mov r9d, 0xa6
lea r8, str.CCPHelper::_GetShellProgram
lea rdx, str.E:BT3304243d_d858_4efc_85b8_b3526d9f21d2PartnerCustomSharedSrcPCSharedCreateProcessHelper.cpp
call fcn.14003b3b0
mov rcx, qword [rbp + 0x210]
test rcx, rcx
je 0x1400d3180
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x1400d3189
mov eax, 0x57
mov rcx, qword [rbp + 0x238]
xor rcx, rsp
call fcn.140296f70
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret