Function at 0x14003e990
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
lea rbp, [rax - 0x78]
sub rsp, 0x170
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rax - 0x88], xmm14
movaps xmmword [rax - 0x98], xmm15
mov rax, qword [0x14006c040]
xor rax, rsp
mov qword [rbp - 0x28], rax
xor esi, esi
mov dword [rsp + 0x20], esi
mov rbx, qword [0x14006d340]
test rbx, rbx
je 0x14003f0d2
cmp byte [0x14006d331], sil
je 0x14003ea35
lea rcx, [rbx + 0x2e8]
call fcn.14004ac70
movaps xmm6, xmm0
lea rcx, [rbx + 0x2f0]
call fcn.14004ac70
addss xmm0, dword [0x140060bd4]
comiss xmm0, xmm6
jb 0x14003f0d2
mov r8d, dword [0x14006c3c0]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14003be80
movups xmm14, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x70], xmm14
movsd xmm15, qword [rsp + 0x40]
movsd qword [rbp - 0x80], xmm15
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14003ba50
mov eax, dword [0x14006d3d8]
cdq
sub eax, edx
sar eax, 1
movd xmm7, eax
cvtdq2pd xmm7, xmm7
mov eax, dword [0x14006d3a4]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd xmm12, qword [rsp + 0x50]
subsd xmm0, xmm12
movsd xmm1, qword [0x140060c58]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm9, xmm0
movsd xmm8, qword [rsp + 0x58]
subsd xmm7, xmm8
movsd xmm1, qword [0x140060c58]
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm9, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm9
ja 0x14003eae9
xorps xmm0, xmm0
sqrtsd xmm0, xmm9
jmp 0x14003eaf2
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movss xmm1, dword [0x14006c3b8]
cvtps2pd xmm1, xmm1
xorps xmm11, xmm11
comisd xmm0, xmm1
ja 0x14003eb19
ucomisd xmm12, xmm11
jp 0x14003eb10
je 0x14003eb19
ucomisd xmm8, xmm11
jp 0x14003eb2a
jne 0x14003eb2a
mov dword [0x14006d360], 0x7f7fffff
mov qword [0x14006d340], rsi
xorps xmm10, xmm10
xorps xmm9, xmm9
cmp byte [0x14006d329], sil
je 0x14003ef2d
lea rcx, [rbp - 0x50]
call fcn.14003bff0
nop
mov ebx, 1
mov dword [rsp + 0x20], ebx
cmp qword [rax + 0x18], 0xf
jbe 0x14003eb5c
mov rax, qword [rax]
lea rcx, str.Hunting_Rifle
cmp rax, rcx
je 0x14003ec12
lea rcx, [rbp - 0x70]
call fcn.14003bff0
nop
mov ebx, 3
mov dword [rsp + 0x20], ebx
cmp qword [rax + 0x18], 0xf
jbe 0x14003eb89
mov rax, qword [rax]
lea rcx, str.Reaper_Sniper_Rifle
cmp rax, rcx
je 0x14003ec12
lea rcx, [rsp + 0x50]
call fcn.14003bff0
nop
mov ebx, 7
mov dword [rsp + 0x20], ebx
cmp qword [rax + 0x18], 0xf
jbe 0x14003ebb3
mov rax, qword [rax]
lea rcx, str.Heavy_Sniper_Rifle
cmp rax, rcx
je 0x14003ec12
lea rcx, [rsp + 0x30]
call fcn.14003bff0
nop
mov ebx, 0xf
mov dword [rsp + 0x20], ebx
cmp qword [rax + 0x18], rbx
jbe 0x14003ebdc
mov rax, qword [rax]
lea rcx, str.Heavy_Impact_Sniper_Rifle
cmp rax, rcx
je 0x14003ec12
lea rcx, [rsp + 0x70]
call fcn.14003bff0
mov ebx, 0x1f
cmp qword [rax + 0x18], 0xf
jbe 0x14003ec01
mov rax, qword [rax]
lea rcx, str.Bolt_Action_Sniper_Rifle
cmp rax, rcx
je 0x14003ec12
xor dil, dil
jmp 0x14003ec15
mov dil, 1
movdqa xmm6, xmmword [0x140060dd0]
test bl, 0x10
je 0x14003ec6e
and ebx, 0xffffffef
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14003ec64
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ec5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ec5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005517c
movdqu xmmword [rbp - 0x80], xmm6
mov byte [rsp + 0x70], 0
test bl, 8
je 0x14003ecc9
and ebx, 0xfffffff7
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003ecbe
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ecb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ecb1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005517c
movdqa xmm6, xmmword [0x140060dd0]
movdqu xmmword [rsp + 0x40], xmm6
mov byte [rsp + 0x30], 0
test bl, 4
je 0x14003ed24
and ebx, 0xfffffffb
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14003ed19
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ed0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ed0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005517c
movdqa xmm6, xmmword [0x140060dd0]
movdqu xmmword [rsp + 0x60], xmm6
mov byte [rsp + 0x50], 0
test bl, 2
je 0x14003ed7b
and ebx, 0xfffffffd
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14003ed72
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ed65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ed65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005517c
movdqa xmm6, xmmword [0x140060dd0]
movdqu xmmword [rbp - 0x60], xmm6
mov byte [rbp - 0x70], 0
test bl, 1
je 0x14003edbe
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14003edbe
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003edb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003edb9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005517c
test dil, dil
je 0x14003ef2d
movss xmm8, dword [0x140060d48]
andps xmm8, xmmword [0x1400612b0]
movaps xmm12, xmm14
unpckhpd xmm12, xmm14
movaps xmm0, xmm12
subsd xmm0, qword [0x14006c420]
cvtsd2ss xmm0, xmm0
movss xmm6, dword [0x140060c50]
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm7, xmm0
movaps xmm0, xmm14
subsd xmm0, qword [0x14006c418]
cvtsd2ss xmm0, xmm0
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
movaps xmm2, xmm15
subsd xmm2, qword [0x14006c428]
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 0x14003ee4d
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x14003ee55
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cvtss2sd xmm0, xmm0
divsd xmm0, qword [0x140060ca0]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
divss xmm3, xmm8
cvtps2pd xmm4, xmm3
movaps xmm8, xmm4
mulsd xmm8, qword [0x14006c3c8]
movsd xmm2, qword [0x140060ca8]
mulsd xmm8, xmm2
addsd xmm8, xmm14
movaps xmm7, xmm4
mulsd xmm7, qword [0x14006c3d0]
mulsd xmm7, xmm2
addsd xmm7, xmm12
movss xmm1, dword [0x140060d70]
andps xmm1, xmmword [0x1400612b0]
mulss xmm3, dword [0x140060d00]
mulss xmm1, dword [0x140060bfc]
mulss xmm3, xmm1
cvtps2pd xmm6, xmm3
mulsd xmm4, qword [0x14006c3d8]
mulsd xmm4, xmm2
addsd xmm4, xmm15
addsd xmm6, xmm4
movsd qword [rsp + 0x30], xmm8
movsd qword [rsp + 0x38], xmm7
movsd qword [rsp + 0x40], xmm6
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14003ba50
movsd xmm12, qword [rax]
movsd qword [rsp + 0x30], xmm8
movsd qword [rsp + 0x38], xmm7
movsd qword [rsp + 0x40], xmm6
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14003ba50
movsd xmm8, qword [rax + 8]
movss xmm3, dword [0x14006c3b0]
movsd xmm4, qword [0x1400612d0]
ucomisd xmm12, xmm11
jp 0x14003ef46
je 0x14003efb7
mov eax, dword [0x14006d398]
movd xmm2, eax
cvtdq2pd xmm2, xmm2
comisd xmm12, xmm2
jbe 0x14003ef8c
movaps xmm10, xmm2
subsd xmm10, xmm12
xorps xmm10, xmm4
cvtps2pd xmm0, xmm3
divsd xmm10, xmm0
movaps xmm1, xmm10
addsd xmm1, xmm2
add eax, eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jbe 0x14003ef8c
xorps xmm10, xmm10
comisd xmm2, xmm12
jbe 0x14003efb7
movaps xmm10, xmm12
subsd xmm10, xmm2
cvtps2pd xmm0, xmm3
divsd xmm10, xmm0
movaps xmm0, xmm10
addsd xmm0, xmm2
comisd xmm11, xmm0
jbe 0x14003efb7
xorps xmm10, xmm10
ucomisd xmm8, xmm11
jp 0x14003efc0
je 0x14003f031
mov eax, dword [0x14006d3b8]
movd xmm2, eax
cvtdq2pd xmm2, xmm2
comisd xmm8, xmm2
jbe 0x14003f006
movaps xmm9, xmm2
subsd xmm9, xmm8
xorps xmm9, xmm4
cvtps2pd xmm0, xmm3
divsd xmm9, xmm0
movaps xmm1, xmm9
addsd xmm1, xmm2
add eax, eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jbe 0x14003f006
xorps xmm9, xmm9
comisd xmm2, xmm8
jbe 0x14003f031
movaps xmm9, xmm8
subsd xmm9, xmm2
cvtps2pd xmm0, xmm3
divsd xmm9, xmm0
movaps xmm0, xmm9
addsd xmm0, xmm2
comisd xmm11, xmm0
jbe 0x14003f031
xorps xmm9, xmm9
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x34], rsi
mov dword [rbp - 0x2c], esi
mov dword [rbp - 0x40], esi
mov qword [rbp - 0x3c], 0x4001
cvttsd2si eax, xmm10
mov dword [rbp - 0x48], eax
cvttsd2si eax, xmm9
mov dword [rbp - 0x44], eax
mov edx, 0x1000
xor ecx, ecx
mov r9d, 0x40
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x14003f0d2
movups xmm0, xmmword [0x14006d2d8]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x14006d2e8]
movsd qword [rax + 0x10], xmm1
mov edx, dword [0x14006d2f0]
mov dword [rax + 0x18], edx
movzx edx, word [0x14006d2f4]
mov word [rax + 0x1c], dx
mov r8d, 0x28
lea rdx, [rbp - 0x50]
mov ecx, 1
call rbx
xor edx, edx
mov r8d, 0x1000
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rbp - 0x28]
xor rcx, rsp
call fcn.140054f10
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm14, xmmword [r11 - 0x80]
movaps xmm15, xmmword [r11 - 0x90]
mov rsp, r11
pop rbp
ret