Function at 0x14000d450
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140017008]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
lea rcx, [0x140017dc0]
call qword [sym.imp.mfc120u.dll_Ordinal_4138]
xor r15d, r15d
mov esi, r15d
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], r15d
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SystemCurrentControlSetServices
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14000d862
mov rsi, qword [rsp + 0x38]
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], r15d
mov r14d, r15d
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], r15d
mov qword [rbp - 0x78], r15
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x140017e14]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14000d853
mov r14, qword [rsp + 0x38]
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], r15d
mov ebx, r15d
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.Parameters
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14000d844
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x40], 0x208
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ConfigurationFile
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000d5db
lea rdx, [rbp - 0x60]
lea rcx, [0x140017db8]
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
mov dword [rsp + 0x40], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Destination
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [0x140017dd0]
test eax, eax
jne 0x14000d623
lea rdx, [rbp - 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
jmp 0x14000d630
lea rdx, str.TRILLIUM_R
call qword [sym.imp.mfc120u.dll_Ordinal_1499]
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [0x140017de0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.RetryCount
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, 0xa
test eax, eax
jne 0x14000d684
cmp dword [rsp + 0x30], 4
jne 0x14000d684
mov r8d, dword [0x140017de0]
jmp 0x14000d68d
mov r8d, edi
mov dword [0x140017de0], edi
lea rdx, [0x140013788]
lea rcx, [0x140017dd8]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [0x140017e00]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.MaximumThreads
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000d6ef
cmp dword [rsp + 0x30], 4
jne 0x14000d6ef
mov edi, dword [0x140017e00]
jmp 0x14000d6f5
mov dword [0x140017e00], edi
mov r8d, edi
lea rdx, [0x140013788]
lea rcx, [0x140017df8]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [0x140017df0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.TraceFlag
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000d75b
cmp dword [rsp + 0x30], 4
jne 0x14000d75b
mov r8d, dword [0x140017df0]
jmp 0x14000d765
mov r8d, r15d
mov dword [0x140017df0], r15d
lea rdx, [0x140013788]
lea rcx, [0x140017de8]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [0x140017e10]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.RetryWait
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14000d7ca
cmp dword [rsp + 0x30], 4
je 0x14000d7c6
lea edi, [rax + 0xd]
jmp 0x14000d7ca
test eax, eax
je 0x14000d7d9
mov r8d, 8
mov dword [0x140017e10], r8d
jmp 0x14000d7e0
mov r8d, dword [0x140017e10]
lea rdx, [0x140013788]
lea rcx, [0x140017e08]
call qword [sym.imp.mfc120u.dll_Ordinal_4612]
test rbx, rbx
je 0x14000d80a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r15
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], r15d
test r14, r14
je 0x14000d825
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, r15
mov qword [rsp + 0x78], r15
mov dword [rbp - 0x80], r15d
test rsi, rsi
je 0x14000d83f
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, r15
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], r15d
test rbx, rbx
je 0x14000d853
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r14, r14
je 0x14000d862
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rsi, rsi
je 0x14000d870
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14000fad0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret