Function at 0x18000fa10
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1800553b0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, rdx
mov rdi, rcx
lea rdx, str.miAPCP
lea rcx, [rsp + 0x60]
mov r15d, r9d
mov r14d, r8d
mov word [rsp + 0x7a], 0x5446
mov word [rbp - 0x80], 0x5c
mov word [rsp + 0x7d], 0x5241
mov word [rsp + 0x78], 0x4f53
mov byte [rsp + 0x7f], 0x45
mov byte [rsp + 0x7c], 0x57
call fcn.18000e920
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
mov r8, rax
call fcn.18000ea9c
lea rcx, [rsp + 0x50]
mov r9d, 0x20019
mov rdx, qword [rax]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or r13d, 0xffffffff
movsxd rbx, eax
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x18000fada
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x60]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x18000fafb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test rbx, rbx
jne 0x18000fc6f
lea rcx, [rbp - 0x6f]
xor edx, edx
mov r8d, 0x103
mov byte [rbp - 0x70], bl
call fcn.180011240
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
lea rdx, str.hvals
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18000fc64
cmp dword [rsp + 0x48], eax
jbe 0x18000fc64
mov rax, qword [0x180056858]
lea rcx, [0x180056858]
call qword [rax + 0x18]
lea rdx, [0x180021df4]
lea rcx, [rsp + 0x40]
add rax, 0x18
mov r8, rdi
mov qword [rsp + 0x40], rax
call fcn.18000ee0c
mov rax, qword [0x180056858]
lea rcx, [0x180056858]
call qword [rax + 0x18]
lea r8, [rbp - 0x70]
lea rdx, [0x180020eec]
add rax, 0x18
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
call fcn.18000ee0c
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
test rdx, rdx
je 0x18000fc27
cmp dword [rbx - 0x10], 0
jl 0x18000fc27
mov rcx, rbx
call fcn.18001220c
test rax, rax
je 0x18000fc27
cmp eax, ebx
js 0x18000fc27
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x18000fbff
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x40]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x18000fc20
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, 1
jmp 0x18000fc9f
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x18000fc43
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x40]
mov eax, r13d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x18000fc64
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x120]
mov r9d, r15d
mov r8d, r14d
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x118]
mov rdx, rsi
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x110]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [0x1800569c0]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1800108a0
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret