Function at 0x180047220
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x18013a080]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov eax, dword [0x1801201f0]
xor r8d, r8d
movsd xmm0, qword [str.z___WsK_M___C]
mov r9d, r8d
mov qword [r11 + 8], rsi
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
lea esi, [r8 + 5]
movaps xmmword [r11 - 0x38], xmm8
lea ebx, [rsi + 0x1a]
mov r11d, dword [reloc.WS2_32.dll_accept]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x1801201f4]
movsd qword [rsp + 0x40], xmm0
mov byte [rsp + 0x4c], al
cmp r11d, 2
jl 0x18004739d
movdqa xmm2, xmmword [0x180127970]
mov r9d, 8
movdqa xmm3, xmmword [0x180127990]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x180127d60]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, esi
movd xmm5, ebx
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801279b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.z___WsK_M___C]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180127a30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180127ae0]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x40], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801279b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x44]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180127a30]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180127ae0]
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
movsxd rax, r9d
lea r10, [rsp + 0x40]
add r10, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r10, [r10 + 1]
imul r9d
add edx, r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x37
xor byte [r10 - 1], al
cmp r9d, 0xd
jl 0x1800473b0
cmp byte [0x18011f901], r8b
movups xmm0, xmmword [str.z___WsK_M___]
movzx eax, word [0x18011f900]
mov word [rsp + 0x60], ax
movups xmmword [rsp + 0x50], xmm0
je 0x1800475a4
cmp r11d, 2
jl 0x18004755d
movdqa xmm0, xmmword [0x180127ae0]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x180127970]
movdqa xmm4, xmmword [0x180127d60]
movdqa xmm7, xmmword [0x1801279b0]
movdqa xmmword [rsp + 0x70], xmm0
mov edx, dword [rsp + 0x70]
movd xmm6, esi
movd xmm8, ebx
nop dword [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
paddd xmm1, xmm2
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 [0x180127a30]
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
paddd xmm1, xmm3
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 [0x180127a30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x180047450
cmp r8d, 0x12
jge 0x1800475a4
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x180047570
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [0x1801fb250]
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
mov qword [0x1801fb158], rax
test rax, rax
jne 0x1800476a0
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 0x180047667
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180047667
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x162fc972
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180047662
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180047640
cmp r8d, 0xa8f787f5
je 0x18004766c
test r9d, r9d
jne 0x180047620
mov rax, qword [rax]
jmp 0x1800475f0
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 ecx, 0x98967f
add rax, r10
call rax
mov rax, qword [0x1801fb158]
nop dword [rax]
nop word [rax + rax]
movdqa xmm0, xmmword [0x180127db0]
lea rdx, [rsp + 0x70]
mov rcx, rax
movdqu xmmword [rsp + 0x70], xmm0
call qword [0x1801fb238]
mov ecx, dword [0x1801fb710]
xor r9d, r9d
mov eax, dword [0x1801fb6dc]
add ecx, 0xfffffff7
mov dword [rsp + 0x30], 0x40
add eax, 0xfffffff9
mov dword [rsp + 0x28], ecx
xor r8d, r8d
mov rcx, qword [0x1801fb158]
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [0x1801fb240]
mov rcx, qword [0x1801fb158]
mov edx, esi
call qword [0x1801fb210]
mov rax, qword gs:[0x60]
mov rsi, qword [rsp + 0xd0]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [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 0x180047797
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180047797
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x3c013435
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180047792
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x180047770
cmp r8d, 0x449052f8
je 0x18004779c
test r9d, r9d
jne 0x180047750
mov rax, qword [rax]
jmp 0x180047720
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 [0x1801fb158]
add rax, r10
call rax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800e63a0
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret