Function at 0x1800cdd30
Capabilities:
Get geographical location
Get keyboard layout
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x18016f040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x180174938]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x18003adae
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x18003adae
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call fcn.180014270
xor ebx, ebx
mov qword [rsp + 0x28], rax
mov rdi, rax
test rax, rax
je 0x18003ac7a
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 0x18003ac7d
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 [0x180174938]
mov dword [rdi + 0x28], 9
test rax, rax
je 0x18003acc7
mov rsi, qword [rax + 0x90]
jmp 0x18003acca
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 0x18003acf5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x180174938]
mov rcx, qword [rax + 0x4ae0]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
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 [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x18003ad6e
inc rbx
cmp rbx, 5
jl 0x18003ad50
jmp 0x18003ad9a
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 0x18003adb0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800da770
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rax - 0x128]
sub rsp, 0x200
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rbx, qword [0x180174938]
mov ecx, 0x61c8
call fcn.180014270
mov qword [rbp + 0x138], rax
lea rcx, [rbp + 0x130]
mov qword [rbp + 0x140], rcx
mov qword [rbp + 0x148], rax
test rax, rax
je 0x1800cdd8c
xor edx, edx
mov rcx, rax
call fcn.18000efe0
nop
mov qword [0x180174938], rax
call fcn.180013080
test rbx, rbx
je 0x1800cdda6
mov qword [0x180174938], rbx
jmp 0x1800cddad
mov rbx, qword [0x180174938]
mov qword [rbx + 0x20], 0
xorps xmm7, xmm7
movups xmmword [rbp + 0x50], xmm7
movups xmmword [rbp + 0x60], xmm7
movups xmmword [rbp + 0x70], xmm7
movups xmmword [rbp + 0x90], xmm7
movups xmmword [rbp + 0xa0], xmm7
mov byte [rbp + 0x5c], 1
mov dword [rbp + 0x94], 0x7f7fffff
mov dword [rbp + 0xa0], 0x3f800000
mov dword [rbp + 0xa4], 0x3f800000
mov eax, 0xffff
mov word [rbp + 0xa8], ax
xorps xmm6, xmm6
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x70], xmm6
movups xmmword [rbp - 0x80], xmm6
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x74], 0x7f7fffff
mov dword [rbp - 0x80], 0x3f800000
mov dword [rbp - 0x7c], 0x3f800000
mov word [rbp - 0x78], ax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov byte [rbp - 0x34], 1
mov dword [rbp - 0x28], 2
mov dword [rbp - 0x24], 1
mov dword [rbp + 4], 0x7f7fffff
mov dword [rbp + 0x10], 0x3f800000
mov dword [rbp + 0x14], 0x3f800000
mov word [rbp + 0x18], ax
xor r9d, r9d
movss xmm2, dword [0x180155180]
lea rdx, str.IconFont_JuliusSansOne_Regular.ttf
mov rcx, qword [rbx + 0x38]
call fcn.1800355a0
test rax, rax
jne 0x1800cdeca
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Could_not_load_font_file__n
call fcn.180065280
mov byte [rsp + 0x3c], 0
mov byte [rbp + 0x98], 1
mov byte [rbp + 0x70], 1
mov dword [rbp + 0x68], 3
mov dword [rbp + 0x6c], 3
lea r9, [rbp - 0x40]
movss xmm2, dword [0x180155188]
lea rdx, [0x1800ff249]
mov rcx, qword [rbx + 0x38]
call fcn.1800355a0
movaps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x20], xmm6
movaps xmmword [rbp - 0x10], xmm6
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp], xmm0
movaps xmm1, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm1
movaps xmmword [rbp + 0x20], xmm6
movaps xmmword [rbp + 0x30], xmm6
movaps xmmword [rbp + 0x40], xmm6
lea rax, [0x180127840]
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], 0x225bc
mov dword [rbp - 0x2c], 0x41900000
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 0x38]
call fcn.1800353f0
mov r14, qword [rbx + 0x38]
mov ecx, 0x286ac
call fcn.180014270
mov rsi, rax
lea rax, [0x1801091a0]
mov qword [0x1801a69b8], rax
lea rdi, [rsi + 0x286ac]
mov qword [0x1801a6a10], rdi
mov qword [0x1801a6a18], rsi
mov qword [0x1801a6a20], rsi
lea rbx, [0x1801091b0]
mov rcx, rbx
call fcn.180039500
cmp rax, rbx
je 0x1800cdfc9
cmp qword [0x1801a6a20], rdi
ja 0x1800cdfc9
mov rbx, rax
mov rcx, rax
call fcn.180039500
cmp rax, rbx
jne 0x1800cdfb0
movaps xmm0, xmmword [rbp + 0x50]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rbp + 0x60]
movaps xmm2, xmmword [rbp + 0x70]
movaps xmm3, xmmword [rbp + 0x90]
movaps xmm4, xmmword [rbp + 0xa0]
mov byte [rsp + 0x3c], 1
movaps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rbp - 0x80], xmm4
movaps xmmword [rbp - 0x70], xmm7
movaps xmmword [rbp - 0x60], xmm7
movaps xmmword [rbp - 0x50], xmm7
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], 0x286ac
mov dword [rsp + 0x44], 0x41900000
lea rax, [0x180152d58]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.1800353f0
mov rax, qword [0x1801ab258]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x150]
mov rbx, qword [0x180174938]
mov ecx, 0x28
call fcn.180014270
mov qword [rbp + 0x130], rax
test rax, rax
je 0x1800ce095
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rcx
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
mov qword [rbx + 0x98], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0x88], rcx
or dword [rbx + 0xc], 8
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + ioctlsocket]
mov rcx, qword [0x1801ab2e0]
movaps xmm6, xmmword [rsp + 0x1f0]
movaps xmm7, xmmword [rsp + 0x1e0]
add rsp, 0x200
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp 0x18003abf0