Function at 0x7ff876f00400
Capabilities:
Encode data using xor
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x2f0
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x80], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], sil
mov dword [rsp + 0x80], 1
xor edx, edx
mov cl, 0x53
call fcn.7ff876ee8b80
mov byte [rsp + 0x30], al
lea edx, [rsi + 1]
mov cl, 0x6f
call fcn.7ff876ee8b80
mov byte [rsp + 0x31], al
lea edx, [rsi + 2]
mov cl, 0x66
call fcn.7ff876ee8b80
mov byte [rsp + 0x32], al
lea edx, [rsi + 3]
mov cl, 0x74
call fcn.7ff876ee8b80
mov byte [rsp + 0x33], al
lea edx, [rsi + 4]
mov cl, 0x77
call fcn.7ff876ee8b80
mov byte [rsp + 0x34], al
lea edx, [rsi + 5]
mov cl, 0x61
call fcn.7ff876ee8b80
mov byte [rsp + 0x35], al
lea edx, [rsi + 6]
mov cl, 0x72
call fcn.7ff876ee8b80
mov byte [rsp + 0x36], al
lea edx, [rsi + 7]
mov cl, 0x65
call fcn.7ff876ee8b80
mov byte [rsp + 0x37], al
lea edx, [rsi + 8]
mov cl, 0x5c
call fcn.7ff876ee8b80
mov byte [rsp + 0x38], al
lea edx, [rsi + 9]
mov cl, 0x4d
call fcn.7ff876ee8b80
mov byte [rsp + 0x39], al
lea edx, [rsi + 0xa]
mov cl, 0x69
call fcn.7ff876ee8b80
mov byte [rsp + 0x3a], al
lea edx, [rsi + 0xb]
mov cl, 0x63
call fcn.7ff876ee8b80
mov byte [rsp + 0x3b], al
lea edx, [rsi + 0xc]
mov cl, 0x72
call fcn.7ff876ee8b80
mov byte [rsp + 0x3c], al
lea edx, [rsi + 0xd]
mov cl, 0x6f
call fcn.7ff876ee8b80
mov byte [rsp + 0x3d], al
lea edx, [rsi + 0xe]
mov cl, 0x73
call fcn.7ff876ee8b80
mov byte [rsp + 0x3e], al
lea edx, [rsi + 0xf]
mov cl, 0x6f
call fcn.7ff876ee8b80
mov byte [rsp + 0x3f], al
lea edx, [rsi + 0x10]
mov cl, 0x66
call fcn.7ff876ee8b80
mov byte [rsp + 0x40], al
lea edx, [rsi + 0x11]
mov cl, 0x74
call fcn.7ff876ee8b80
mov byte [rsp + 0x41], al
lea edx, [rsi + 0x12]
mov cl, 0x5c
call fcn.7ff876ee8b80
mov byte [rsp + 0x42], al
lea edx, [rsi + 0x13]
mov cl, 0x43
call fcn.7ff876ee8b80
mov byte [rsp + 0x43], al
lea edx, [rsi + 0x14]
mov cl, 0x72
call fcn.7ff876ee8b80
mov byte [rsp + 0x44], al
lea edx, [rsi + 0x15]
mov cl, 0x79
call fcn.7ff876ee8b80
mov byte [rsp + 0x45], al
lea edx, [rsi + 0x16]
mov cl, 0x70
call fcn.7ff876ee8b80
mov byte [rsp + 0x46], al
lea edx, [rsi + 0x17]
mov cl, 0x74
call fcn.7ff876ee8b80
mov byte [rsp + 0x47], al
lea edx, [rsi + 0x18]
mov cl, 0x6f
call fcn.7ff876ee8b80
mov byte [rsp + 0x48], al
lea edx, [rsi + 0x19]
mov cl, 0x67
call fcn.7ff876ee8b80
mov byte [rsp + 0x49], al
lea edx, [rsi + 0x1a]
mov cl, 0x72
call fcn.7ff876ee8b80
mov byte [rsp + 0x4a], al
lea edx, [rsi + 0x1b]
mov cl, 0x61
call fcn.7ff876ee8b80
mov byte [rsp + 0x4b], al
lea edx, [rsi + 0x1c]
mov cl, 0x70
call fcn.7ff876ee8b80
mov byte [rsp + 0x4c], al
lea edx, [rsi + 0x1d]
mov cl, 0x68
call fcn.7ff876ee8b80
mov byte [rsp + 0x4d], al
lea edx, [rsi + 0x1e]
mov cl, 0x79
call fcn.7ff876ee8b80
mov byte [rsp + 0x4e], al
xor eax, eax
mov byte [rsp + 0x4f], al
mov edx, esi
nop dword [rax]
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x30]
add rcx, rax
lea eax, [rdx + 0x13]
xor byte [rcx], al
inc edx
cmp edx, 0x1f
jb 0x7ff876f00600
mov byte [rsp + 0x4f], 0
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 0xffffffff
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.kernel32.dll_MultiByteToWideChar]
movsxd rdi, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x98], xmm1
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x88]
call fcn.7ff876f01cf0
nop
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 7
cmova rdx, qword [rsp + 0x88]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdx
mov r9d, 0xffffffff
lea r8, [0x7ff876f56a80]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.kernel32.dll_MultiByteToWideChar]
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 7
cmova rdx, qword [rsp + 0x88]
lea rax, [rsp + 0x328]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff876f00a4d
mov dword [rsp + 0x318], 0x100
lea ecx, [rax + 0x4d]
xor edx, edx
call fcn.7ff876f003f0
mov word [rsp + 0x50], ax
lea ecx, [rdx + 0x61]
lea edx, [rcx - 0x60]
call fcn.7ff876f003f0
mov word [rsp + 0x52], ax
lea ecx, [rdx + 0x62]
lea edx, [rcx - 0x61]
call fcn.7ff876f003f0
mov word [rsp + 0x54], ax
lea ecx, [rdx + 0x66]
lea edx, [rcx - 0x65]
call fcn.7ff876f003f0
mov word [rsp + 0x56], ax
lea ecx, [rdx + 0x66]
lea edx, [rcx - 0x65]
call fcn.7ff876f003f0
mov word [rsp + 0x58], ax
lea ecx, [rdx + 0x6a]
lea edx, [rcx - 0x69]
call fcn.7ff876f003f0
mov word [rsp + 0x5a], ax
lea ecx, [rdx + 0x60]
lea edx, [rcx - 0x5f]
call fcn.7ff876f003f0
mov word [rsp + 0x5c], ax
lea ecx, [rdx + 0x41]
lea edx, [rcx - 0x40]
call fcn.7ff876f003f0
mov word [rsp + 0x5e], ax
lea ecx, [rdx + 0x6e]
lea edx, [rcx - 0x6d]
call fcn.7ff876f003f0
mov word [rsp + 0x60], ax
lea ecx, [rdx + 0x61]
lea edx, [rcx - 0x60]
call fcn.7ff876f003f0
mov word [rsp + 0x62], ax
lea ecx, [rdx + 0x5b]
lea edx, [rcx - 0x5a]
call fcn.7ff876f003f0
mov word [rsp + 0x64], ax
xor ecx, ecx
lea edx, [rcx + 0xb]
call fcn.7ff876f003f0
mov word [rsp + 0x66], ax
lea edx, [rcx + 0xc]
movzx ecx, word [0x7ff876f56ab8]
call fcn.7ff876f003f0
mov word [rsp + 0x68], ax
mov edx, 0xd
movzx ecx, word [0x7ff876f56aba]
call fcn.7ff876f003f0
mov word [rsp + 0x6a], ax
mov edx, 0xe
movzx ecx, word [0x7ff876f56abc]
call fcn.7ff876f003f0
mov word [rsp + 0x6c], ax
mov edx, 0xf
movzx ecx, word [0x7ff876f56abe]
call fcn.7ff876f003f0
mov word [rsp + 0x6e], ax
mov edx, 0x10
movzx ecx, word [0x7ff876f56ac0]
call fcn.7ff876f003f0
mov word [rsp + 0x70], ax
mov edx, 0x11
movzx ecx, word [0x7ff876f56ac2]
call fcn.7ff876f003f0
mov word [rsp + 0x72], ax
mov edx, 0x12
movzx ecx, word [0x7ff876f56ac4]
call fcn.7ff876f003f0
mov word [rsp + 0x74], ax
mov edx, 0x13
movzx ecx, word [0x7ff876f56ac6]
call fcn.7ff876f003f0
mov word [rsp + 0x76], ax
mov edx, 0x14
movzx ecx, word [0x7ff876f56ac8]
call fcn.7ff876f003f0
mov word [rsp + 0x78], ax
mov edx, 0x15
movzx ecx, word [0x7ff876f56aca]
call fcn.7ff876f003f0
mov word [rsp + 0x7a], ax
mov edx, 0x16
movzx ecx, word [0x7ff876f56acc]
call fcn.7ff876f003f0
mov word [rsp + 0x7c], ax
xor eax, eax
mov word [rsp + 0x7e], ax
mov eax, esi
mov r8d, 0x133
nop dword [rax]
nop dword [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x50]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + rax]
xor word [rdx], cx
inc eax
cmp eax, 0x17
jb 0x7ff876f008c0
mov word [rsp + 0x7e], si
lea rax, [rsp + 0x318]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x320]
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x328]
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff876f00a3e
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x30]
call fcn.7ff876f01930
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x30]
cmova rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xa8]
call fcn.7ff876f01a80
nop
lea rax, [rsp + 0xa8]
cmp rbx, rax
je 0x7ff876f0099d
lea rdx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0xf
cmova rdx, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb8]
mov rcx, rbx
call fcn.7ff876effe60
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 0xf
jbe 0x7ff876f009e0
inc rdx
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff876f009db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff876f00ab8
call fcn.7ff876f125fc
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], 0xf
mov byte [rsp + 0xa8], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x7ff876f00a3e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff876f00a39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff876f00abe
call fcn.7ff876f125fc
mov rcx, qword [rsp + 0x328]
call qword [sym.imp.advapi32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0xa0]
cmp rdx, 7
jbe 0x7ff876f00a91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff876f00a8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff876f00ac4
call fcn.7ff876f125fc
movdqa xmm0, xmmword [0x7ff876f57540]
movdqu xmmword [rsp + 0x98], xmm0
mov word [rsp + 0x88], si
mov rax, rbx
add rsp, 0x2f0
pop rdi
pop rsi
pop rbx
ret
call fcn.7ff876f28a04
nop
call fcn.7ff876f28a04
nop
call fcn.7ff876f28a04
int3