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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x18006b068]
xor edi, edi
mov rbx, rcx
test rax, rax
je 0x180048041
mov rax, qword [rax + 0x98]
jmp 0x180048044
mov rax, rdi
cmp dword [rax + 0x28], edi
jne 0x18004804e
call fcn.1800060e0
call fcn.180006e40
call fcn.18000d8d0
cmp byte [rbx], dil
je 0x1800485ac
mov rax, qword [0x18006b068]
xorps xmm1, xmm1
movss xmm0, dword [rax + 0x18]
addss xmm0, xmm0
mulss xmm0, dword [0x180060700]
addss xmm0, dword [0x18006b5b8]
comiss xmm1, xmm0
ja 0x180048095
movss xmm1, dword [0x1800606ec]
minss xmm1, xmm0
comiss xmm1, dword [0x180060650]
movss dword [0x18006b5b8], xmm1
jbe 0x180048581
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
movaps xmmword [rsp + 0x70], xmm8
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x50], xmm12
call fcn.18000c360
xor ecx, ecx
call fcn.1800265b0
mov rax, qword [0x18006b068]
xor ecx, ecx
movss xmm1, dword [0x18006b5b8]
mov qword [rax + 0x3834], 0x3f800000
mov dword [rax + 0x383c], 0x40400000
mov dword [rax + 0x380c], edi
mov dword [rax + 0x3870], 0x40400000
mov dword [rax + 0x386c], 0x40a00000
or dword [rax + 0x3fe0], 2
mov dword [rax + 0x4000], 0x44518000
mov dword [rax + 0x4004], 0x4405c000
mov dword [rax + 0x3fe8], 1
call fcn.180009fb0
cmp byte [0x18005f2db], dil
movsd xmm0, qword [str.tLTZ]
mov eax, dword [0x18005f2d8]
movsd qword [rbp - 9], xmm0
mov dword [rbp - 1], eax
je 0x1800482a1
cmp dword [0x18006a428], 2
mov r8d, edi
jl 0x180048258
movdqa xmm2, xmmword [0x1800609e0]
mov r8d, 8
movdqa xmm4, xmmword [0x180060d70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180060a00]
psubd xmm2, xmm0
movd xmm0, dword [str.tLTZ]
andps xmm2, xmmword [0x180060a20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180060aa0]
xorps xmm2, xmm0
movd dword [rbp - 9], xmm2
movdqa xmm2, xmmword [0x1800609f0]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180060a00]
psubd xmm2, xmm0
movd xmm0, dword [rbp - 5]
andps xmm2, xmmword [0x180060a20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180060aa0]
xorps xmm2, xmm0
movd dword [rbp - 5], xmm2
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop dword [rax]
nop word [rax + rax]
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, 0x38
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x180048270
xor edx, edx
lea rcx, [rbp - 9]
mov r8d, 0x1ab
call fcn.1800136c0
call fcn.180047bf0
call fcn.180047380
cmp byte [0x18006c240], dil
mov rcx, qword [0x18006b068]
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ed8]
mov rbx, qword [rax + 0x288]
jne 0x180048313
mov qword [rsp + 0x28], rdi
lea r8, [0x180015f70]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [0x18006b068]
mov byte [0x18006c240], 1
mov rax, qword [rcx + 0x3ed8]
movss xmm0, dword [rcx + 0x37f8]
lea rcx, [rbp - 9]
mulss xmm0, dword [0x180060874]
mov dword [rbp - 9], 0x3e24a4a5
movss xmm11, dword [rax + 0x18]
movss xmm12, dword [rax + 0x1c]
movaps xmm8, xmm11
addss xmm8, dword [0x180060840]
addss xmm11, dword [0x1800607a8]
cvttss2si eax, xmm0
mov dword [rbp - 5], 0x3e24a4a5
mov dword [rbp - 1], 0x3e24a4a5
movaps xmm7, xmm12
movss dword [rbp + 0x67], xmm8
addss xmm7, dword [0x18006089c]
addss xmm12, dword [0x180060890]
movss dword [rbp + 0x6f], xmm11
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [rbp + 0x6b], xmm7
mulss xmm1, dword [0x180060648]
movss dword [rbp + 0x73], xmm12
movss dword [rbp + 3], xmm1
call fcn.180009c50
movss xmm6, dword [0x180060784]
lea rdx, [rbp + 0x6f]
mov r9d, eax
mov dword [rsp + 0x28], 0xf0
lea r8, [rbp + 0x67]
movss dword [rsp + 0x20], xmm6
mov rcx, rbx
call fcn.180029910
mov rax, qword [0x18006b068]
lea rcx, [rbp - 9]
movss dword [rbp + 0x67], xmm8
movss dword [rbp + 0x6b], xmm7
movss dword [rbp + 0x6f], xmm11
movss xmm0, dword [rax + 0x37f8]
mulss xmm0, dword [0x180060874]
mov dword [rbp - 9], 0x3e48c8ca
movss dword [rbp + 0x73], xmm12
mov dword [rbp - 5], 0x3e48c8ca
cvttss2si eax, xmm0
mov dword [rbp - 1], 0x3e48c8ca
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x180060648]
movss dword [rbp + 3], xmm1
call fcn.180009c50
movss xmm0, dword [0x1800606ec]
lea r8, [rbp + 0x67]
movss dword [rsp + 0x30], xmm0
lea rdx, [rbp + 0x6f]
mov dword [rsp + 0x28], 0xf0
mov r9d, eax
mov rcx, rbx
movss dword [rsp + 0x20], xmm6
call fcn.180029800
mov rcx, qword [0x18006b068]
mov rax, qword [rcx + 0x3ed8]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ed8]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x64]
movss xmm2, dword [rax + 0x1c]
subss xmm2, dword [rax + 0x68]
addss xmm0, dword [0x1800607bc]
addss xmm2, dword [0x180060894]
movss dword [rax + 0xe0], xmm0
movss dword [rax + 0xe4], xmm2
movss xmm1, dword [rax + 0xf8]
maxss xmm1, xmm0
movss xmm0, dword [rax + 0xfc]
maxss xmm0, xmm2
movss dword [rax + 0xf8], xmm1
movss dword [rax + 0xfc], xmm0
call fcn.1800470a0
call fcn.1800158e0
mov rcx, qword [0x18006b068]
movsxd rax, dword [rcx + 0x4060]
mov r8, qword [rcx + 0x4068]
lea rdx, [rax + rax*2]
movaps xmm12, xmmword [rsp + 0x50]
lea r10, [0x180058c20]
movaps xmm11, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x70]
movsxd rax, dword [r8 + rdx*4 - 0xc]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
lea rax, [rax + rax*2]
cmp dword [r10 + rax*4], 8
mov r9d, dword [r10 + rax*4 + 8]
jne 0x18004857b
mov eax, dword [r10 + rax*4 + 4]
cmp eax, 1
jne 0x18004855c
mov eax, dword [r8 + rdx*4 - 8]
mov dword [r9 + rcx + 0x37f8], eax
jmp 0x18004857b
cmp eax, 2
jne 0x18004857b
mov eax, dword [r8 + rdx*4 - 8]
mov dword [r9 + rcx + 0x37f8], eax
mov eax, dword [r8 + rdx*4 - 4]
mov dword [r9 + rcx + 0x37fc], eax
dec dword [rcx + 0x4060]
call fcn.18000fef0
call fcn.180010290
mov rax, qword [0x18006b068]
mov rcx, qword [rax + 0x40e0]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.180005960
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret