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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
cmp edx, 1
jne 0x18006357a
movaps xmmword [rsp + 0x70], xmm6
xor ebx, ebx
movaps xmmword [rsp + 0x60], xmm7
mov edi, ebx
movaps xmmword [rsp + 0x50], xmm8
xor eax, eax
mov esi, edx
lock cmpxchg dword [0x1800dff24], esi
je 0x180063171
nop dword [rax]
cmp rdi, 0x20
jae 0x18006315a
xor ecx, ecx
jmp 0x18006315c
mov ecx, esi
call qword [sym.imp.kernel32.dll_Sleep]
inc rdi
xor eax, eax
lock cmpxchg dword [0x1800dff24], esi
jne 0x180063150
cmp qword [0x1800dff28], rbx
jne 0x18006318e
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_HeapCreate]
mov qword [0x1800dff28], rax
mov eax, ebx
mov qword [rsp + 0x28], rbx
xchg dword [0x1800dff24], eax
xor r9d, r9d
mov dword [rsp + 0x20], ebx
lea r8, [0x180062c70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_CreateThread]
movzx eax, word [0x1800d135c]
mov r8d, ebx
movsd xmm0, qword [0x1800d1350]
mov r10d, dword [0x1800df0e0]
mov ecx, dword [0x1800d1358]
movdqa xmm6, xmmword [0x1800d1860]
movdqa xmm2, xmmword [0x1800d17d0]
movdqa xmm3, xmmword [0x1800d17c0]
movdqa xmm4, xmmword [0x1800d1790]
movdqa xmm8, xmmword [0x1800d18e0]
movdqa xmm7, xmmword [0x1800d1850]
movdqa xmm5, xmmword [0x1800d1dc0]
mov word [rsp + 0x49], ax
movzx eax, byte [0x1800d135e]
mov byte [rsp + 0x4b], al
movsd qword [rsp + 0x3d], xmm0
mov dword [rsp + 0x45], ecx
cmp r10d, 2
jl 0x180063355
movdqa xmm1, xmm4
movdqa xmm0, xmm4
punpckldq xmm1, xmm4
mov r8d, 0xc
pmuldq xmm1, xmm5
punpckhdq xmm0, xmm4
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm4
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm4
pmulld xmm0, xmm7
psubd xmm1, xmm0
movd xmm0, dword [0x1800d1350]
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm8
xorps xmm1, xmm0
movdqa xmm0, xmm3
movd dword [rsp + 0x3d], xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm7
psubd xmm1, xmm0
movd xmm0, dword [rsp + 0x41]
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm8
xorps xmm1, xmm0
movdqa xmm0, xmm2
movd dword [rsp + 0x41], xmm1
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm7
psubd xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm8
xorps xmm1, xmm0
movd dword [rsp + 0x45], xmm1
mov eax, r8d
lea r9, [rsp + 0x3d]
add r9, rax
mov eax, 0x8d3dcb09
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, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x180063360
movsd xmm0, qword [0x1800d1288]
movzx eax, byte [0x1800d1294]
mov ecx, dword [0x1800d1290]
movsd qword [rsp + 0x30], xmm0
mov byte [rsp + 0x3c], al
mov dword [rsp + 0x38], ecx
cmp r10d, 2
jl 0x1800634e8
movdqa xmm1, xmm4
movd eax, xmm8
punpckldq xmm1, xmm4
movdqa xmm0, xmm4
punpckhdq xmm0, xmm4
mov ebx, 0xc
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm4
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm7
psubd xmm4, xmm0
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
andps xmm4, xmm6
packuswb xmm4, xmm4
packuswb xmm4, xmm4
movd xmm0, eax
paddb xmm4, xmm0
movd xmm0, dword [0x1800d1288]
xorps xmm4, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rsp + 0x30], xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x34]
pmulld xmm0, xmm7
psubd xmm3, xmm0
movd xmm0, eax
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
xorps xmm3, xmm1
movdqa xmm1, xmm2
pmuldq xmm0, xmm5
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movd dword [rsp + 0x34], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, ecx
pmulld xmm0, xmm7
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x38], xmm2
movaps xmm8, xmmword [rsp + 0x50]
lea r8, [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov eax, ebx
add r8, rax
nop dword [rax]
nop word [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, 0x34
xor byte [r8 - 1], al
cmp ebx, 0xd
jl 0x180063510
lea rcx, [rsp + 0x30]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x3d]
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
lea r8, [0x1800dfef0]
lea rdx, [0x180001030]
call fcn.180044ea0
call fcn.180045180
mov eax, esi
jmp 0x180063640
test edx, edx
jne 0x18006363b
xor ebx, ebx
mov esi, 1
mov edi, ebx
xor eax, eax
lock cmpxchg dword [0x1800dff24], esi
je 0x1800635b8
cmp rdi, 0x20
jae 0x1800635a1
xor ecx, ecx
jmp 0x1800635a3
mov ecx, esi
call qword [sym.imp.kernel32.dll_Sleep]
inc rdi
xor eax, eax
lock cmpxchg dword [0x1800dff24], esi
jne 0x180063597
cmp qword [0x1800dff28], rbx
je 0x180063631
xor ecx, ecx
call fcn.180044d50
test eax, eax
jne 0x180063631
mov rcx, qword [0x1800e0000]
mov qword [0x1800e0000], rbx
test rcx, rcx
je 0x1800635f9
nop
mov rdi, qword [rcx]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.kernel32.dll_VirtualFree]
mov rcx, rdi
test rdi, rdi
jne 0x1800635e0
mov r8, qword [0x1800dfff0]
xor edx, edx
mov rcx, qword [0x1800dff28]
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x1800dff28]
call qword [sym.imp.kernel32.dll_HeapDestroy]
mov qword [0x1800dff28], rbx
mov qword [0x1800dfff0], rbx
mov qword [0x1800dfff8], rbx
xchg dword [0x1800dff24], ebx
mov eax, esi
jmp 0x180063640
mov eax, 1
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret