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

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1400b2040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rsi, qword [0x1400b5410]
mov r14, rcx
lea rcx, [rbp + 0x37]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14008c773
lea rcx, [rbp + 0x3f]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14008c773
mov rax, qword [0x1400b5410]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], rdi
test rax, rax
je 0x14008c425
inc dword [rax + 0xf4]
mov ecx, 0x50
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor ebx, ebx
mov rdi, rax
test rax, rax
je 0x14008c452
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 0x14008c455
mov rdi, rbx
or dword [rsi + 0xc], 0xc06
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], rdi
mov qword [rdi], r14
mov byte [rdi + 0x30], 1
mov rax, qword [rbp + 0x37]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0x3f]
mov qword [rdi + 0x18], rax
mov rax, qword [0x1400b5410]
mov dword [rdi + 0x28], 9
test rax, rax
je 0x14008c4a4
mov r14, qword [rax + 0x98]
jmp 0x14008c4a7
mov r14, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [r14 + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14008c4d3
mov dword [r14 + 0x2c], ebx
mov rax, qword [0x1400b5410]
mov rcx, qword [rax + 0x4210]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x50], rax
mov qword [rdx + 0x48], rax
test dword [rsi + 8], 0x400
je 0x14008c6da
lea rax, [0x14008eea0]
mov dword [rbp - 0x19], 0x50
xor ecx, ecx
mov qword [rbp - 0x11], rax
mov dword [rbp - 0x15], 3
mov qword [rbp - 9], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movdqa xmm1, xmmword [reloc.WS2_32.dll_bind]
lea rcx, [rbp - 0x19]
mov qword [rbp - 1], rax
xorps xmm0, xmm0
lea rax, str.ImGui_Platform
movdqa xmmword [rbp + 7], xmm0
mov qword [rbp + 0x27], rax
movdqa xmmword [rbp + 0x17], xmm1
mov qword [rbp + 0x2f], rbx
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [0x1400b5410]
test rax, rax
je 0x14008c568
mov r14, qword [rax + 0x98]
jmp 0x14008c56b
mov r14, rbx
lea rsi, [rax + 0x38c8]
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x14008c591
mov eax, ecx
cdq
sub eax, edx
mov edx, ebx
sar eax, 1
add eax, ecx
mov rcx, rsi
test eax, eax
cmovg edx, eax
call fcn.140027e80
xor r9d, r9d
mov dword [rsi], ebx
lea r8, [0x14008d220]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov rcx, qword [0x1400b5410]
lea rax, [0x14008e580]
mov byte [r14 + 0x30], bl
mov qword [rcx + 0x3810], rax
lea rax, [0x14008e780]
mov qword [rcx + 0x3818], rax
lea rax, [0x14008e830]
mov qword [rcx + 0x3820], rax
lea rax, [0x14008eae0]
mov qword [rcx + 0x3828], rax
lea rax, [0x14008ea70]
mov qword [rcx + 0x3830], rax
lea rax, [0x14008ebe0]
mov qword [rcx + 0x3838], rax
lea rax, [0x14008eb70]
mov qword [rcx + 0x3840], rax
lea rax, [0x14008ec80]
mov qword [rcx + 0x3848], rax
lea rax, [0x14008ecb0]
mov qword [rcx + 0x3850], rax
lea rax, [0x14008ecd0]
mov qword [rcx + 0x3858], rax
lea rax, [0x14008ecf0]
mov qword [rcx + 0x3860], rax
lea rax, [0x14008edd0]
mov qword [rcx + 0x3868], rax
lea rax, [0x14008e860]
mov qword [rcx + 0x3870], rax
lea rax, [0x14008ee70]
mov qword [rcx + 0x3888], rax
lea rax, [fcn.140001920]
mov qword [rcx + 0x3890], rax
mov rax, qword [rcx + 0x4210]
mov r14, qword [rcx + 0x98]
mov rsi, qword [rax]
test rcx, rcx
je 0x14008c6a0
inc dword [rcx + 0xf4]
mov ecx, 0x20
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
je 0x14008c6c3
mov qword [rax + 8], rbx
mov qword [rax], rbx
mov byte [rax + 0x10], bl
mov qword [rax + 0x14], rbx
jmp 0x14008c6c6
mov rcx, rbx
mov rax, qword [r14]
mov qword [rcx], rax
mov byte [rcx + 0x10], bl
mov qword [rsi + 0x40], rcx
mov rax, qword [r14]
mov qword [rsi + 0x48], rax
lea rax, [0x14009ffb0]
mov byte [rdi + 0x32], 1
mov qword [rbp - 0x19], rax
lea rax, str.xinput1_3.dll
mov qword [rbp - 0x11], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp - 9], rax
lea rax, str.xinput1_2.dll
mov qword [rbp - 1], rax
lea rax, str.xinput1_1.dll
mov qword [rbp + 7], rax
mov rcx, qword [rbp + rbx*8 - 0x19]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14008c733
inc rbx
cmp rbx, 5
jl 0x14008c715
jmp 0x14008c75f
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 + 0xb8]
mov al, 1
mov rbx, qword [rsp + 0xb0]
jmp 0x14008c775
xor al, al
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140090940
lea r11, [rsp + 0xa0]
mov rsi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret