Function at 0x180009670
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, reloc.mfc100.dll_Ordinal_3288
sub rsp, 0xdd8
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov rax, qword [0x18005b0d0]
xor rax, rsp
mov qword [rbp + 0xcc0], rax
mov rbx, r9
mov qword [rsp + 0x68], rbx
mov r15, r8
mov r14, rdx
mov rsi, rcx
mov qword [rbp - 0x58], rcx
mov r12, qword [rbp + 0xd40]
mov r13, qword [rbp + 0xd48]
lea rcx, [rsp + 0x78]
call fcn.18001b0e0
nop
lea r8, [0x180041ac0]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1800071d0
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.180007150
nop
lea r8, str._akey.dat
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1800071d0
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc100.dll_Ordinal_889]
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc100.dll_Ordinal_409]
nop
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc100.dll_Ordinal_10593]
test eax, eax
je 0x18000987e
mov r8d, reloc.mfc100.dll_Ordinal_2048
lea rdx, [rbp + 0x4c0]
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc100.dll_Ordinal_10964]
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc100.dll_Ordinal_2440]
cmp byte [rbp + 0x4c0], 0x17
je 0x1800097ba
cmp byte [rbp + 0x4c1], 0x19
je 0x1800097ba
cmp byte [rbp + 0x4c2], 0x17
je 0x1800097ba
cmp byte [rbp + 0x4c3], 0x19
je 0x1800097ba
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc100.dll_Ordinal_955]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
jmp 0x180009c05
lea rcx, [0x1800425c8]
jmp 0x18053738c
xor edi, edi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x58], rdi
lea rdx, str.SoftwareCAHE_
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc100.dll_Ordinal_310]
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.180007150
mov r9d, 0x2001f
mov r8, qword [rax]
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x48]
call fcn.18000a900
test eax, eax
sete bl
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc100.dll_Ordinal_889]
test bl, bl
je 0x180009bdd
mov byte [rbp + 0x1c0], dil
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x1c1]
call sub.MSVCR100.dll_memset
mov byte [rbp + 0xc0], dil
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0xc1]
call sub.MSVCR100.dll_memset
mov byte [rbp + 0x3c0], dil
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x3c1]
call sub.MSVCR100.dll_memset
mov byte [rbp - 0x40], dil
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp - 0x3f]
call sub.MSVCR100.dll_memset
mov byte [rbp + 0x2c0], dil
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x2c1]
call sub.MSVCR100.dll_memset
mov dword [rsp + 0x30], 0x100
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.code
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1800099d2
mov eax, dword [rsp + 0x38]
cmp eax, 1
je 0x1800099bd
cmp eax, 2
jne 0x1800099d2
movzx eax, byte [rbp + 0x1c0]
cmp dword [rsp + 0x30], 0
cmove eax, edi
mov byte [rbp + 0x1c0], al
mov dword [rsp + 0x30], 0x100
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.name
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180009a2f
mov eax, dword [rsp + 0x38]
cmp eax, 1
je 0x180009a1a
cmp eax, 2
jne 0x180009a2f
movzx eax, byte [rbp + 0x3c0]
cmp dword [rsp + 0x30], 0
cmove eax, edi
mov byte [rbp + 0x3c0], al
mov dword [rsp + 0x30], 0x100
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.email
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180009a83
mov eax, dword [rsp + 0x38]
cmp eax, 1
je 0x180009a74
cmp eax, 2
jne 0x180009a83
movzx eax, byte [rbp - 0x40]
cmp dword [rsp + 0x30], 0
cmove eax, edi
mov byte [rbp - 0x40], al
mov dword [rsp + 0x30], 0x100
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, [0x180042610]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180009ae0
mov eax, dword [rsp + 0x38]
cmp eax, 1
je 0x180009acb
cmp eax, 2
jne 0x180009ae0
movzx eax, byte [rbp + 0xc0]
cmp dword [rsp + 0x30], 0
cmove eax, edi
mov byte [rbp + 0xc0], al
mov dword [rsp + 0x30], 0x100
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2c0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.online
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x180009b3d
mov eax, dword [rsp + 0x38]
cmp eax, 1
je 0x180009b28
cmp eax, 2
jne 0x180009b3d
movzx eax, byte [rbp + 0x2c0]
cmp dword [rsp + 0x30], 0
cmove eax, edi
mov byte [rbp + 0x2c0], al
test rbx, rbx
je 0x180009b53
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rdi
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], edi
lea rdx, [rbp + 0x3c0]
mov rcx, r14
call qword [sym.imp.mfc100.dll_Ordinal_1294]
lea rdx, [rbp + 0x1c0]
mov rcx, r15
call qword [sym.imp.mfc100.dll_Ordinal_1294]
lea rdx, [rbp - 0x40]
mov rcx, r12
call qword [sym.imp.mfc100.dll_Ordinal_1294]
lea rdx, [rbp + 0xc0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.mfc100.dll_Ordinal_1294]
lea rdx, [rbp + 0x2c0]
mov rcx, r13
call qword [sym.imp.mfc100.dll_Ordinal_1294]
nop
test rbx, rbx
je 0x180009bb6
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc100.dll_Ordinal_955]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
mov rcx, rsi
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov eax, 1
jmp 0x180009c10
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180009bee
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc100.dll_Ordinal_955]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
mov rcx, rsi
call qword [sym.imp.mfc100.dll_Ordinal_889]
xor eax, eax
mov rcx, qword [rbp + 0xcc0]
xor rcx, rsp
call fcn.18003c580
add rsp, 0xdd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret