Function at 0x1800aaa70
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x18011e040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor r14d, r14d
mov qword [0x1801497e0], r14
mov qword [0x1801497e8], r14
mov qword [0x1801497f0], r14
mov qword [0x1801497f8], r14
mov qword [0x180149800], r14
mov qword [0x180149808], r14
mov qword [0x180149810], r14
mov qword [0x180149818], r14
mov qword [0x180149820], r14
mov qword [0x180149828], r14
mov qword [0x180149830], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r14
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], r14b
mov rbx, qword [0x180149748]
test rbx, rbx
jne 0x1800aab30
lea r8, [0x180149748]
lea rdx, [0x180149748]
lea ecx, [rbx + 4]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
mov rbx, qword [0x180149748]
mov ecx, 0x104
call fcn.1800ac964
mov rdi, rax
mov qword [rbp + 0x27], rax
mov r8d, 0x104
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1800aab63
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.1800052a0
nop
mov rcx, rdi
call fcn.1800ac554
lea rsi, [rbp - 0x19]
mov rcx, qword [rbp - 0x19]
mov rdx, qword [rbp - 1]
mov rax, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x1800aaba4
mov rsi, rcx
lea rbx, [rax + rcx]
mov rdi, rcx
jmp 0x1800aabaf
lea rbx, [rbp - 0x19]
add rbx, rax
lea rdi, [rbp - 0x19]
cmp rdi, rbx
je 0x1800aabd7
sub rsi, rdi
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rdi + rsi], al
inc rdi
cmp rdi, rbx
jne 0x1800aabb7
mov rdx, qword [rbp - 1]
mov rax, qword [rbp - 9]
mov rcx, qword [rbp - 0x19]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
lea rdi, [rbp - 0x19]
cmp rdx, 0xf
cmova rdi, rcx
cmp rax, 0xd
jb 0x1800aac67
lea rsi, [rax + rdi]
lea r8, [rsi - 0xc]
sub r8, rdi
mov edx, 0x78
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1800aac67
mov r8d, 0xd
lea rdx, str.xinput1_3.dll
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800aac5a
inc rbx
lea r8, [rsi - 0xc]
sub r8, rbx
mov edx, 0x78
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1800aac20
jmp 0x1800aac67
sub rbx, rdi
cmp rbx, 0xffffffffffffffff
jne 0x1800aacf7
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
mov qword [rbp + 0x3f], 0xd
mov qword [rbp + 0x47], 0xf
movsd xmm0, qword [str.xinput1_3.dll]
movsd qword [rbp + 0x2f], xmm0
mov eax, dword [0x1800fb298]
mov dword [rbp + 0x37], eax
movzx eax, byte [0x1800fb29c]
mov byte [rbp + 0x3b], al
mov byte [rbp + 0x3c], 0
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x2f]
call fcn.1800ab600
mov r8, rax
mov qword [0x180149850], rax
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x1800aacfe
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800aacf2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800aacf2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ac554
mov r8, qword [0x180149850]
test r8, r8
jne 0x1800aadbb
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.1800ab450
mov r8, rax
mov qword [0x180149850], rax
test rax, rax
jne 0x1800aadbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, 0x104
call fcn.1800ac964
mov rdx, rax
lea rcx, [rbp + 0x27]
call fcn.1800ab440
nop
lea rcx, [rbp + 7]
call fcn.180003270
mov r9, rax
lea rcx, [rbp + 0x27]
call fcn.1800a87d0
mov rbx, rax
mov dword [rsp + 0x20], edi
lea r8, str.Cannot_load___s__error:_0x_x
mov edx, 0x104
mov rcx, rax
call fcn.18000d0e0
call fcn.1800a8f90
cmp eax, 0xfffffffe
jl 0x1800aad9a
mov r9, rbx
mov r8d, 0xb9
lea rdx, str.C:UsersTOTOMAN2_source_reposNewColussus_Qols_Modxinput_module_manager.h
mov ecx, 0xfffffffe
call fcn.1800a9a60
mov r9d, 0x10
lea r8, str.Error
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov ecx, dword [0x180146108]
cmp dword [0x180148698], ecx
cmovg ecx, dword [0x180148698]
test ecx, ecx
js 0x1800aae07
lea rax, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova rax, qword [rbp + 7]
mov qword [rsp + 0x20], rax
lea r9, str.Loaded___s_
mov r8d, 0xc0
lea rdx, str.C:UsersTOTOMAN2_source_reposNewColussus_Qols_Modxinput_module_manager.h
xor ecx, ecx
call fcn.1800a9a60
mov r8, qword [0x180149850]
lea rdx, [0x1800fb2b8]
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801497e0], rax
lea rdx, [0x180109528]
mov rcx, qword [0x180149850]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801497e8], rax
lea rdx, [0x1800fb248]
mov rcx, qword [0x180149850]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801497f0], rax
lea rdx, [0x180109538]
mov rcx, qword [0x180149850]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801497f8], rax
lea rdx, [0x180109548]
mov rcx, qword [0x180149850]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149800], rax
lea rdx, [0x180109568]
mov rcx, qword [0x180149850]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149808], rax
lea rdx, [0x180109588]
mov rcx, qword [0x180149850]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149810], rax
mov edx, 0x64
mov rcx, qword [0x180149850]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149818], rax
mov edx, 0x65
mov rcx, qword [0x180149850]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149820], rax
mov edx, 0x66
mov rcx, qword [0x180149850]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149828], rax
mov edx, 0x67
mov rcx, qword [0x180149850]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149830], rax
lea rdx, [0x1801095a0]
mov rcx, qword [0x180149850]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149838], rax
mov edx, 0x68
mov rcx, qword [0x180149850]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149840], rax
mov edx, 0x6c
mov rcx, qword [0x180149850]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149848], rax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x1800aafaf
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800aafaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800aafaa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ac554
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x1800aaffd
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800aaff8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800aaff8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ac554
lea rax, [0x1801497e0]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1800ac180
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret