Function at 0x140048ad0
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov ebx, r8d
mov rdi, rdx
cmp ecx, 0x7b
ja 0x140048b05
movsxd rax, ecx
lea rcx, [0x140151610]
mov rcx, qword [rcx + rax*8]
test rcx, rcx
jne 0x140048b55
movzx eax, word [0x140104920]
lea rcx, [rbp - 0x19]
movsd xmm0, qword [str.bW_QVB]
movsd qword [rbp - 0x19], xmm0
xor byte [rbp - 0x18], 0x32
xor byte [rbp - 0x17], 0x33
xor byte [rbp - 0x16], 0x34
xor byte [rbp - 0x15], 0x35
xor byte [rbp - 0x14], 0x36
xor byte [rbp - 0x13], 0x37
xor byte [rbp - 0x12], 0x38
mov word [rbp - 0x11], ax
movzx eax, byte [0x140104922]
xor byte [rbp - 0x11], 0x39
xor byte [rbp - 0x10], 0x3a
xor al, 0x3b
mov byte [rbp - 0x19], 0x53
mov byte [rbp - 0xf], al
cmp ebx, 1
jne 0x140048d57
cmp byte [0x140104591], 0
movups xmm0, xmmword [str.a_VGF]
movzx eax, word [0x140104590]
mov word [rbp + 0x17], ax
movups xmmword [rbp + 7], xmm0
je 0x140048d53
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140048d0f
movdqa xmm0, xmmword [str.1111111111111111]
lea rcx, [rbp + 0xb]
movdqa xmm5, xmmword [0x140106030]
mov eax, 4
movdqa xmm4, xmmword [0x1401062b0]
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
movdqa xmm7, xmmword [0x140106060]
movd xmm6, eax
mov eax, Ordinal_33
movdqa xmmword [rbp - 9], xmm0
mov edx, dword [rbp - 9]
movaps xmmword [rsp + 0x70], xmm8
movd xmm8, eax
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
pand xmm2, xmmword [0x140106110]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor 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
pand xmm2, xmmword [0x140106110]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140048bf0
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
cmp r8d, 0x12
jge 0x140048d53
movsxd rax, r8d
lea r9, [rbp + 7]
add r9, rax
nop dword [rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x31
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x12
jl 0x140048d20
lea rcx, [rbp + 7]
movss xmm0, dword [0x140105c3c]
lea rdx, [rbp + 0x7f]
movss xmm1, dword [0x140105b54]
movss dword [rbp + 0x7f], xmm0
movss dword [rbp + 0x83], xmm1
call fcn.140037500
test al, al
je 0x140048da2
test ebx, ebx
jne 0x140048da2
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov r8, rdi
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret