Function at 0x1401612d0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1405d3230]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1405deaf0]
mov rbp, rcx
test rsi, rsi
jne 0x140161318
mov r8d, 0x1093
lea rdx, str.C:UsersAdministratorDesktopLauncherV3_tempTfaBqtZ9xhOrWyLrincludeimguiincludeimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1404703d8
mov rsi, qword [0x1405deaf0]
cmp qword [rsi + 0x90], 0
je 0x14016133b
mov r8d, 0x3e
lea rdx, str.C:UsersAdministratorDesktopLauncherV3_tempTfaBqtZ9xhOrWyLrincludeimguiincludeimgui_impl_win32.cpp
lea rcx, str.io.BackendPlatformUserData__nullptr___Already_initialized_a_platform_backend__
call fcn.1404703d8
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1401614fe
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1401614fe
mov rax, qword [0x1405deaf0]
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
test rax, rax
je 0x140161383
inc dword [rax + 0xf0]
mov ecx, 0x50
call fcn.140470900
xor ebx, ebx
mov rdi, rax
test rax, rax
je 0x1401613af
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x1401613b2
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov rax, qword [0x1405deaf0]
mov dword [rdi + 0x28], 9
test rax, rax
je 0x1401613fc
mov rsi, qword [rax + 0x90]
jmp 0x1401613ff
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14016142a
mov dword [rsi + 0x2c], ebx
mov rsi, qword [0x1405deaf0]
cmp dword [rsi + 0x48c0], ebx
jg 0x140161452
mov r8d, 0x734
lea rdx, str.C:UsersAdministratorDesktopLauncherV3_tempTfaBqtZ9xhOrWyLrincludeimguiincludeimgui.h
lea rcx, str.i___0__i___Size
call fcn.1404703d8
mov rax, qword [rsi + 0x48c8]
mov rcx, qword [rax]
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rcx + 0x28], rbp
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x1401614be
inc rbx
cmp rbx, 5
jl 0x1401614a0
jmp 0x1401614ea
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x140161500
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14045a250
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret