Function at 0x140016440
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x140
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140044040]
xor rax, rsp
mov qword [rbp + 0xe0], rax
movabs rcx, 0xfa5c5fd3af750d43
movabs rdx, 0x59cc99ea04b59992
movabs rax, 0x7389cbab53f8cfb8
xor r12d, r12d
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp], rax
mov qword [rbp + 0x78], rcx
mov rax, qword [rbp + 0x78]
mov qword [rbp + 8], rax
mov qword [rbp + 0x78], rdx
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x78], rcx
mov rax, qword [rbp + 0x78]
movdqa xmm0, xmmword [rbp]
mov qword [rbp + 0x98], rax
lea rax, [rbp]
xorps xmm0, xmmword [rbp + 0x90]
mov qword [rbp + 0x60], rax
movabs rax, 0x59ccb3b24bf7cfb8
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp], rax
mov qword [rbp + 0x78], rcx
mov rax, qword [rbp + 0x78]
mov qword [rbp + 8], rax
mov qword [rbp + 0x78], rdx
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x78], rcx
mov rax, qword [rbp + 0x78]
movdqa xmm0, xmmword [rbp]
mov qword [rbp + 0x98], rax
lea rax, [rbp]
xorps xmm0, xmmword [rbp + 0x90]
mov qword [rbp + 0x68], rax
movabs rax, 0x158dccbe56fccfb8
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp], rax
movabs rax, 0xfa5c5fd3af750d69
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 8], rax
mov qword [rbp + 0x78], rdx
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x78], rcx
mov rax, qword [rbp + 0x78]
movdqa xmm0, xmmword [rbp]
mov r10, qword [0x1402bc7f8]
mov qword [rbp + 0x98], rax
lea rax, [rbp]
xorps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x80], 0x3f
test r10, r10
jne 0x140016758
mov rax, qword gs:[0x60]
mov ebx, r12d
mov r11d, 0xc9c7ee80
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r13, qword [rax]
mov rsi, r13
nop
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test ebx, ebx
je 0x14001662c
psrldq xmm0, 8
mov edx, 0xe084d769
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140016624
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140016610
cmp edx, ebx
jne 0x14001672f
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
mov edi, ecx
shr r15, 0x20
add rdi, r9
cmp rdi, r9
je 0x14001672f
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x14001672f
mov r14d, dword [rdi + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0xe084d769
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400166a7
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140016690
cmp edx, r11d
je 0x1400166b3
test r8d, r8d
jne 0x140016670
jmp 0x14001672f
mov ecx, dword [rdi + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov r10d, dword [rcx + rdx*4]
add r10, r9
cmp r10, rdi
jbe 0x140016747
lea rax, [r15 + rdi]
cmp r10, rax
jae 0x140016747
movzx eax, byte [r10]
mov ebx, 0xe084d769
mov r11d, ebx
cmp al, 0x2e
je 0x140016706
nop dword [rax]
movsx eax, al
inc r10
xor eax, ebx
imul ebx, eax, 0x1000193
movzx eax, byte [r10]
cmp al, 0x2e
jne 0x1400166f0
movzx eax, byte [r10 + 1]
inc r10
test al, al
je 0x14001672b
movsx eax, al
lea r10, [r10 + 1]
xor eax, r11d
imul r11d, eax, 0x1000193
movzx eax, byte [r10]
test al, al
jne 0x140016712
mov rsi, qword [r13]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, r13
je 0x140016744
cmp qword [rax + 0x30], r12
jne 0x1400165e0
mov r10, r12
mov qword [0x1402bc7f8], r10
movabs rdx, 0x59cc99ea04b59992
movabs rcx, 0xcebd5eb74ec00587
movabs rax, 0x1a90d4af50e6c0c1
mov qword [rbp + 0x78], rax
mov r9d, 0x20019
mov rax, qword [rbp + 0x78]
xor r8d, r8d
mov qword [rbp + 0x20], rax
movabs rax, 0x9f0f33bcdd01632c
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x28], rax
movabs rax, 0x6e7013c05a5dd900
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x30], rax
movabs rax, 0xd5e15af683238b53
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x38], rax
movabs rax, 0x7d891d20ff6a1625
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x78], rcx
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x78], rdx
lea rdx, [rbp + 0x20]
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0xa0], rax
movabs rax, 0xfa5c5fd3af750d43
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0xa8], rax
movabs rax, 0x1c15409c6b6de974
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0xb0], rax
movabs rax, 0xbca50685e640e225
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0xb8], rax
movabs rax, 0x7de4684eba367d56
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0x78], rcx
mov rcx, 0xffffffff80000002
mov rax, qword [rbp + 0x78]
movdqa xmm2, xmmword [rbp + 0x40]
vmovdqu ymm0, ymmword [rbp + 0xa0]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
mov qword [rbp + 0xc8], rax
lea rax, [rbp + 0x78]
vxorps xmm2, xmm2, xmmword [rbp + 0xc0]
vmovdqa ymmword [rbp + 0x20], ymm1
vmovdqa xmmword [rbp + 0x40], xmm2
mov qword [rsp + 0x20], rax
vzeroupper
call r10
test eax, eax
jne 0x140016a8d
mov rcx, qword [rbp + 0x78]
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
lea rdx, [0x14003db58]
lea rax, [rbp + 0xa0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140016916
lea rbx, [rbp + 0x60]
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rbx]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x1400169b0
inc r12d
add rbx, 8
cmp r12d, 3
jb 0x1400168f0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400169ab
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400169ab
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x2ca5b7
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400169a6
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140016980
cmp r8d, 0xb7899f38
je 0x140016a70
test r9d, r9d
jne 0x140016960
mov rax, qword [rax]
jmp 0x140016930
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140016a47
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140016a47
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x87b0d39e
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140016a42
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140016a20
cmp r8d, 0xd01669bf
je 0x140016a4c
test r9d, r9d
jne 0x140016a00
mov rax, qword [rax]
jmp 0x1400169d0
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, qword [rbp + 0x78]
add rax, r10
call rax
mov eax, 1
jmp 0x140016a8f
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, qword [rbp + 0x78]
add rax, r10
call rax
xor eax, eax
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140021920
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret