Function at 0x140005670
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 - 0xd8]
sub rsp, 0x1b0
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 [0x1400ac040]
xor rax, rsp
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [0x14010d138], xmm0
xorps xmm1, xmm1
movups xmmword [0x14010d198], xmm1
xorps xmm10, xmm10
movsd qword [0x14010d1a8], xmm10
xor r13d, r13d
mov qword [0x14010d120], r13
lea rcx, [rsp + 0x20]
call fcn.140002bd0
movss xmm13, dword [0x1400a28c0]
movss xmm11, dword [0x1400a2900]
movss xmm12, dword [0x1400a29ec]
movss xmm15, dword [0x1400a2978]
xorps xmm14, xmm14
mov rbx, qword [rsp + 0x20]
lea r14, [0x140000000]
movabs r12, 0xffffff0000ff00
lea r15, [0x140006140]
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.140002bd0
mov rax, qword [rsp + 0x50]
mov rcx, rax
sub rcx, rbx
cmp rcx, 0x4c4b40
jl 0x140005760
mov rbx, rax
call fcn.1400050d0
cmp qword [0x14010d108], 0
je 0x140005a6c
mov dword [0x14010e2a8], 0x7f7fffff
mov qword [0x14010e2a0], r13
mov r12, qword [0x14010c9d8]
mov rdi, qword [0x14010c9d0]
cmp rdi, r12
je 0x140005f5f
nop dword [rax]
mov rsi, qword [rdi]
mov rcx, rsi
call fcn.140003050
mov r14, rax
mov r15, qword [rdi + 0x18]
cmp byte [0x14010c922], 0
je 0x140005812
lea rcx, [rax + 0x2e8]
call fcn.140006000
movaps xmm6, xmm0
lea rcx, [r14 + 0x2e0]
call fcn.140006000
addss xmm0, xmm13
comiss xmm0, xmm6
setae al
cmp byte [0x14010c922], 0
je 0x140005812
test al, al
je 0x140005929
lea rcx, [rsi + 0x758]
call fcn.140003ec0
test al, 0xf8
jne 0x140005929
lea rcx, [rsi + 0x93a]
call fcn.140003ec0
test al, 0x10
jne 0x140005929
mov rcx, qword [rdi + 8]
add rcx, 0x1211
call fcn.140002750
cmp dword [0x14010d0f8], eax
je 0x140005929
cmp byte [0x14010c920], 0
je 0x140005929
mov r9d, 0x6e
mov r8, r15
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.140004de0
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x20], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x10], xmm1
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x60]
call fcn.140004ac0
movss xmm0, dword [0x14010d0c0]
mulss xmm0, xmm11
cvtps2pd xmm1, xmm0
movsd xmm3, qword [rsp + 0x60]
subsd xmm3, xmm1
movss xmm0, dword [0x14010d0c4]
mulss xmm0, xmm11
cvtps2pd xmm1, xmm0
movsd xmm2, qword [rsp + 0x68]
subsd xmm2, xmm1
mulsd xmm2, xmm2
mulsd xmm3, xmm3
addsd xmm2, xmm3
cvtpd2ps xmm1, xmm2
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x1400058ec
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x1400058f4
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x14010c928]
mulss xmm1, xmm12
comiss xmm1, xmm0
jbe 0x140005929
movss xmm1, dword [0x14010e2a8]
comiss xmm1, xmm0
jbe 0x140005929
movss dword [0x14010e2a8], xmm0
mov qword [0x14010e2a0], rsi
mov qword [0x14010d120], r15
add rdi, 0x78
cmp rdi, r12
jne 0x1400057c0
mov rcx, qword [0x14010e2a0]
test rcx, rcx
je 0x140005f5f
mov eax, dword [0x14010c984]
test eax, eax
jne 0x140005979
call fcn.140003050
mov r9d, 0x43
mov r8, qword [0x14010d120]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140004de0
lea rdx, [rsp + 0x70]
jmp 0x140005a0a
cmp eax, 1
jne 0x1400059aa
mov rcx, qword [0x14010e2a0]
call fcn.140003050
mov r9d, 0x6e
mov r8, qword [0x14010d120]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140004de0
lea rdx, [rbp - 0x80]
jmp 0x140005a0a
cmp eax, 2
jne 0x1400059db
mov rcx, qword [0x14010e2a0]
call fcn.140003050
mov r9d, 7
mov r8, qword [0x14010d120]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140004de0
lea rdx, [rbp - 0x70]
jmp 0x140005a0a
cmp eax, 3
jne 0x140005a54
mov rcx, qword [0x14010e2a0]
call fcn.140003050
mov r9d, 2
mov r8, qword [0x14010d120]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140004de0
lea rdx, [rbp - 0x60]
movups xmm0, xmmword [rax]
movups xmmword [0x14010d198], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [0x14010d1a8], xmm1
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movaps xmmword [rbp - 0x20], xmm0
movsd qword [rbp - 0x10], xmm1
lea r8, [rbp - 0x20]
call fcn.140004ac0
movsd xmm0, qword [rax]
movsd qword [0x14010d138], xmm0
movsd xmm1, qword [rax + 8]
movsd qword [0x14010d140], xmm1
lea r14, [0x140000000]
lea r15, [0x140006140]
movabs r12, 0xffffff0000ff00
cmp qword [0x14010e2a0], 0
je 0x140005f5f
cmp qword [0x14010d108], 0
je 0x140005f5f
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rsi, [rbp + 0xd8]
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], rsi
mov rdi, qword [rsi]
xor rdi, r12
mov qword [rbp - 0x20], rdi
mov qword [rsi], r13
mov ecx, r13d
mov rax, qword [0x14010d920]
test rax, rax
je 0x140005ae9
mov rdx, r13
nop dword [rax]
cmp rax, r15
je 0x140005ad8
inc ecx
mov edx, ecx
mov rax, qword [r14 + rcx*8 + 0x10d920]
test rax, rax
jne 0x140005ac0
jmp 0x140005ae9
mov r8, qword [r14 + rdx*8 + 0x10d600]
test r8, r8
jne 0x140005bcf
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 0x140005b12
mov r8, r13
jmp 0x140005bae
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 0x140005b20
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 [0x14010d5e8]
mov qword [r14 + rax*8 + 0x10d920], r15
mov qword [r14 + rax*8 + 0x10d600], r8
inc rax
mov qword [0x14010d5e8], rax
lea rdx, [0x14010c980]
mov rcx, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call r8
nop
xor rdi, r12
mov qword [rsi], rdi
test ax, ax
je 0x140005f5f
movsd xmm2, qword [0x14010d140]
movsd xmm7, qword [0x14010d138]
ucomisd xmm7, xmm10
jp 0x140005c16
jne 0x140005c16
ucomisd xmm2, xmm10
jp 0x140005c16
je 0x140005f5f
movss xmm1, dword [0x14010d0c4]
mulss xmm1, xmm11
mov eax, r13d
movss xmm0, dword [0x14010c928]
comiss xmm0, xmm1
setae al
xorps xmm1, xmm1
cvtsi2sd xmm1, eax
subsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss xmm1, dword [0x1400a2978]
call fcn.14005ebe0
movaps xmm6, xmm0
movss xmm1, dword [0x14010d0c0]
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 0x140005c8c
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x140005c94
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
ucomiss xmm0, xmm14
jp 0x140005ca0
je 0x140005f5f
mov rcx, qword [0x14010d108]
call fcn.140002fa0
mov rdi, rax
movsd xmm0, qword [0x14010d1a0]
subsd xmm0, qword [0x14010c8f8]
cvtpd2ps xmm0, xmm0
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm6, xmm0
movsd xmm0, qword [0x14010d198]
subsd xmm0, qword [0x14010c8f0]
cvtpd2ps xmm0, xmm0
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm6, xmm0
movsd xmm1, qword [0x14010d1a8]
subsd xmm1, qword [0x14010c900]
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 0x140005d22
xorps xmm0, xmm0
sqrtss xmm0, xmm6
jmp 0x140005d2a
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
xorps xmm8, xmm8
cvtss2sd xmm8, xmm0
lea rcx, [rdi + 0x1f30]
call fcn.140006000
movaps xmm7, xmm0
lea rcx, [rdi + 0x1f34]
call fcn.140006000
movaps xmm6, xmm0
cmp byte [0x14010d0e0], 0
je 0x140005760
ucomiss xmm7, xmm14
jp 0x140005d6a
je 0x140005e72
ucomiss xmm6, xmm14
jp 0x140005d76
je 0x140005e72
test rdi, rdi
je 0x140005e72
cmp byte [0x14010c921], 0
je 0x140005e72
mov rcx, qword [0x14010e2a0]
add rcx, 0x198
call fcn.140003e20
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movsd qword [rbp - 0x10], xmm10
lea rcx, [rax + 0x168]
mov r8d, 0x18
lea rdx, [rbp - 0x20]
call fcn.140001330
cvtpd2ps xmm0, xmm8
divss xmm0, xmm7
cvtps2pd xmm1, xmm0
movaps xmm3, xmm1
mulsd xmm3, qword [rbp - 0x20]
addsd xmm3, qword [0x14010d198]
movaps xmm2, xmm1
mulsd xmm2, qword [rbp - 0x18]
addsd xmm2, qword [0x14010d1a0]
mulss xmm6, dword [0x1400a2a74]
andps xmm6, xmmword [0x1400a3230]
mulss xmm6, xmm11
mulss xmm0, xmm0
mulss xmm6, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
mulsd xmm1, qword [rbp - 0x10]
addsd xmm0, xmm1
addsd xmm0, qword [0x14010d1a8]
movaps xmm1, xmm3
unpcklpd xmm1, xmm2
movups xmmword [0x14010d198], xmm1
movsd qword [rsp + 0x40], xmm0
movsd qword [0x14010d1a8], xmm0
movaps xmmword [rsp + 0x30], xmm1
movsd qword [rsp + 0x40], xmm0
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x50]
call fcn.140004ac0
movsd xmm4, qword [rax]
movsd qword [0x14010d138], xmm4
movsd xmm5, qword [rax + 8]
movsd qword [0x14010d140], xmm5
jmp 0x140005e82
movsd xmm5, qword [0x14010d140]
movsd xmm4, qword [0x14010d138]
movss xmm8, dword [0x14010d0c0]
movaps xmm0, xmm8
mulss xmm0, xmm11
cvtps2pd xmm6, xmm0
movss xmm9, dword [0x14010d0c4]
movaps xmm1, xmm9
mulss xmm1, xmm11
cvtps2pd xmm7, xmm1
movaps xmm3, xmm10
movaps xmm2, xmm10
cvttss2si eax, dword [0x14010c92c]
ucomisd xmm4, xmm10
jp 0x140005ec5
je 0x140005f03
comisd xmm4, xmm6
jbe 0x140005edb
movaps xmm3, xmm6
subsd xmm3, xmm4
xorps xmm3, xmmword [0x1400a3250]
jmp 0x140005ee2
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 0x140005f03
movaps xmm3, xmm10
ucomisd xmm5, xmm10
jp 0x140005f0c
je 0x140005f4a
comisd xmm5, xmm7
jbe 0x140005f22
movaps xmm2, xmm7
subsd xmm2, xmm5
xorps xmm2, xmmword [0x1400a3250]
jmp 0x140005f29
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 0x140005f4a
movaps xmm2, xmm10
xor r8d, r8d
cvttsd2si edx, xmm2
cvttsd2si ecx, xmm3
call fcn.140004450
jmp 0x140005760
xorps xmm0, xmm0
movups xmmword [0x14010d198], xmm0
movsd qword [rsp + 0x40], xmm10
movsd qword [0x14010d1a8], xmm10
movups xmmword [0x14010d138], xmm0
mov qword [0x14010e2a0], r13
lea rcx, [rsp + 0x58]
call fcn.140002bd0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
movabs rdi, 0x7ffffffffff0bdbf
cmp rax, rdi
je 0x140005fd5
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x140005fd5
add rax, 0xf4240
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.140003f60
jmp 0x140005745
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.140003f60
jmp 0x140005745