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

Disassembly:
xor edx, edx
jmp 0x140081080
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov ebp, edx
mov rbx, rcx
call fcn.14003c1b0
mov rdi, rax
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], setsockopt
mov qword [rsp + 0x20], select
lea rcx, str.1.90.9_WIP
mov edx, 0x3918
mov r8d, 0x494
mov r9d, 8
call fcn.140055c80
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140081169
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140081169
mov ecx, 0x50
call fcn.1400305d0
mov rsi, rax
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
mov qword [rdi + 0x90], rax
lea rax, str.imgui_impl_win32
mov qword [rdi + 0x80], rax
or dword [rdi + 4], 0xc06
mov qword [rsi], rbx
mov byte [rsi + 0x30], 1
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x20], rax
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x18], rax
mov dword [rsi + 0x28], 9
call fcn.140032130
test rax, rax
je 0x140081170
call fcn.14003c1b0
mov rbx, qword [rax + 0x90]
jmp 0x140081172
xor eax, eax
jmp 0x140081462
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr eax, 0x10
add rbx, 0x2c
mov ecx, eax
mov edx, 0x20001004
mov r8, rbx
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1400811a1
mov dword [rbx], 0
call fcn.14004ccd0
mov rcx, qword [rsi]
mov qword [rax + 0x50], rcx
mov qword [rax + 0x48], rcx
test byte [rdi + 1], 4
je 0x1400813c8
mov dword [rsp + 0x48], 0x50
movzx eax, bpl
shl eax, 5
or eax, 3
mov dword [rsp + 0x4c], eax
lea rax, [0x140083580]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
xor ebp, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], 2
mov qword [rsp + 0x80], 0
lea rax, str.ImGui_Platform
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 0
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_RegisterClassExA]
call fcn.140032130
test rax, rax
je 0x14008124e
call fcn.14003c1b0
mov rbp, qword [rax + 0x90]
call fcn.14003c1c0
mov rdi, rax
cmp dword [rax + 0xbc], 0
jns 0x1400812a9
xor ecx, ecx
call fcn.1400305d0
mov rbx, rax
mov rdx, qword [rdi + 0xc0]
test rdx, rdx
je 0x140081298
movsxd rax, dword [rdi + 0xb8]
shl rax, 4
lea r8, [rax + rax*2]
mov rcx, rbx
call fcn.1400a5150
mov rcx, qword [rdi + 0xc0]
call fcn.140030860
mov qword [rdi + 0xc0], rbx
mov dword [rdi + 0xbc], 0
mov dword [rdi + 0xb8], 0
lea r8, [0x140083f00]
xor ebx, ebx
xor ecx, ecx
xor edx, edx
xor r9d, r9d
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov byte [rbp + 0x30], 0
call fcn.14003c1c0
lea rcx, [0x140083700]
mov qword [rax], rcx
lea rcx, [0x140083860]
mov qword [rax + 8], rcx
lea rcx, [0x1400838f0]
mov qword [rax + 0x10], rcx
lea rcx, [0x140083960]
mov qword [rax + 0x18], rcx
lea rcx, [0x1400839f0]
mov qword [rax + 0x20], rcx
lea rcx, [0x140083a50]
mov qword [rax + 0x28], rcx
lea rcx, [0x140083af0]
mov qword [rax + 0x30], rcx
lea rcx, [0x140083b50]
mov qword [rax + 0x38], rcx
lea rcx, [0x140083b80]
mov qword [rax + 0x40], rcx
lea rcx, [0x140083ba0]
mov qword [rax + 0x48], rcx
lea rcx, [0x140083bc0]
mov qword [rax + 0x50], rcx
lea rcx, [0x140083cd0]
mov qword [rax + 0x58], rcx
lea rcx, [0x140083d60]
mov qword [rax + 0x60], rcx
lea rcx, [0x140083ed0]
mov qword [rax + 0x78], rcx
lea rcx, [method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_8]
mov qword [rax + 0x80], rcx
call fcn.14004ccd0
mov rdi, rax
call fcn.140032130
test rax, rax
je 0x140081397
call fcn.14003c1b0
mov rbx, qword [rax + 0x90]
mov ecx, 0x20
call fcn.1400305d0
mov qword [rax + 0x14], 0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov byte [rax + 0x10], 0
mov rcx, qword [rbx]
mov qword [rax], rcx
mov byte [rax + 0x10], 0
mov qword [rdi + 0x40], rax
mov rax, qword [rbx]
mov qword [rdi + 0x48], rax
mov byte [rsi + 0x32], 1
lea rcx, str.xinput1_4.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x140081435
lea rcx, str.xinput1_3.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x140081435
lea rcx, str.xinput9_1_0.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x140081435
lea rcx, str.xinput1_2.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x140081435
lea rcx, str.xinput1_1.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x140081460
mov qword [rsi + 0x38], rdi
lea rdx, str.XInputGetCapabilities
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
call rbx
mov qword [rsi + 0x40], rax
lea rdx, str.XInputGetState
mov rcx, rdi
call rbx
mov qword [rsi + 0x48], rax
mov al, 1
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
ret