Function at 0x140076e80
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 + 0x18], 0xfffffffffffffffe
mov qword [rbp + 0xcf8], rbx
mov qword [rbp + 0xd00], rsi
mov qword [rbp + 0xd08], rdi
mov rax, qword [0x1400a45d0]
xor rax, rbp
mov qword [rbp + 0xcb0], rax
mov rsi, rcx
mov qword [rbp + 0x10], rcx
xor ebx, ebx
mov dword [rbp + 4], ebx
lea rdx, [0x140098e70]
call fcn.140005fa8
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 dword [rbp + 0x20], ebx
xor edx, edx
mov r8d, 0x7fc
lea rcx, [rbp + 0x24]
call fcn.14004d2b0
mov dword [rbp], 0x800
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 0x140077182
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 0x140077178
mov byte [rbp + 0x8b0], bl
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rbp + 0x8b1]
call fcn.14004d2b0
mov r8d, dword [rbp]
lea rdx, [rbp + 0x8b0]
lea rcx, [rbp + 0x20]
call fcn.1400771c4
lea rax, [rbp + 0x8b0]
or r8, 0xffffffffffffffff
mov rcx, r8
inc rcx
cmp byte [rax + rcx], bl
jne 0x1400770f9
inc ecx
cmp ecx, 0x3fffffff
jg 0x140077166
movsxd rax, ecx
add rax, rax
lea rdx, [rax + 0xf]
cmp rdx, rax
ja 0x140077124
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.14004e040
sub rsp, rdx
lea rdi, [rsp + 0x30]
test rdi, rdi
je 0x140077166
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, [0x140098ed8]
mov rcx, rsi
call fcn.140006404
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.140049680
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