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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x14011e098]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov eax, dword [0x1401050a8]
xorps xmm0, xmm0
xor ebx, ebx
mov dword [rbp - 0x59], eax
cmp word [0x1401050aa], bx
movups xmmword [rbp - 0x19], xmm0
mov dword [rbp + 0x17], ebx
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmm0, xmmword [0x140105098]
movups xmmword [rbp - 0x69], xmm0
je 0x140046b17
xor word [rbp - 0x67], 0x39
mov eax, WSASetLastError
xor word [rbp - 0x65], 0x3a
xor word [rbp - 0x63], 0x3b
xor word [rbp - 0x61], 0x3c
xor word [rbp - 0x5f], 0x3d
xor word [rbp - 0x5d], 0x3e
xor word [rbp - 0x5b], 0x3f
xor word [rbp - 0x59], 0x40
xor word [rbp - 0x57], 0x41
mov word [rbp - 0x69], ax
lea rcx, [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r9, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140046fa2
cmp byte [0x140106311], bl
movups xmm0, xmmword [0x1401062f8]
movzx ecx, word [0x140106310]
mov word [rbp - 0x39], cx
movups xmmword [rbp - 0x51], xmm0
movsd xmm0, qword [0x140106308]
movsd qword [rbp - 0x41], xmm0
je 0x140046d2f
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140046cf1
movdqa xmm0, xmmword [str.8888888888888888_t]
lea rcx, [rbp - 0x4d]
movdqa xmm5, xmmword [0x14010fad0]
mov eax, 5
movdqa xmm4, xmmword [0x14010fb30]
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm7
movdqa xmm7, xmmword [0x14010faf0]
movd xmm6, eax
mov eax, Ordinal_33
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
movaps xmmword [rsp + 0xc0], xmm8
movd xmm8, eax
nop word [rax + 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
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 [0x14010fb10]
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 [0x14010fb10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x18
jl 0x140046bd0
movaps xmm8, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
movaps xmm6, xmmword [rsp + 0xe0]
cmp ebx, 0x1a
jge 0x140046d2f
movsxd rax, ebx
lea r8, [rbp - 0x51]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
inc ebx
sub al, cl
add al, 0x38
xor byte [r8 - 1], al
cmp ebx, 0x1a
jl 0x140046d00
lea rdx, [rbp - 0x51]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140046fa2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [rbp + 0x17]
mov r9d, Ordinal_50
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x19]
mov rcx, rax
xor edx, edx
call rbx
test eax, eax
js 0x140046fa2
mov rax, qword [rbp - 0x11]
test rax, rax
je 0x140046fa2
cmp byte [rax + 2], 0
je 0x140046fa2
mov rax, qword gs:[0x60]
mov qword [rsp + 0x100], rdi
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140046e17
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140046e17
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140046e12
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140046df0
cmp r8d, 0xcded1a85
je 0x140046e1c
test r9d, r9d
jne 0x140046dd0
mov rax, qword [rax]
jmp 0x140046da0
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 rax, qword gs:[0x60]
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 0x140046ec7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140046ec7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140046ec2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140046ea0
cmp r8d, 0xe80fd3a
je 0x140046ecc
test r9d, r9d
jne 0x140046e80
mov rax, qword [rax]
jmp 0x140046e50
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 rax, qword gs:[0x60]
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 0x140046f77
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140046f77
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140046f72
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140046f50
cmp r8d, 0xa52bcaf9
je 0x140046f7c
test r9d, r9d
jne 0x140046f30
mov rax, qword [rax]
jmp 0x140046f00
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]
add rax, r10
call rax
call fcn.140041e80
mov rdi, qword [rsp + 0x100]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400f0970
mov rbx, qword [rsp + 0x108]
add rsp, 0xf0
pop rbp
ret