Function at 0x1400ba4b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x4c0]
sub rsp, 0x5c0
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov rsi, rcx
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x90], eax
mov r9, 0xffffffffffffffff
lea r8, str.CIpmHandler::_PopulateCampaignId
mov edx, 0x102
lea rcx, [rbp + 0x94]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1401815c4]
mov edx, 0x104
lea rcx, [rbp + 0x94]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, str.CIpmHandler::_PopulateCampaignId
mov edx, 0x104
lea rcx, [rbp + 0x29c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
xor ebx, ebx
add ecx, eax
je 0x1400ba602
mov dword [rsp + 0x48], ebx
call fcn.140005ad0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x1400ba588
call fcn.140005ad0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x50], 0x20
mov edx, 1
lea rax, [rbp + 0x94]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x29c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x50]
movsx edx, dx
call fcn.140004c90
nop
mov qword [rsp + 0x40], rbx
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
js 0x1400ba5fd
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
jns 0x1400ba5e8
lock inc dword [rsp + 0x48]
mov rcx, qword [0x1401c1458]
test rcx, rcx
je 0x1400ba7b1
mov rax, qword [rcx]
lea r8, [0x140151970]
mov edx, 0xc9
mov rax, qword [rax + 0x30]
call qword [case.0x140077645.0]
mov r14, rax
mov qword [rbp + 0x68], rbx
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], 7
mov r8d, 0x11
lea rdx, [0x140151800]
lea rcx, [rbp + 0x68]
call fcn.140002f20
mov rdx, r14
lea rcx, [rbp + 0x68]
call fcn.140006120
movzx edi, al
mov rdx, qword [rbp + 0x80]
cmp rdx, 8
jb 0x1400ba6ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ba6a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ba6a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
test dil, dil
jne 0x1400ba7b1
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x54], 8
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x40
lea r8, [0x140151828]
mov rdx, r14
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1400ba722
mov dword [rsp + 0x60], eax
lea rax, [0x1401b9210]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov rcx, qword [rsp + 0x68]
mov eax, dword [rsp + 0x60]
jmp 0x1400ba72b
mov eax, ebx
lea rcx, [0x1401b91d8]
mov rdx, qword [rcx + 8]
mov rcx, qword [0x1401b91e0]
cmp rdx, rcx
jne 0x1400ba7b1
test eax, eax
jne 0x1400ba746
mov rbx, qword [rsp + 0x58]
jmp 0x1400ba74b
cmp rdx, rcx
jne 0x1400ba7b1
test eax, eax
jne 0x1400ba7b1
mov qword [rsi + 0x60], rbx
lea r8, [0x140151870]
lea edx, [rax + 0x10]
lea rcx, [rsp + 0x70]
call fcn.140005190
mov rbx, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x1400ba79d
lea rdx, str.campaign_id:
mov rcx, rbx
call fcn.140006540
movzx eax, byte [rbx + 0x80]
test al, al
je 0x1400ba79d
mov rdx, qword [rsi + 0x60]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_long___int64_____ptr64]
nop
lea rcx, [rbp + 8]
call fcn.140004f20
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x90]
call fcn.140004e30
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.14007e250
lea r11, [rsp + 0x5c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret