Function at 0x1800581d0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x18009e3c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor ebx, ebx
mov edx, 0x20f
mov r9, qword [0x1800a0900]
mov rcx, r9
call fcn.180011150
xorps xmm7, xmm7
cmp byte [rax], bl
je 0x18005825c
cmp byte [r9 + 0x4198], bl
jne 0x18005825c
mov edx, 0x247
mov rcx, r9
call fcn.180011150
comiss xmm7, dword [rax + 8]
ja 0x18005825c
cmp byte [rax], bl
jne 0x18005825c
cmp byte [r9 + 0x4438], bl
jne 0x18005825c
movzx eax, byte [0x1800a1538]
xor al, 1
mov byte [0x1800a1538], al
jmp 0x180058263
movzx eax, byte [0x1800a1538]
test al, al
je 0x18005887b
movabs rax, 0xa571d46727e2b718
mov qword [0x1800a0c98], rax
mov dword [0x18009f438], ebx
mov dword [0x18009f448], ebx
xorps xmm0, xmm0
movups xmmword [0x18009f610], xmm0
movups xmmword [0x18009f620], xmm0
movups xmmword [0x18009f630], xmm0
movups xmmword [0x18009f640], xmm0
movups xmmword [0x18009f650], xmm0
movups xmmword [0x18009f660], xmm0
movups xmmword [0x18009f670], xmm0
movups xmmword [0x18009f680], xmm0
mov dword [rbp - 0x11], ebx
mov edx, ebx
mov rcx, qword [0x18009f440]
mov rax, qword [rbp - 0x11]
mov qword [rcx + rdx*8], rax
inc dword [0x18009f438]
call fcn.180058970
mov ecx, 2
cmp dword [rax], ebx
cmovne ecx, ebx
movabs rax, 0x5f4b6931816e599b
mov qword [0x1800a0c98], rax
mov dword [0x18009f438], ebx
mov dword [0x18009f448], ebx
xorps xmm0, xmm0
movups xmmword [0x18009f610], xmm0
movups xmmword [0x18009f620], xmm0
movups xmmword [0x18009f630], xmm0
movups xmmword [0x18009f640], xmm0
movups xmmword [0x18009f650], xmm0
movups xmmword [0x18009f660], xmm0
movups xmmword [0x18009f670], xmm0
movups xmmword [0x18009f680], xmm0
mov dword [rbp - 0x11], ecx
mov edx, ebx
mov rcx, qword [0x18009f440]
mov rax, qword [rbp - 0x11]
mov qword [rcx + rdx*8], rax
inc dword [0x18009f438]
call fcn.180039720
test al, al
je 0x18005852b
mov r8b, 1
xor edx, edx
lea rcx, str.Scripts
call fcn.180039920
test al, al
je 0x1800583b3
lea rcx, str.List
call fcn.18003a6b0
test al, al
je 0x180058397
mov byte [0x1800a08fa], 1
lea rcx, str.Tools
call fcn.18003a6b0
test al, al
je 0x1800583ae
mov byte [0x1800a08fb], 1
call fcn.18003a5b0
mov r8b, 1
xor edx, edx
lea rcx, str.Memory
call fcn.180039920
test al, al
je 0x1800583cd
call fcn.18003a5b0
mov r8b, 1
xor edx, edx
lea rcx, str.Debug
call fcn.180039920
test al, al
je 0x180058416
lea rcx, [0x18008bcbc]
call fcn.18003a6b0
test al, al
je 0x1800583f9
mov byte [0x1800a08fc], 1
lea rcx, str.Unload_ScriptHook
call fcn.18003a6b0
test al, al
je 0x180058411
mov eax, ebx
xchg byte [0x18009e4b1], al
call fcn.18003a5b0
mov r8b, 1
xor edx, edx
lea rcx, str.Settings
call fcn.180039920
test al, al
je 0x180058449
lea rcx, str.Quit_Game
call fcn.18003a6b0
test al, al
je 0x180058444
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.18003a5b0
mov rcx, qword [0x1800a0900]
mov rax, qword [rcx + 0x4000]
movss xmm6, dword [rax + 0x30]
mov qword [rsp + 0x38], rbx
movss xmm0, dword [0x18009175c]
movss xmm3, dword [0x18009174c]
movss xmm2, dword [rcx + 0x3d38]
lea rdx, [rbp - 0x41]
mov qword [rsp + 0x30], rbx
mov rcx, qword [rcx + 0x3d30]
cmp byte [0x18009e4b0], bl
lea rdi, str.Vulkan
jne 0x18005849f
lea rdi, str.DX12
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm0
call fcn.18002c860
movss xmm0, dword [rbp - 0x41]
addss xmm0, dword [0x1800916ac]
cvttss2si eax, xmm0
movd xmm0, eax
mov rcx, qword [0x1800a0900]
mov rax, qword [rcx + 0x4000]
cvtdq2ps xmm0, xmm0
mov byte [rax + 0xc0], 1
subss xmm6, xmm0
mov rax, qword [rcx + 0x4000]
movss xmm0, dword [rax + 0x28]
subss xmm6, dword [0x180091704]
subss xmm0, dword [rax + 0x8c]
addss xmm0, xmm6
movss dword [rax + 0x110], xmm0
movaps xmm0, xmmword [0x180091880]
mov byte [rax + 0x151], 1
movups xmmword [rbp - 0x41], xmm0
mov rdx, rdi
lea rcx, [rbp - 0x41]
call fcn.180035540
call fcn.1800397c0
cmp byte [0x1800a08fa], bl
je 0x180058607
xor r8d, r8d
lea rdx, [0x1800a08fa]
lea rcx, str.List
call fcn.18000e090
mov dword [rbp - 0x31], 0x44160000
mov dword [rbp - 0x2d], 0x43fa0000
xor r8d, r8d
lea rdx, [rbp - 0x31]
mov rcx, qword [0x1800a0900]
mov rcx, qword [rcx + 0x4000]
call fcn.180010d20
lea rcx, [rbp + 0x17]
call fcn.18005b610
nop
mov rdi, qword [rbp + 0x17]
mov rsi, qword [rbp + 0x1f]
cmp rdi, rsi
je 0x1800585f9
nop dword [rax]
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.18003ed90
mov rcx, rax
call fcn.18005b720
mov byte [rbp - 0x49], al
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1800585b4
mov rcx, qword [rdi]
call fcn.180037bc0
test al, al
je 0x1800585f0
lea rdx, [rbp - 0x49]
call fcn.180036f80
test al, al
je 0x1800585eb
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.18003ed90
mov rcx, rax
cmp byte [rbp - 0x49], 0
jne 0x1800585e6
call fcn.18005c500
jmp 0x1800585eb
call fcn.18005bf00
call fcn.180038530
add rdi, 0x20
cmp rdi, rsi
jne 0x180058590
lea rcx, [rbp + 0x17]
call fcn.18003f1e0
call fcn.180010440
cmp byte [0x1800a08fb], 0
je 0x1800586f1
xor r8d, r8d
lea rdx, [0x1800a08fb]
lea rcx, str.Tools
call fcn.18000e090
mov dword [rbp - 0x29], 0x44160000
mov dword [rbp - 0x25], 0x43480000
xor r8d, r8d
lea rdx, [rbp - 0x29]
mov rcx, qword [0x1800a0900]
mov rcx, qword [rcx + 0x4000]
call fcn.180010d20
mov rdx, qword [0x1800a0900]
mov rax, qword [rdx + 0x4000]
mov byte [rax + 0xc0], 1
mov rax, qword [rdx + 0x4000]
cmp byte [rax + 0xc3], 0
jne 0x1800586aa
lea r8, str.Welcome_to_the_Tools_section_in_this_section_you_can_load_and_unload_all_mods.
cmp r8, 0xffffffffffffffff
jae 0x1800586a2
movzx ecx, byte [r8]
test cl, cl
je 0x1800586a2
lea rax, [r8 + 1]
cmp cl, 0x23
jne 0x180058699
cmp byte [rax], cl
je 0x1800586a2
mov r8, rax
cmp rax, 0xffffffffffffffff
jb 0x180058684
movaps xmm3, xmm7
call fcn.180037640
mov qword [rbp - 0x21], 0
lea rdx, [rbp - 0x21]
lea rcx, str.Load_all_Scripts
call fcn.180035dd0
test al, al
je 0x1800586cb
call fcn.18005c830
mov qword [rbp - 0x19], 0
lea rdx, [rbp - 0x19]
lea rcx, str.Unload_all_Scripts
call fcn.180035dd0
test al, al
je 0x1800586ec
call fcn.18005cbe0
call fcn.180010440
cmp byte [0x1800a08fc], 0
je 0x18005887b
xor r8d, r8d
lea rdx, [0x1800a08fc]
lea rcx, [0x18008bcbc]
call fcn.18000e090
mov dword [rbp - 0x11], 0x44160000
mov dword [rbp - 0xd], 0x44480000
xor r8d, r8d
lea rdx, [rbp - 0x11]
mov rcx, qword [0x1800a0900]
mov rcx, qword [rcx + 0x4000]
call fcn.180010d20
xorps xmm5, xmm5
movdqu xmmword [rbp - 9], xmm5
mov qword [rbp + 7], rbx
mov r14, qword [0x18009fa90]
mov rdi, qword [r14 + 0x138]
sub rdi, qword [r14 + 0x130]
sar rdi, 5
test rdi, rdi
je 0x18005883d
movabs rax, 0x7ffffffffffffff
cmp rdi, rax
ja 0x1800588b4
shl rdi, 5
cmp rdi, 0x1000
jb 0x1800587b6
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1800588ae
call fcn.180062710
test rax, rax
je 0x1800587af
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1800587c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rdi, rdi
je 0x1800587c6
mov rcx, rdi
call fcn.180062710
mov rbx, rax
mov qword [rbp - 9], rbx
mov qword [rbp - 1], rbx
lea rax, [rdi + rbx]
mov qword [rbp + 7], rax
lea rax, [rbp - 9]
mov qword [rbp - 0x41], rax
mov rsi, qword [r14 + 0x138]
mov rdi, qword [r14 + 0x130]
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], rbx
lea rax, [rbp - 9]
mov qword [rbp + 0x27], rax
cmp rdi, rsi
je 0x18005882c
nop dword [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.18003ed90
add rbx, 0x20
mov qword [rbp + 0x1f], rbx
add rdi, 0x20
cmp rdi, rsi
jne 0x180058810
mov rdx, rbx
mov rcx, rbx
call fcn.180041db0
mov qword [rbp - 1], rbx
jmp 0x180058841
mov rbx, qword [rbp - 1]
mov rdi, qword [rbp - 9]
cmp rdi, rbx
je 0x18005886d
nop word [rax + rax]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18005885d
mov rcx, qword [rdi]
xor edx, edx
call fcn.180034df0
add rdi, 0x20
cmp rdi, rbx
jne 0x180058850
lea rcx, [rbp - 9]
call fcn.18003f1e0
call fcn.180010440
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180062110
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
call fcn.18003ad40
int3
call fcn.1800425b0
int3