Function at 0x140005540
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x140097040]
xor rax, rsp
mov qword [rbp + 0x10], rax
xorps xmm0, xmm0
movups xmmword [0x1400d48a8], xmm0
xorps xmm1, xmm1
movups xmmword [0x1400d4900], xmm1
xorps xmm10, xmm10
movsd qword [0x1400d4910], xmm10
xor r13d, r13d
mov qword [0x1400d4890], r13
lea rcx, [rsp + 0x30]
call fcn.140002ab0
movss xmm13, dword [0x14008ebbc]
movss xmm11, dword [0x14008ebf4]
movss xmm12, dword [0x14008ece4]
movss xmm15, dword [0x14008ec70]
xorps xmm14, xmm14
mov rbx, qword [rsp + 0x30]
lea r14, [0x140000000]
movabs r12, 0xffffff0000ff00
lea r15, [0x1400060d0]
nop dword [rax]
lea rcx, [rsp + 0x60]
call fcn.140002ab0
mov rax, qword [rsp + 0x60]
mov rcx, rax
sub rcx, rbx
cmp rcx, 0x4c4b40
jl 0x140005630
mov rbx, rax
call fcn.140005010
cmp qword [0x1400d4878], 0
je 0x14000594a
mov dword [0x1400d55e8], 0x7f7fffff
mov qword [0x1400d55e0], r13
mov r12, qword [0x1400d4148]
mov rdi, qword [0x1400d4140]
cmp rdi, r12
je 0x140005e4c
nop dword [rax]
mov rsi, qword [rdi]
mov rcx, rsi
call fcn.140002fc0
mov r14, rax
mov r15, qword [rdi + 0x18]
cmp byte [0x1400d4092], 0
je 0x1400056f1
mov rcx, qword [0x1400d4840]
add rcx, 0x148
call fcn.140005ee0
movaps xmm6, xmm0
lea rcx, [r14 + 0x2f0]
call fcn.140005f90
addss xmm0, xmm13
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
comisd xmm1, xmm6
setae al
cmp byte [0x1400d4092], 0
je 0x1400056f1
test al, al
je 0x140005808
lea rcx, [rsi + 0x6f0]
call fcn.140003e60
test al, 0x20
jne 0x140005808
lea rcx, [rsi + 0x2b2]
call fcn.140003e60
test al, 0x20
jne 0x140005808
mov rcx, qword [rdi + 8]
add rcx, 0x1239
call fcn.140003dc0
cmp dword [0x1400d4868], eax
je 0x140005808
cmp byte [0x1400d4090], 0
je 0x140005808
mov r9d, 0x6e
mov r8, r15
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.140004d20
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x10], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp], xmm1
lea r8, [rbp - 0x10]
lea rdx, [rsp + 0x70]
call fcn.140004a00
movss xmm0, dword [0x1400d4830]
mulss xmm0, xmm11
cvtps2pd xmm1, xmm0
movsd xmm3, qword [rsp + 0x70]
subsd xmm3, xmm1
movss xmm0, dword [0x1400d4834]
mulss xmm0, xmm11
cvtps2pd xmm1, xmm0
movsd xmm2, qword [rsp + 0x78]
subsd xmm2, xmm1
mulsd xmm2, xmm2
mulsd xmm3, xmm3
addsd xmm2, xmm3
cvtpd2ps xmm1, xmm2
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x1400057cb
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x1400057d3
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x1400d4098]
mulss xmm1, xmm12
comiss xmm1, xmm0
jbe 0x140005808
movss xmm1, dword [0x1400d55e8]
comiss xmm1, xmm0
jbe 0x140005808
movss dword [0x1400d55e8], xmm0
mov qword [0x1400d55e0], rsi
mov qword [0x1400d4890], r15
add rdi, 0x78
cmp rdi, r12
jne 0x140005690
mov rcx, qword [0x1400d55e0]
test rcx, rcx
je 0x140005e4c
mov eax, dword [0x1400d40f4]
test eax, eax
jne 0x140005857
call fcn.140002fc0
mov r9d, 0x43
mov r8, qword [0x1400d4890]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140004d20
lea rdx, [rbp - 0x80]
jmp 0x1400058e8
cmp eax, 1
jne 0x140005888
mov rcx, qword [0x1400d55e0]
call fcn.140002fc0
mov r9d, 0x6e
mov r8, qword [0x1400d4890]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140004d20
lea rdx, [rbp - 0x70]
jmp 0x1400058e8
cmp eax, 2
jne 0x1400058b9
mov rcx, qword [0x1400d55e0]
call fcn.140002fc0
mov r9d, 7
mov r8, qword [0x1400d4890]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140004d20
lea rdx, [rbp - 0x60]
jmp 0x1400058e8
cmp eax, 3
jne 0x140005932
mov rcx, qword [0x1400d55e0]
call fcn.140002fc0
mov r9d, 2
mov r8, qword [0x1400d4890]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140004d20
lea rdx, [rbp - 0x50]
movups xmm0, xmmword [rax]
movups xmmword [0x1400d4900], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [0x1400d4910], xmm1
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movaps xmmword [rbp - 0x10], xmm0
movsd qword [rbp], xmm1
lea r8, [rbp - 0x10]
call fcn.140004a00
movsd xmm0, qword [rax]
movsd qword [0x1400d48a8], xmm0
movsd xmm1, qword [rax + 8]
movsd qword [0x1400d48b0], xmm1
lea r14, [0x140000000]
lea r15, [0x1400060d0]
movabs r12, 0xffffff0000ff00
cmp qword [0x1400d55e0], 0
je 0x140005e4c
cmp qword [0x1400d4878], 0
je 0x140005e4c
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
lea rsi, [rbp + 0xe8]
mov qword [rbp - 8], r12
mov qword [rbp], rsi
mov rdi, qword [rsi]
xor rdi, r12
mov qword [rbp - 0x10], rdi
mov qword [rsi], r13
mov ecx, r13d
mov rax, qword [0x1400d4c70]
test rax, rax
je 0x1400059c9
mov rdx, r13
nop dword [rax + rax]
cmp rax, r15
je 0x1400059b8
inc ecx
mov edx, ecx
mov rax, qword [r14 + rcx*8 + 0xd4c70]
test rax, rax
jne 0x1400059a0
jmp 0x1400059c9
mov r8, qword [r14 + rdx*8 + 0xd4950]
test r8, r8
jne 0x140005aaf
mov edx, 0x1f4
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
test rax, rax
jne 0x1400059f2
mov r8, r13
jmp 0x140005a8e
mov rcx, rax
mov rax, r15
mov edx, 3
nop dword [rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x140005a00
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
mov rax, qword [0x1400d4938]
mov qword [r14 + rax*8 + 0xd4c70], r15
mov qword [r14 + rax*8 + 0xd4950], r8
inc rax
mov qword [0x1400d4938], rax
lea rdx, [0x1400d40f0]
mov rcx, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call r8
nop
xor rdi, r12
mov qword [rsi], rdi
test ax, ax
je 0x140005e4c
movsd xmm2, qword [0x1400d48b0]
movsd xmm7, qword [0x1400d48a8]
ucomisd xmm7, xmm10
jp 0x140005af6
jne 0x140005af6
ucomisd xmm2, xmm10
jp 0x140005af6
je 0x140005e4c
movss xmm1, dword [0x1400d4834]
mulss xmm1, xmm11
mov eax, r13d
movss xmm0, dword [0x1400d4098]
comiss xmm0, xmm1
setae al
xorps xmm1, xmm1
cvtsi2sd xmm1, eax
subsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss xmm1, dword [0x14008ec70]
call fcn.14004c1c0
movaps xmm6, xmm0
movss xmm1, dword [0x1400d4830]
mulss xmm1, xmm11
cvtps2pd xmm2, xmm1
subsd xmm2, xmm7
cvtpd2ps xmm0, xmm2
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm1, xmm0
addss xmm1, xmm6
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x140005b6c
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x140005b74
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
ucomiss xmm0, xmm14
jp 0x140005b80
je 0x140005e4c
mov rcx, qword [0x1400d4878]
call fcn.140002f10
mov rdi, rax
movsd xmm0, qword [0x1400d4908]
subsd xmm0, qword [0x1400d4068]
cvtpd2ps xmm0, xmm0
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm6, xmm0
movsd xmm0, qword [0x1400d4900]
subsd xmm0, qword [0x1400d4060]
cvtpd2ps xmm0, xmm0
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm6, xmm0
movsd xmm1, qword [0x1400d4910]
subsd xmm1, qword [0x1400d4070]
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm6, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm6
ja 0x140005c02
xorps xmm0, xmm0
sqrtss xmm0, xmm6
jmp 0x140005c0a
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
xorps xmm8, xmm8
cvtss2sd xmm8, xmm0
lea rcx, [rdi + 0x1f60]
call fcn.140005f90
movaps xmm7, xmm0
lea rcx, [rdi + 0x1f64]
call fcn.140005f90
movaps xmm6, xmm0
cmp byte [0x1400d4850], 0
je 0x140005630
ucomiss xmm7, xmm14
jp 0x140005c4a
je 0x140005d52
ucomiss xmm6, xmm14
jp 0x140005c56
je 0x140005d52
test rdi, rdi
je 0x140005d52
cmp byte [0x1400d4091], 0
je 0x140005d52
mov rcx, qword [0x1400d55e0]
add rcx, 0x1b0
call fcn.140003d20
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
movsd qword [rbp], xmm10
lea rcx, [rax + 0x168]
mov r8d, 0x18
lea rdx, [rbp - 0x10]
call fcn.140002b90
cvtpd2ps xmm0, xmm8
divss xmm0, xmm7
cvtps2pd xmm1, xmm0
movaps xmm3, xmm1
mulsd xmm3, qword [rbp - 0x10]
addsd xmm3, qword [0x1400d4900]
movaps xmm2, xmm1
mulsd xmm2, qword [rbp - 8]
addsd xmm2, qword [0x1400d4908]
mulss xmm6, dword [0x14008ed68]
andps xmm6, xmmword [0x14008f3f0]
mulss xmm6, xmm11
mulss xmm0, xmm0
mulss xmm6, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
mulsd xmm1, qword [rbp]
addsd xmm0, xmm1
addsd xmm0, qword [0x1400d4910]
movaps xmm1, xmm3
unpcklpd xmm1, xmm2
movups xmmword [0x1400d4900], xmm1
movsd qword [rsp + 0x50], xmm0
movsd qword [0x1400d4910], xmm0
movaps xmmword [rsp + 0x40], xmm1
movsd qword [rsp + 0x50], xmm0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x40]
call fcn.140004a00
movsd xmm4, qword [rax]
movsd qword [0x1400d48a8], xmm4
movsd xmm5, qword [rax + 8]
movsd qword [0x1400d48b0], xmm5
jmp 0x140005d62
movsd xmm5, qword [0x1400d48b0]
movsd xmm4, qword [0x1400d48a8]
movss xmm8, dword [0x1400d4830]
movaps xmm0, xmm8
mulss xmm0, xmm11
cvtps2pd xmm6, xmm0
movss xmm9, dword [0x1400d4834]
movaps xmm1, xmm9
mulss xmm1, xmm11
cvtps2pd xmm7, xmm1
movaps xmm3, xmm10
movaps xmm2, xmm10
cvttss2si eax, dword [0x1400d409c]
ucomisd xmm4, xmm10
jp 0x140005da5
je 0x140005de3
comisd xmm4, xmm6
jbe 0x140005dbb
movaps xmm3, xmm6
subsd xmm3, xmm4
xorps xmm3, xmmword [0x14008f410]
jmp 0x140005dc2
movaps xmm3, xmm4
subsd xmm3, xmm6
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm3, xmm0
movaps xmm1, xmm3
addsd xmm1, xmm6
cvtps2pd xmm0, xmm8
comisd xmm1, xmm0
jbe 0x140005de3
movaps xmm3, xmm10
ucomisd xmm5, xmm10
jp 0x140005dec
je 0x140005e2a
comisd xmm5, xmm7
jbe 0x140005e02
movaps xmm2, xmm7
subsd xmm2, xmm5
xorps xmm2, xmmword [0x14008f410]
jmp 0x140005e09
movaps xmm2, xmm5
subsd xmm2, xmm7
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm2, xmm0
movaps xmm1, xmm2
addsd xmm1, xmm7
cvtps2pd xmm0, xmm9
comisd xmm1, xmm0
jbe 0x140005e2a
movaps xmm2, xmm10
cvttsd2si r8, xmm2
cvttsd2si rdx, xmm3
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov ecx, 1
call qword [sym.imp.USER32.dll_mouse_event]
jmp 0x140005630
xorps xmm0, xmm0
movups xmmword [0x1400d4900], xmm0
movsd qword [rsp + 0x50], xmm10
movsd qword [0x1400d4910], xmm10
movups xmmword [0x1400d48a8], xmm0
mov qword [0x1400d55e0], r13
lea rcx, [rsp + 0x68]
call fcn.140002ab0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
movabs rdi, 0x7ffffffffff0bdbf
cmp rax, rdi
je 0x140005ec2
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x140005ec2
add rax, 0xf4240
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140003f00
jmp 0x140005615
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140003f00
jmp 0x140005615