Function at 0x140005010
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 - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140097040]
xor rax, rsp
mov qword [rbp + 0xf], rax
cmp byte [0x1400d40a8], 0
je 0x1400054fa
lea rcx, [rbp - 0x39]
call fcn.140002ab0
mov rax, qword [rbp - 0x39]
sub rax, qword [0x1400d4888]
cmp rax, 0x90013c0
jl 0x140005079
mov byte [0x1400d4940], 1
xor r15d, r15d
mov edi, r15d
mov ecx, dword [0x1400d40a0]
test ecx, ecx
je 0x1400050ad
sub ecx, 1
je 0x1400050a6
sub ecx, 1
je 0x14000509f
cmp ecx, 1
jne 0x1400050b2
mov edi, 2
jmp 0x1400050b2
mov edi, 7
jmp 0x1400050b2
mov edi, 0x43
jmp 0x1400050b2
mov edi, 0x6e
mov qword [rbp - 0x39], r15
mov dword [rbp + 9], r15d
mov word [rbp + 0xd], r15w
mov dword [rbp - 0x19], 0x7f1e8b
mov rax, qword [0x1400d55e0]
add rax, 0x1b0
mov qword [rbp - 0x11], rax
lea rax, [rbp - 0x39]
mov qword [rbp - 9], rax
mov qword [rbp - 1], 8
mov eax, dword [0x1400d4828]
mov dword [rbp - 0x15], eax
mov word [rbp + 7], 0x100
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, 0x28
lea r8, [rbp - 0x19]
mov edx, 0x226c78
mov rcx, qword [0x1400d4820]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rdx, qword [rbp - 0x39]
add rdx, 0x120
lea rcx, [rbp - 0x31]
call fcn.140006030
movsd xmm0, qword [rbp - 0x29]
subsd xmm0, qword [0x1400d4068]
cvtpd2ps xmm0, xmm0
movss xmm6, dword [0x14008ec70]
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm7, xmm0
movsd xmm0, qword [rbp - 0x31]
subsd xmm0, qword [0x1400d4060]
cvtpd2ps xmm0, xmm0
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
movsd xmm2, qword [rbp - 0x21]
subsd xmm2, qword [0x1400d4070]
cvtpd2ps xmm0, xmm2
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm7
ja 0x1400051a9
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x1400051b1
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cvtss2sd xmm0, xmm0
divsd xmm0, qword [0x14008ecb0]
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
lea r12, [rbp + 0x5f]
movabs r13, 0xffffff0000ff00
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x21], r12
mov rbx, qword [r12]
xor rbx, r13
mov qword [rbp - 0x31], rbx
mov qword [r12], r15
mov ecx, r15d
lea r14, [0x1400060d0]
lea rsi, [0x140000000]
mov rax, qword [0x1400d4c70]
test rax, rax
je 0x140005239
mov rdx, r15
cmp rax, r14
je 0x140005228
inc ecx
mov edx, ecx
mov rax, qword [rsi + rcx*8 + 0xd4c70]
test rax, rax
jne 0x140005210
jmp 0x140005239
mov r8, qword [rsi + rdx*8 + 0xd4950]
test r8, r8
jne 0x14000531f
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 0x140005262
mov r8, r15
jmp 0x1400052fe
mov rax, r14
mov rcx, r8
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 0x140005270
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 [rsi + rax*8 + 0xd4c70], r14
mov qword [rsi + rax*8 + 0xd4950], r8
inc rax
mov qword [0x1400d4938], rax
lea rdx, [0x1400d40b4]
mov rcx, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call r8
movzx r14d, ax
xor rbx, r13
mov qword [r12], rbx
mov rsi, qword [0x1400d55e0]
test rsi, rsi
je 0x1400054fa
movd xmm0, dword [0x1400d40b0]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm6
jb 0x1400054fa
mov rbx, qword [0x1400d4890]
mov rdx, qword [0x1400d4858]
add rdx, 0x2700
lea rcx, [rbp - 0x19]
call fcn.140006030
mov rcx, rsi
call fcn.140002fc0
mov r9d, edi
mov r8, rbx
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.140004d20
movsd xmm2, qword [rbp - 0x31]
movaps xmm0, xmm2
movsd xmm1, qword [0x14008ec98]
subsd xmm0, xmm1
movsd xmm3, qword [rbp - 0x19]
comisd xmm3, xmm0
jb 0x1400054fa
addsd xmm2, xmm1
comisd xmm2, xmm3
jb 0x1400054fa
movsd xmm2, qword [rbp - 0x29]
movaps xmm0, xmm2
subsd xmm0, xmm1
movsd xmm3, qword [rbp - 0x11]
comisd xmm3, xmm0
jb 0x1400054fa
addsd xmm2, xmm1
comisd xmm2, xmm3
jb 0x1400054fa
movsd xmm2, qword [rbp - 0x21]
movaps xmm0, xmm2
subsd xmm0, xmm1
movsd xmm3, qword [rbp - 9]
comisd xmm3, xmm0
jb 0x1400054fa
addsd xmm2, xmm1
comisd xmm2, xmm3
jb 0x1400054fa
test r14w, r14w
je 0x1400054fa
cmp byte [0x1400d40a9], 0
je 0x14000543a
cmp byte [0x1400d4850], 2
jne 0x1400054fa
cmp byte [0x1400d4884], 0
je 0x14000545d
lea rcx, [rbp - 0x39]
call fcn.140002ab0
mov rcx, qword [rax]
mov qword [0x1400d48a0], rcx
mov byte [0x1400d4884], 0
lea rcx, [rbp - 0x39]
call fcn.140002ab0
mov rcx, qword [rax]
mov qword [0x1400d4898], rcx
movabs rax, 0x431bde82d7b634db
sub rcx, qword [0x1400d48a0]
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [0x1400d40ac]
mov dword [0x1400d4880], edx
jl 0x1400054fa
cmp byte [0x1400d4940], 0
je 0x1400054fa
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 1
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 2
call qword [sym.imp.USER32.dll_mouse_event]
mov byte [0x1400d4884], 1
mov byte [0x1400d4940], 0
lea rcx, [rbp - 0x39]
call fcn.140002ab0
mov rcx, qword [rax]
mov qword [0x1400d4888], rcx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14004b010
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret