Function at 0x1400043a0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x148]
sub rsp, 0x230
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x14007d0e0]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rsi, rdx
mov qword [rbp - 0x80], rdx
movdqa xmm6, xmmword [0x140073cc0]
movdqa xmm7, xmmword [0x140073ca0]
mov edi, 4
mov rax, qword gs:[0x58]
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x140080b0c], eax
jle 0x140004443
lea rcx, [0x140080b0c]
call fcn.140034dc4
cmp dword [0x140080b0c], 0xffffffff
jne 0x140004443
movups xmmword [0x140080ae0], xmm6
movups xmmword [0x140080af0], xmm7
lea rcx, [0x140061730]
call fcn.140035148
lea rcx, [0x140080b0c]
call fcn.140034d64
xor r14d, r14d
lea rdx, [0x140080ae0]
cmp byte [0x140080aff], r14b
je 0x140004480
mov eax, r14d
movdqa xmm1, xmmword [str.................HZrmWZAIOFW.kVMKZGA_]
movdqu xmm0, xmmword [rax + rdx]
pxor xmm0, xmm1
movdqu xmmword [rax + rdx], xmm0
add rax, 0x10
cmp rax, 0x20
jb 0x140004461
nop dword [rax]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], r14b
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400044a0
lea rcx, [rsp + 0x30]
call fcn.14000a440
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rax
lea rcx, [rbp]
call fcn.140008640
nop
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x40]
add r9, r8
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call fcn.140009cf0
nop
lea rcx, [rbp]
call fcn.140008550
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140004551
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000454c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000493f
call fcn.140034c64
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov dword [rbp - 0x80], 0x464d4f63
mov dword [rbp - 0x7c], 0x694b4047
mov dword [rbp - 0x78], 0x2e4a475b
mov eax, dword [rdi]
cmp dword [0x140080c14], eax
jle 0x1400045c6
lea rcx, [0x140080c14]
call fcn.140034dc4
cmp dword [0x140080c14], 0xffffffff
jne 0x1400045c6
movsd xmm0, qword [rbp - 0x80]
movsd qword [0x140080bc8], xmm0
mov eax, dword [rbp - 0x78]
mov dword [0x140080bd0], eax
lea rcx, [0x140061720]
call fcn.140035148
lea rcx, [0x140080c14]
call fcn.140034d64
lea rdx, [0x140080bc8]
cmp byte [0x140080bd3], 0
je 0x1400045ed
mov rax, r14
nop dword [rax]
xor byte [rax + rdx], 0x2e
inc rax
cmp rax, 0xc
jb 0x1400045e0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140004600
mov r8, rbx
lea rcx, [rsp + 0x50]
call fcn.14000a440
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rax
lea rcx, [rbp]
call fcn.140008640
nop
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x60]
add r9, r8
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call fcn.140009cf0
nop
lea rcx, [rbp]
call fcn.140008550
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400046b4
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400046af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004945
call fcn.140034c64
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x68]
xor r8d, r8d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000494b
cmp dword [rbp - 0x68], 1
jne 0x140004977
mov edx, dword [rsp + 0x78]
shr rdx, 1
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r14w
xor r8d, r8d
lea rcx, [rbp - 0x60]
call fcn.14000a280
nop
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rax, qword [rbp - 0x60]
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x70]
test eax, eax
jne 0x14000499e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], rax
lea rcx, [rbp + 0x80]
call fcn.140008640
nop
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
mov rax, qword [rbp - 0x50]
lea r9, [r8 + rax*2]
mov rdx, rsi
lea rcx, [rbp + 0x80]
call fcn.1400093d0
nop
lea rcx, [rbp + 0x80]
call fcn.140008550
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140004867
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004862
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400049c0
call fcn.140034c64
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r14w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1400048b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400049c6
call fcn.140034c64
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r14w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140004905
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004900
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004939
call fcn.140034c64
mov rax, rsi
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140034c40
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14003f0f0
nop
call fcn.14003f0f0
nop
call fcn.14003f0f0
int3
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.Could_not_read_value
lea rcx, [rbp - 0x80]
call fcn.1400014b0
lea rdx, [0x14007bde0]
lea rcx, [rbp - 0x80]
call fcn.140036c28
int3
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, str.Incorrect_value_type
mov qword [rbp - 0x80], rax
lea rdx, [0x14007bdc0]
lea rcx, [rbp - 0x80]
call fcn.140036c28
nop
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, str.Could_not_read_value
mov qword [rbp - 0x80], rax
lea rdx, [0x14007bdc0]
lea rcx, [rbp - 0x80]
call fcn.140036c28
nop
call fcn.14003f0f0
nop
call fcn.14003f0f0
int3