Function at 0x14008e950
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push r15
lea rbp, [rsp - 0x340]
sub rsp, 0x440
xor eax, eax
mov dword [rbp + 0x360], 0x3fe
mov dword [rsp + 0x30], eax
lea rdx, str.SOFTWAREMetaQuotes_SoftwareSettings
lea rax, [rbp + 0x370]
xor r15d, r15d
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp + 0x370], r15
mov rcx, 0xffffffff80000001
mov dword [rbp + 0x368], r15d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008ea09
mov rcx, qword [rbp + 0x370]
lea rax, [rbp + 0x360]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x368]
lea rax, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.Email
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x370]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14008ea09
cmp word [rsp + 0x30], r15w
jne 0x14008ec07
lea rax, [rbp + 0x360]
mov qword [rsp + 0x430], r14
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp + 0x360], r15
lea rdx, str.SOFTWAREMicrosoftIdentityCRLUserExtendedProperties
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14008ea51
mov r14, r15
mov qword [rbp + 0x360], r15
jmp 0x14008ea58
mov r14, qword [rbp + 0x360]
test r14, r14
je 0x14008ebff
mov qword [rsp + 0x478], rsi
mov esi, r15d
mov qword [rsp + 0x438], rdi
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
mov r9d, 0x1ff
mov word [rsp + 0x30], r15w
lea r8, [rsp + 0x30]
mov edx, esi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x14008ebe6
mov edx, 0x200
lea rcx, [rsp + 0x30]
call fcn.14003e904
movzx eax, word [rsp + 0x30]
lea rbx, [rsp + 0x30]
test ax, ax
je 0x14008eaf1
nop dword [rax]
nop word [rax + rax]
movzx edx, ax
lea rcx, str.abcdefghijklmnopqrstuvwxyz0123456789_.__
call fcn.140030844
test rax, rax
je 0x14008eb56
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x14008ead0
lea rdx, [0x1401c7704]
lea rcx, [rsp + 0x30]
call fcn.1400308bc
test rax, rax
je 0x14008eb46
lea rcx, [rsp + 0x30]
cmp rax, rcx
je 0x14008eb46
lea rbx, [rax + 2]
mov rcx, rbx
lea rdx, [0x1401b98f4]
call fcn.1400308bc
test rax, rax
je 0x14008eb46
cmp rax, rbx
je 0x14008eb46
lea rcx, [rsp + 0x30]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14008eb36
cmp rax, 6
ja 0x14008eb5e
inc esi
cmp esi, 0xa
jb 0x14008ea80
jmp 0x14008ebe6
mov word [rsp + 0x30], r15w
jmp 0x14008eb46
lea rax, [rsp + 0x30]
cmp word [rax + rdi*2 + 2], r15w
lea rdi, [rdi + 1]
jne 0x14008eb63
lea ebx, [rdi*2 + 2]
test ebx, ebx
je 0x14008ebe6
lea rax, [rbp + 0x368]
mov qword [rbp + 0x368], r15
mov r9d, 0x20106
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMetaQuotes_SoftwareSettings
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008ebe6
mov rcx, qword [rbp + 0x368]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], ebx
lea rdx, str.Email
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x368]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x438]
mov rsi, qword [rsp + 0x478]
mov r14, qword [rsp + 0x430]
add rsp, 0x440
pop r15
pop rbx
pop rbp
ret