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

Disassembly:
jmp 0x1400434b0
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x51], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14007c860]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor esi, esi
mov dword [rbp - 0x55], esi
mov qword [rbp + 0x1f], 0xf
mov qword [rbp + 0x17], rsi
mov byte [rbp + 7], sil
lea r8d, [rsi + 0x35]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
lea rcx, [rbp + 7]
call fcn.1400017d0
nop
mov qword [rbp - 9], 0xf
mov qword [rbp - 0x11], rsi
mov byte [rbp - 0x21], sil
mov qword [rbp - 1], rsi
mov qword [rbp - 0x29], 0xffffffff80000002
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x21]
call fcn.14000254a
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400435ae
cmp qword [rbp - 0x11], rsi
jne 0x14004357a
cmp rcx, 0xffffffff80000000
jne 0x14004357a
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400435ae
mov qword [rbp - 1], rsi
jmp 0x1400435ae
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rdx, qword [rbp - 0x21]
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp - 1]
test eax, eax
cmovne rcx, rsi
mov qword [rbp - 1], rcx
cmp qword [rbp + 0x1f], 0x10
jb 0x1400435be
mov rcx, qword [rbp + 7]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x1f], 0xf
mov qword [rbp + 0x17], rsi
mov byte [rbp + 7], 0
mov qword [rbp - 0x31], 0xf
mov qword [rbp - 0x39], rsi
mov byte [rbp - 0x49], 0
mov r8d, 5
lea rdx, str.Shell
lea rcx, [rbp - 0x49]
call fcn.1400017d0
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14004362f
mov dword [rbp - 0x59], esi
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rdx, qword [rbp - 0x49]
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [rbp - 0x59]
je 0x140043631
mov eax, esi
test eax, eax
setne dil
cmp qword [rbp - 0x31], 0x10
jb 0x140043647
mov rcx, qword [rbp - 0x49]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
test dil, dil
je 0x1400436d8
mov qword [rbp - 0x31], 0xf
mov qword [rbp - 0x39], rsi
mov byte [rbp - 0x49], 0
mov r8d, 5
lea rdx, str.Shell
lea rcx, [rbp - 0x49]
call fcn.1400017d0
nop
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x29]
call fcn.140003080
nop
cmp qword [rbp - 0x31], 0x10
jb 0x140043699
mov rcx, qword [rbp - 0x49]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp - 0x31], 0xf
mov qword [rbp - 0x39], rsi
mov byte [rbp - 0x49], 0
lea rdx, [rbp + 0x27]
mov rcx, rbx
call fcn.14000214e
nop
cmp qword [rbp + 0x3f], 0x10
jb 0x1400436c6
mov rcx, qword [rbp + 0x27]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x3f], 0xf
mov qword [rbp + 0x37], rsi
mov byte [rbp + 0x27], 0
jmp 0x1400436fa
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
xor r8d, r8d
lea rdx, [0x1400624f4]
mov rcx, rbx
call fcn.140002ef5
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x140043713
cmp rcx, qword [rbp - 0x29]
je 0x140043713
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 1], rsi
cmp qword [rbp - 9], 0x10
jb 0x140043723
mov rcx, qword [rbp - 0x21]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140052d40
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret