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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push ebx
push esi
mov esi, dword [0x5573b0]
mov dword [ebp - 8], ecx
push edi
test esi, esi
jne 0x434bba
push 0x10a9
push str.C:Users_samesDesktopVerahook_Loaderproimgui_masterimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call eax
mov esi, dword [0x5573b0]
add esp, 0xc
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [esi + 0x70], 0
je 0x434bd4
push 0x8a
push str.C:Users_samesDesktopVerahook_Loaderproimgui_master_backendsimgui_impl_win32.cpp
push str.io.BackendPlatformUserData__nullptr___Already_initialized_a_platform_backend__
call eax
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x434d37
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x434d37
push 0x38
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, dword [0x5573b0]
add esp, 4
mov ebx, eax
test edi, edi
je 0x434c15
inc dword [edi + 0xb0]
test ebx, ebx
je 0x434c28
push 0x38
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x434c2a
xor ebx, ebx
or dword [esi + 0xc], 6
mov eax, dword [ebp - 8]
mov dword [esi + 0x70], ebx
mov dword [esi + 0x68], str.imgui_impl_win32
mov dword [ebx], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x20], 9
test edi, edi
je 0x434c65
mov esi, dword [edi + 0x70]
jmp 0x434c67
xor esi, esi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 4
add esi, 0x24
shr eax, 0x10
push esi
push 0x20001004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x434c8a
mov dword [esi], eax
mov esi, dword [0x5573b0]
cmp dword [esi + 0x47ec], 0
jg 0x434cb1
push 0x72f
push 0x43d2a8
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [esi + 0x47f4]
xor esi, esi
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x34], str.xinput1_4.dll
mov dword [ebp - 0x30], str.xinput1_3.dll
mov eax, dword [eax]
mov dword [ebp - 0x2c], str.xinput9_1_0.dll
mov dword [ebp - 0x28], str.xinput1_2.dll
mov dword [ebp - 0x24], str.xinput1_1.dll
mov dword [eax + 0x24], ecx
mov byte [ebx + 0x29], 1
nop dword [eax + eax]
push dword [ebp + esi*4 - 0x34]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
jne 0x434d0f
inc esi
cmp esi, 5
jl 0x434cf0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push edi
mov dword [ebx + 0x2c], edi
call esi
push str.XInputGetState
push edi
mov dword [ebx + 0x30], eax
call esi
mov dword [ebx + 0x34], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret