Function at 0x1400b8100
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 [0x140191010]
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, [0x14016059c]
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 [0x1401993f8]
mov eax, dword [0x1401993fc]
xor ebx, ebx
add ecx, eax
je 0x1400b8252
mov dword [rsp + 0x48], ebx
call fcn.1400057e0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x1400b81d8
call fcn.1400057e0
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.140004bd0
nop
mov qword [rsp + 0x40], rbx
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
js 0x1400b824d
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
jns 0x1400b8238
lock inc dword [rsp + 0x48]
mov rcx, qword [0x140199220]
test rcx, rcx
je 0x1400b8401
mov rax, qword [rcx]
lea r8, [0x14013b8d8]
mov edx, 0xc9
mov rax, qword [rax + 0x30]
call qword [case.0x14006aed5.0]
mov r14, rax
mov qword [rbp + 0x68], rbx
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], 7
mov r8d, Ordinal_21
lea rdx, [0x14013b868]
lea rcx, [rbp + 0x68]
call fcn.140002ed0
mov rdx, r14
lea rcx, [rbp + 0x68]
call fcn.140005de0
movzx edi, al
mov rdx, qword [rbp + 0x80]
cmp rdx, 8
jb 0x1400b82fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b82f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b82f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
test dil, dil
jne 0x1400b8401
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, [0x14013b7d8]
mov rdx, r14
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1400b8372
mov dword [rsp + 0x60], eax
lea rax, [0x1401921e8]
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 0x1400b837b
mov eax, ebx
lea rcx, [0x1401921c0]
mov rdx, qword [rcx + 8]
mov rcx, qword [0x1401921c8]
cmp rdx, rcx
jne 0x1400b8401
test eax, eax
jne 0x1400b8396
mov rbx, qword [rsp + 0x58]
jmp 0x1400b839b
cmp rdx, rcx
jne 0x1400b8401
test eax, eax
jne 0x1400b8401
mov qword [rsi + 0x60], rbx
lea r8, [0x14013b820]
lea edx, [rax + 0x10]
lea rcx, [rsp + 0x70]
call fcn.140004ea0
mov rbx, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x1400b83ed
lea rdx, str.campaign_id:
mov rcx, rbx
call fcn.140006200
movzx eax, byte [rbx + 0x80]
test al, al
je 0x1400b83ed
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.140004c30
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.1400091b0
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.140071e30
lea r11, [rsp + 0x5c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret