Function at 0x140004e60
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 [0x1400d4898], xmm0
xorps xmm1, xmm1
movups xmmword [0x1400d48f0], xmm1
xorps xmm10, xmm10
movsd qword [0x1400d4900], xmm10
xor r13d, r13d
mov qword [0x1400d4880], r13
lea rcx, [rsp + 0x30]
call fcn.140002450
movss xmm13, dword [0x14008ebd8]
movss xmm11, dword [0x14008ec0c]
movss xmm12, dword [0x14008ecf4]
movss xmm15, dword [0x14008ec80]
xorps xmm14, xmm14
mov rbx, qword [rsp + 0x30]
lea r14, [0x140000000]
movabs r12, 0xffffff0000ff00
lea r15, [0x1400059f0]
nop dword [rax]
lea rcx, [rsp + 0x60]
call fcn.140002450
mov rax, qword [rsp + 0x60]
mov rcx, rax
sub rcx, rbx
cmp rcx, 0x4c4b40
jl 0x140004f50
mov rbx, rax
call fcn.140004930
cmp qword [0x1400d4868], 0
je 0x14000526a
mov dword [0x1400d55f0], 0x7f7fffff
mov qword [0x1400d55e8], r13
mov r12, qword [0x1400d4148]
mov rdi, qword [0x1400d4140]
cmp rdi, r12
je 0x140005766
nop dword [rax]
mov rsi, qword [rdi]
mov rcx, rsi
call fcn.140002a30
mov r14, rax
mov r15, qword [rdi + 0x18]
cmp byte [0x1400d4092], 0
je 0x140005011
mov rcx, qword [0x1400d4830]
add rcx, 0x148
call fcn.140005800
movaps xmm6, xmm0
lea rcx, [r14 + 0x2f0]
call fcn.1400058b0
addss xmm0, xmm13
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
comisd xmm1, xmm6
setae al
cmp byte [0x1400d4092], 0
je 0x140005011
test al, al
je 0x140005128
lea rcx, [rsi + 0x6f0]
call fcn.140003780
test al, 0x20
jne 0x140005128
lea rcx, [rsi + 0x912]
call fcn.140003780
test al, 0x20
jne 0x140005128
mov rcx, qword [rdi + 8]
add rcx, 0x1239
call fcn.1400036e0
cmp dword [0x1400d4858], eax
je 0x140005128
cmp byte [0x1400d4090], 0
je 0x140005128
mov r9d, 0x6e
mov r8, r15
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.140004640
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.140004320
movss xmm0, dword [0x1400d4828]
mulss xmm0, xmm11
cvtps2pd xmm1, xmm0
movsd xmm3, qword [rsp + 0x70]
subsd xmm3, xmm1
movss xmm0, dword [0x1400d482c]
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 0x1400050eb
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x1400050f3
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 0x140005128
movss xmm1, dword [0x1400d55f0]
comiss xmm1, xmm0
jbe 0x140005128
movss dword [0x1400d55f0], xmm0
mov qword [0x1400d55e8], rsi
mov qword [0x1400d4880], r15
add rdi, 0x78
cmp rdi, r12
jne 0x140004fb0
mov rcx, qword [0x1400d55e8]
test rcx, rcx
je 0x140005766
mov eax, dword [0x1400d40f4]
test eax, eax
jne 0x140005177
call fcn.140002a30
mov r9d, 0x43
mov r8, qword [0x1400d4880]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140004640
lea rdx, [rbp - 0x80]
jmp 0x140005208
cmp eax, 1
jne 0x1400051a8
mov rcx, qword [0x1400d55e8]
call fcn.140002a30
mov r9d, 0x6e
mov r8, qword [0x1400d4880]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140004640
lea rdx, [rbp - 0x70]
jmp 0x140005208
cmp eax, 2
jne 0x1400051d9
mov rcx, qword [0x1400d55e8]
call fcn.140002a30
mov r9d, 7
mov r8, qword [0x1400d4880]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140004640
lea rdx, [rbp - 0x60]
jmp 0x140005208
cmp eax, 3
jne 0x140005252
mov rcx, qword [0x1400d55e8]
call fcn.140002a30
mov r9d, 2
mov r8, qword [0x1400d4880]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140004640
lea rdx, [rbp - 0x50]
movups xmm0, xmmword [rax]
movups xmmword [0x1400d48f0], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [0x1400d4900], 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.140004320
movsd xmm0, qword [rax]
movsd qword [0x1400d4898], xmm0
movsd xmm1, qword [rax + 8]
movsd qword [0x1400d48a0], xmm1
lea r14, [0x140000000]
lea r15, [0x1400059f0]
movabs r12, 0xffffff0000ff00
cmp qword [0x1400d55e8], 0
je 0x140005766
cmp qword [0x1400d4868], 0
je 0x140005766
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 [0x1400d4c60]
test rax, rax
je 0x1400052e9
mov rdx, r13
nop dword [rax + rax]
cmp rax, r15
je 0x1400052d8
inc ecx
mov edx, ecx
mov rax, qword [r14 + rcx*8 + 0xd4c60]
test rax, rax
jne 0x1400052c0
jmp 0x1400052e9
mov r8, qword [r14 + rdx*8 + 0xd4940]
test r8, r8
jne 0x1400053cf
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 0x140005312
mov r8, r13
jmp 0x1400053ae
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 0x140005320
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 [0x1400d4928]
mov qword [r14 + rax*8 + 0xd4c60], r15
mov qword [r14 + rax*8 + 0xd4940], r8
inc rax
mov qword [0x1400d4928], 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 0x140005766
movsd xmm2, qword [0x1400d48a0]
movsd xmm7, qword [0x1400d4898]
ucomisd xmm7, xmm10
jp 0x140005416
jne 0x140005416
ucomisd xmm2, xmm10
jp 0x140005416
je 0x140005766
movss xmm1, dword [0x1400d482c]
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 [0x14008ec80]
call fcn.14004be00
movaps xmm6, xmm0
movss xmm1, dword [0x1400d4828]
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 0x14000548c
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x140005494
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
ucomiss xmm0, xmm14
jp 0x1400054a0
je 0x140005766
mov rcx, qword [0x1400d4868]
call fcn.140002980
mov rdi, rax
movsd xmm0, qword [0x1400d48f8]
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 [0x1400d48f0]
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 [0x1400d4900]
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 0x140005522
xorps xmm0, xmm0
sqrtss xmm0, xmm6
jmp 0x14000552a
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.1400058b0
movaps xmm7, xmm0
lea rcx, [rdi + 0x1f64]
call fcn.1400058b0
movaps xmm6, xmm0
cmp byte [0x1400d4840], 0
je 0x140004f50
ucomiss xmm7, xmm14
jp 0x14000556a
je 0x14000566c
ucomiss xmm6, xmm14
jp 0x140005576
je 0x14000566c
test rdi, rdi
je 0x14000566c
cmp byte [0x1400d4091], 0
je 0x14000566c
mov rcx, qword [0x1400d55e8]
add rcx, 0x1b0
call fcn.140003640
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.140002530
cvtpd2ps xmm0, xmm8
divss xmm0, xmm7
cvtps2pd xmm2, xmm0
movaps xmm4, xmm2
mulsd xmm4, qword [rbp - 0x10]
addsd xmm4, qword [0x1400d48f0]
movaps xmm3, xmm2
mulsd xmm3, qword [rbp - 8]
addsd xmm3, qword [0x1400d48f8]
mulss xmm6, dword [0x14008ed78]
andps xmm6, xmmword [0x14008f3d0]
mulss xmm6, xmm11
mulss xmm0, xmm0
mulss xmm6, xmm0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm6
mulsd xmm2, qword [rbp]
addsd xmm1, xmm2
addsd xmm1, qword [0x1400d4900]
movaps xmm0, xmm4
unpcklpd xmm0, xmm3
movups xmmword [0x1400d48f0], xmm0
movaps xmmword [rsp + 0x40], xmm0
movsd qword [0x1400d4900], xmm1
movsd qword [rsp + 0x50], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x40]
call fcn.140004320
movsd xmm4, qword [rax]
movsd qword [0x1400d4898], xmm4
movsd xmm5, qword [rax + 8]
movsd qword [0x1400d48a0], xmm5
jmp 0x14000567c
movsd xmm5, qword [0x1400d48a0]
movsd xmm4, qword [0x1400d4898]
movss xmm8, dword [0x1400d4828]
movaps xmm0, xmm8
mulss xmm0, xmm11
cvtps2pd xmm6, xmm0
movss xmm9, dword [0x1400d482c]
movaps xmm1, xmm9
mulss xmm1, xmm11
cvtps2pd xmm7, xmm1
movaps xmm3, xmm10
movaps xmm2, xmm10
cvttss2si eax, dword [0x1400d409c]
ucomisd xmm4, xmm10
jp 0x1400056bf
je 0x1400056fd
comisd xmm4, xmm6
jbe 0x1400056d5
movaps xmm3, xmm6
subsd xmm3, xmm4
xorps xmm3, xmmword [0x14008f3f0]
jmp 0x1400056dc
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 0x1400056fd
movaps xmm3, xmm10
ucomisd xmm5, xmm10
jp 0x140005706
je 0x140005744
comisd xmm5, xmm7
jbe 0x14000571c
movaps xmm2, xmm7
subsd xmm2, xmm5
xorps xmm2, xmmword [0x14008f3f0]
jmp 0x140005723
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 0x140005744
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 0x140004f50
xorps xmm0, xmm0
movups xmmword [0x1400d48f0], xmm0
movsd qword [rsp + 0x50], xmm10
movsd qword [0x1400d4900], xmm10
movups xmmword [0x1400d4898], xmm0
mov qword [0x1400d55e8], r13
lea rcx, [rsp + 0x68]
call fcn.140002450
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
movabs rdi, 0x7ffffffffff0bdbf
cmp rax, rdi
je 0x1400057dc
mov ecx, 0xff
mov edx, 1
cmovge ecx, edx
test cl, cl
jns 0x1400057dc
add rax, 0xf4240
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140003820
jmp 0x140004f35
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140003820
jmp 0x140004f35