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

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0xcf0
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov qword [rbp + 0xcf8], rbx
mov qword [rbp + 0xd00], rsi
mov qword [rbp + 0xd08], rdi
mov rax, qword [0x1400c0078]
xor rax, rbp
mov qword [rbp + 0xcb0], rax
mov rsi, rcx
mov qword [rbp + 0x18], rcx
xor ebx, ebx
mov dword [rbp + 4], ebx
lea rdx, [0x1400a1cb4]
call fcn.140012420
mov dword [rbp + 4], 1
lea r13d, [rbx + 0x72]
mov dword [rbp + 0x88e], 0x720075
mov dword [rbp + 0x876], 0x690057
mov dword [rbp + 0x864], 0x630069
mov dword [rbp + 0x858], 0x410057
mov dword [rbp + 0x85e], 0x5c0045
mov dword [rbp + 0x850], 0x4f0053
mov dword [rbp + 0x86a], 0x73006f
mov dword [rbp + 0x86e], 0x66006f
mov dword [rbp + 0x89e], 0x730072
mov dword [rbp + 0x854], 0x540046
mov dword [rbp + 0x884], 0x4e0020
mov dword [rbp + 0x894], 0x6e0065
mov dword [rbp + 0x8a2], 0x6f0069
lea r11d, [rbx + 0x65]
mov dword [rbp + 0x872], 0x5c0074
mov dword [rbp + 0x888], 0x5c0054
mov dword [rbp + 0x898], 0x560074
lea r9d, [rbx + 0x6f]
mov dword [rbp + 0x880], 0x730077
lea eax, [rbx + 0x43]
mov word [rbp + 0x88c], ax
mov dword [rbp + 0x87a], 0x64006e
mov word [rbp + 0x892], r13w
mov word [rbp + 0x868], r13w
mov dword [rbp + 0x8a6], WSACleanup
lea eax, [rbx + 0x52]
mov word [rbp + 0x85c], ax
lea eax, [rbx + 0x4d]
mov word [rbp + 0x862], ax
mov word [rbp + 0x87e], r9w
mov word [rbp + 0x89c], r11w
mov dword [rbp + 0x832], 0x64006f
mov dword [rbp + 0x836], 0x630075
mov dword [rbp + 0x82c], 0x50006c
mov dword [rbp + 0x828], 0x610074
mov dword [rbp + 0x83a], 0x490074
mov dword [rbp + 0x824], 0x690067
mov dword [rbp + 0x83e], 0x64
mov dword [rbp + 0x820], 0x690044
mov word [rbp + 0x830], r13w
mov edi, 0x800
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x20]
call fcn.14005c790
mov dword [rbp], edi
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
lea rdx, [rbp + 0x850]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011cb7
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x820]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011cad
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x8b0]
call fcn.14005c790
mov r8d, dword [rbp]
lea rdx, [rbp + 0x8b0]
lea rcx, [rbp + 0x20]
call fcn.14001195c
lea rax, [rbp + 0x8b0]
or r8, 0xffffffffffffffff
mov rcx, r8
inc rcx
cmp byte [rax + rcx], bl
jne 0x140011c2e
inc ecx
cmp ecx, 0x3fffffff
jg 0x140011c9b
movsxd rax, ecx
add rax, rax
lea rdx, [rax + 0xf]
cmp rdx, rax
ja 0x140011c59
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.14005a6b0
sub rsp, rdx
lea rdi, [rsp + 0x30]
test rdi, rdi
je 0x140011c9b
mov word [rdi], bx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdi
mov r9d, r8d
lea r8, [rbp + 0x8b0]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb rbx, rbx
and rbx, rdi
mov r8, rbx
lea rdx, [0x1400a55e8]
mov rcx, rsi
call fcn.140012804
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rsi
mov rcx, qword [rbp + 0xcb0]
xor rcx, rbp
call fcn.140059ac0
mov rbx, qword [rbp + 0xcf8]
mov rsi, qword [rbp + 0xd00]
mov rdi, qword [rbp + 0xd08]
lea rsp, [rbp + 0xcc0]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret