Function at 0x140004930
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 0x140004e1a
lea rcx, [rbp - 0x39]
call fcn.140002450
mov rax, qword [rbp - 0x39]
sub rax, qword [0x1400d4878]
cmp rax, 0x90013c0
jl 0x140004999
mov byte [0x1400d4930], 1
xor r15d, r15d
mov edi, r15d
mov ecx, dword [0x1400d40a0]
test ecx, ecx
je 0x1400049cd
sub ecx, 1
je 0x1400049c6
sub ecx, 1
je 0x1400049bf
cmp ecx, 1
jne 0x1400049d2
mov edi, 2
jmp 0x1400049d2
mov edi, 7
jmp 0x1400049d2
mov edi, 0x43
jmp 0x1400049d2
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 [0x1400d55e8]
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 [0x1400d4820]
mov dword [rbp - 0x15], eax
mov word [rbp + 7], pe_nt_image_headers64
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 [0x1400d4818]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rdx, qword [rbp - 0x39]
add rdx, 0x120
lea rcx, [rbp - 0x31]
call fcn.140005950
movsd xmm0, qword [rbp - 0x29]
subsd xmm0, qword [0x1400d4068]
cvtpd2ps xmm0, xmm0
movss xmm6, dword [0x14008ec80]
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 0x140004ac9
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x140004ad1
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cvtss2sd xmm0, xmm0
divsd xmm0, qword [0x14008ecc0]
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, [0x1400059f0]
lea rsi, [0x140000000]
mov rax, qword [0x1400d4c60]
test rax, rax
je 0x140004b59
mov rdx, r15
cmp rax, r14
je 0x140004b48
inc ecx
mov edx, ecx
mov rax, qword [rsi + rcx*8 + 0xd4c60]
test rax, rax
jne 0x140004b30
jmp 0x140004b59
mov r8, qword [rsi + rdx*8 + 0xd4940]
test r8, r8
jne 0x140004c3f
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 0x140004b82
mov r8, r15
jmp 0x140004c1e
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 0x140004b90
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 [rsi + rax*8 + 0xd4c60], r14
mov qword [rsi + rax*8 + 0xd4940], r8
inc rax
mov qword [0x1400d4928], 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 [0x1400d55e8]
test rsi, rsi
je 0x140004e1a
movd xmm0, dword [0x1400d40b0]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm6
jb 0x140004e1a
mov rbx, qword [0x1400d4880]
mov rdx, qword [0x1400d4848]
add rdx, 0x2700
lea rcx, [rbp - 0x19]
call fcn.140005950
mov rcx, rsi
call fcn.140002a30
mov r9d, edi
mov r8, rbx
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.140004640
movsd xmm2, qword [rbp - 0x31]
movaps xmm0, xmm2
movsd xmm1, qword [0x14008eca8]
subsd xmm0, xmm1
movsd xmm3, qword [rbp - 0x19]
comisd xmm3, xmm0
jb 0x140004e1a
addsd xmm2, xmm1
comisd xmm2, xmm3
jb 0x140004e1a
movsd xmm2, qword [rbp - 0x29]
movaps xmm0, xmm2
subsd xmm0, xmm1
movsd xmm3, qword [rbp - 0x11]
comisd xmm3, xmm0
jb 0x140004e1a
addsd xmm2, xmm1
comisd xmm2, xmm3
jb 0x140004e1a
movsd xmm2, qword [rbp - 0x21]
movaps xmm0, xmm2
subsd xmm0, xmm1
movsd xmm3, qword [rbp - 9]
comisd xmm3, xmm0
jb 0x140004e1a
addsd xmm2, xmm1
comisd xmm2, xmm3
jb 0x140004e1a
test r14w, r14w
je 0x140004e1a
cmp byte [0x1400d40a9], 0
je 0x140004d5a
cmp byte [0x1400d4840], 2
jne 0x140004e1a
cmp byte [0x1400d4874], 0
je 0x140004d7d
lea rcx, [rbp - 0x39]
call fcn.140002450
mov rcx, qword [rax]
mov qword [0x1400d4890], rcx
mov byte [0x1400d4874], 0
lea rcx, [rbp - 0x39]
call fcn.140002450
mov rcx, qword [rax]
mov qword [0x1400d4888], rcx
movabs rax, 0x431bde82d7b634db
sub rcx, qword [0x1400d4890]
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [0x1400d40ac]
mov dword [0x1400d4870], edx
jl 0x140004e1a
cmp byte [0x1400d4930], 0
je 0x140004e1a
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 [0x1400d4874], 1
mov byte [0x1400d4930], 0
lea rcx, [rbp - 0x39]
call fcn.140002450
mov rcx, qword [rax]
mov qword [0x1400d4878], rcx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14004ac50
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