Function at 0x180058420
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 [0x1800a03c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor ebx, ebx
mov edx, 0x20f
mov r9, qword [0x1800a2a10]
mov rcx, r9
call fcn.180011160
xorps xmm7, xmm7
cmp byte [rax], bl
je 0x1800584ac
cmp byte [r9 + 0x4198], bl
jne 0x1800584ac
mov edx, 0x247
mov rcx, r9
call fcn.180011160
comiss xmm7, dword [rax + 8]
ja 0x1800584ac
cmp byte [rax], bl
jne 0x1800584ac
cmp byte [r9 + 0x4438], bl
jne 0x1800584ac
movzx eax, byte [0x1800a3648]
xor al, 1
mov byte [0x1800a3648], al
jmp 0x1800584b3
movzx eax, byte [0x1800a3648]
test al, al
je 0x180058acb
movabs rax, 0xa571d46727e2b718
mov qword [0x1800a2da8], rax
mov dword [0x1800a1438], ebx
mov dword [0x1800a1448], ebx
xorps xmm0, xmm0
movups xmmword [0x1800a1610], xmm0
movups xmmword [0x1800a1620], xmm0
movups xmmword [0x1800a1630], xmm0
movups xmmword [0x1800a1640], xmm0
movups xmmword [0x1800a1650], xmm0
movups xmmword [0x1800a1660], xmm0
movups xmmword [0x1800a1670], xmm0
movups xmmword [0x1800a1680], xmm0
mov dword [rbp - 0x11], ebx
mov edx, ebx
mov rcx, qword [0x1800a1440]
mov rax, qword [rbp - 0x11]
mov qword [rcx + rdx*8], rax
inc dword [0x1800a1438]
call fcn.180058bc0
mov ecx, 2
cmp dword [rax], ebx
cmovne ecx, ebx
movabs rax, 0x5f4b6931816e599b
mov qword [0x1800a2da8], rax
mov dword [0x1800a1438], ebx
mov dword [0x1800a1448], ebx
xorps xmm0, xmm0
movups xmmword [0x1800a1610], xmm0
movups xmmword [0x1800a1620], xmm0
movups xmmword [0x1800a1630], xmm0
movups xmmword [0x1800a1640], xmm0
movups xmmword [0x1800a1650], xmm0
movups xmmword [0x1800a1660], xmm0
movups xmmword [0x1800a1670], xmm0
movups xmmword [0x1800a1680], xmm0
mov dword [rbp - 0x11], ecx
mov edx, ebx
mov rcx, qword [0x1800a1440]
mov rax, qword [rbp - 0x11]
mov qword [rcx + rdx*8], rax
inc dword [0x1800a1438]
call fcn.180039730
test al, al
je 0x18005877b
mov r8b, 1
xor edx, edx
lea rcx, str.Scripts
call fcn.180039930
test al, al
je 0x180058603
lea rcx, str.List
call fcn.18003a6c0
test al, al
je 0x1800585e7
mov byte [0x1800a2a0b], 1
lea rcx, str.Tools
call fcn.18003a6c0
test al, al
je 0x1800585fe
mov byte [0x1800a2a0c], 1
call fcn.18003a5c0
mov r8b, 1
xor edx, edx
lea rcx, str.Memory
call fcn.180039930
test al, al
je 0x18005861d
call fcn.18003a5c0
mov r8b, 1
xor edx, edx
lea rcx, str.Debug
call fcn.180039930
test al, al
je 0x180058666
lea rcx, [0x18008ccbc]
call fcn.18003a6c0
test al, al
je 0x180058649
mov byte [0x1800a2a0a], 1
lea rcx, str.Unload_ScriptHook
call fcn.18003a6c0
test al, al
je 0x180058661
mov eax, ebx
xchg byte [0x1800a04b1], al
call fcn.18003a5c0
mov r8b, 1
xor edx, edx
lea rcx, str.Settings
call fcn.180039930
test al, al
je 0x180058699
lea rcx, str.Quit_Game
call fcn.18003a6c0
test al, al
je 0x180058694
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.18003a5c0
mov rcx, qword [0x1800a2a10]
mov rax, qword [rcx + 0x4000]
movss xmm6, dword [rax + 0x30]
mov qword [rsp + 0x38], rbx
movss xmm0, dword [0x1800927cc]
movss xmm3, dword [0x1800927bc]
movss xmm2, dword [rcx + 0x3d38]
lea rdx, [rbp - 0x41]
mov qword [rsp + 0x30], rbx
mov rcx, qword [rcx + 0x3d30]
cmp byte [0x1800a04b0], bl
lea rdi, str.Vulkan
jne 0x1800586ef
lea rdi, str.DX12
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm0
call fcn.18002c870
movss xmm0, dword [rbp - 0x41]
addss xmm0, dword [0x18009271c]
cvttss2si eax, xmm0
movd xmm0, eax
mov rcx, qword [0x1800a2a10]
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 [0x180092774]
subss xmm0, dword [rax + 0x8c]
addss xmm0, xmm6
movss dword [rax + 0x110], xmm0
movaps xmm0, xmmword [0x1800928f0]
mov byte [rax + 0x151], 1
movups xmmword [rbp - 0x41], xmm0
mov rdx, rdi
lea rcx, [rbp - 0x41]
call fcn.180035550
call fcn.1800397d0
cmp byte [0x1800a2a0b], bl
je 0x180058857
xor r8d, r8d
lea rdx, [0x1800a2a0b]
lea rcx, str.List
call fcn.18000e0a0
mov dword [rbp - 0x31], 0x44160000
mov dword [rbp - 0x2d], 0x43fa0000
xor r8d, r8d
lea rdx, [rbp - 0x31]
mov rcx, qword [0x1800a2a10]
mov rcx, qword [rcx + 0x4000]
call fcn.180010d30
lea rcx, [rbp + 0x17]
call fcn.18005b890
nop
mov rdi, qword [rbp + 0x17]
mov rsi, qword [rbp + 0x1f]
cmp rdi, rsi
je 0x180058849
nop dword [rax]
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.18003edf0
mov rcx, rax
call fcn.18005b9a0
mov byte [rbp - 0x49], al
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180058804
mov rcx, qword [rdi]
call fcn.180037bd0
test al, al
je 0x180058840
lea rdx, [rbp - 0x49]
call fcn.180036f90
test al, al
je 0x18005883b
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.18003edf0
mov rcx, rax
cmp byte [rbp - 0x49], 0
jne 0x180058836
call fcn.18005ca90
jmp 0x18005883b
call fcn.18005c490
call fcn.180038540
add rdi, 0x20
cmp rdi, rsi
jne 0x1800587e0
lea rcx, [rbp + 0x17]
call fcn.18003f240
call fcn.180010450
cmp byte [0x1800a2a0c], 0
je 0x180058941
xor r8d, r8d
lea rdx, [0x1800a2a0c]
lea rcx, str.Tools
call fcn.18000e0a0
mov dword [rbp - 0x29], 0x44160000
mov dword [rbp - 0x25], 0x43480000
xor r8d, r8d
lea rdx, [rbp - 0x29]
mov rcx, qword [0x1800a2a10]
mov rcx, qword [rcx + 0x4000]
call fcn.180010d30
mov rdx, qword [0x1800a2a10]
mov rax, qword [rdx + 0x4000]
mov byte [rax + 0xc0], 1
mov rax, qword [rdx + 0x4000]
cmp byte [rax + 0xc3], 0
jne 0x1800588fa
lea r8, str.Welcome_to_the_Tools_section_in_this_section_you_can_load_and_unload_all_mods.
cmp r8, 0xffffffffffffffff
jae 0x1800588f2
movzx ecx, byte [r8]
test cl, cl
je 0x1800588f2
lea rax, [r8 + 1]
cmp cl, 0x23
jne 0x1800588e9
cmp byte [rax], cl
je 0x1800588f2
mov r8, rax
cmp rax, 0xffffffffffffffff
jb 0x1800588d4
movaps xmm3, xmm7
call fcn.180037650
mov qword [rbp - 0x21], 0
lea rdx, [rbp - 0x21]
lea rcx, str.Load_all_Scripts
call fcn.180035de0
test al, al
je 0x18005891b
call fcn.18005cdc0
mov qword [rbp - 0x19], 0
lea rdx, [rbp - 0x19]
lea rcx, str.Unload_all_Scripts
call fcn.180035de0
test al, al
je 0x18005893c
call fcn.18005d170
call fcn.180010450
cmp byte [0x1800a2a0a], 0
je 0x180058acb
xor r8d, r8d
lea rdx, [0x1800a2a0a]
lea rcx, [0x18008ccbc]
call fcn.18000e0a0
mov dword [rbp - 0x11], 0x44160000
mov dword [rbp - 0xd], 0x44480000
xor r8d, r8d
lea rdx, [rbp - 0x11]
mov rcx, qword [0x1800a2a10]
mov rcx, qword [rcx + 0x4000]
call fcn.180010d30
xorps xmm5, xmm5
movdqu xmmword [rbp - 9], xmm5
mov qword [rbp + 7], rbx
mov r14, qword [0x1800a1a90]
mov rdi, qword [r14 + 0x138]
sub rdi, qword [r14 + 0x130]
sar rdi, 5
test rdi, rdi
je 0x180058a8d
movabs rax, 0x7ffffffffffffff
cmp rdi, rax
ja 0x180058b04
shl rdi, 5
cmp rdi, 0x1000
jb 0x180058a06
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x180058afe
call fcn.180063080
test rax, rax
je 0x1800589ff
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x180058a16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rdi, rdi
je 0x180058a16
mov rcx, rdi
call fcn.180063080
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 0x180058a7c
nop dword [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.18003edf0
add rbx, 0x20
mov qword [rbp + 0x1f], rbx
add rdi, 0x20
cmp rdi, rsi
jne 0x180058a60
mov rdx, rbx
mov rcx, rbx
call fcn.180041e10
mov qword [rbp - 1], rbx
jmp 0x180058a91
mov rbx, qword [rbp - 1]
mov rdi, qword [rbp - 9]
cmp rdi, rbx
je 0x180058abd
nop word [rax + rax]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180058aad
mov rcx, qword [rdi]
xor edx, edx
call fcn.180034e00
add rdi, 0x20
cmp rdi, rbx
jne 0x180058aa0
lea rcx, [rbp - 9]
call fcn.18003f240
call fcn.180010450
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180062a80
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.18003ad50
int3
call fcn.180042610
int3