Function at 0x100051d0
Capabilities:
Get keyboard layout

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058dc6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x160
mov eax, dword [0x1008d040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x14
movups xmmword [ecx], xmm0
push str.Reloaded_Server_List
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044b0
mov edx, str.LAN_Seek_Games_List
mov ecx, str.TitlePage
call fcn.10004fc0
mov ecx, esp
xorps xmm0, xmm0
push 0x10
push str.Reloaded_Session
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044b0
mov edx, str.LAN_Menu
mov ecx, str.TitlePage
call fcn.10004fc0
mov ecx, esp
xorps xmm0, xmm0
push 0x10
push str.Reloaded_Session
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044b0
mov edx, str.LAN_Menu
mov ecx, str.TitrePage.Caption
call fcn.10004fc0
mov ecx, esp
xorps xmm0, xmm0
push 0xe
push str.Reloaded_Lobby
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044b0
mov edx, str.Lobby_Create
mov ecx, str.TitlePage
call fcn.10004fc0
mov ecx, esp
xorps xmm0, xmm0
push 0x10
push str.Play_Multiplayer
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044b0
mov edx, str.Menu_Multi
mov ecx, str.MainPage_LAN.Caption
call fcn.10004fc0
add esp, 0x18
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
push esi
push 1
push 0x29
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
push 0x100
mov edi, eax
lea eax, [ebp - 0x120]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], ax
push esi
push eax
push 2
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x120]
push eax
push 0x29
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
xorps xmm0, xmm0
test eax, eax
jle 0x1000553e
push 1
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x15c], 0
movups xmmword [ebp - 0x16c], xmm0
mov dword [ebp - 0x158], 0
call fcn.10009020
push 0x3b
push 0x1007c250
push 0
lea ecx, [ebp - 0x16c]
mov dword [ebp - 4], 0
call fcn.10009630
mov dword [ebp - 0x144], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x140], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x154], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x144], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x1007c24c
lea edx, [ebp - 0x154]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
call fcn.10008750
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x140]
cmp ecx, 7
jbe 0x10005450
mov edx, dword [ebp - 0x154]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005446
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100054a3
push ecx
push edx
call fcn.100574cb
add esp, 8
xor eax, eax
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 7
mov word [ebp - 0x154], ax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x158]
cmp ecx, 7
jbe 0x100054b3
mov edx, dword [ebp - 0x16c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100054a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100054a9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100574cb
add esp, 8
xor eax, eax
mov dword [ebp - 0x15c], 0
sub esp, 0x18
mov word [ebp - 0x16c], ax
lea eax, [ebp - 0x138]
mov dword [ebp - 0x158], 7
mov ecx, esp
push eax
call fcn.10006b50
mov edx, str.Controller_Settings
mov ecx, str.MouseSensitive.Caption
call fcn.10004fc0
mov dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, dword [ebp - 0x124]
cmp ecx, 7
jbe 0x10005572
mov edx, dword [ebp - 0x138]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005532
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005532
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100574cb
add esp, 8
jmp 0x10005572
sub esp, 0x18
mov ecx, esp
push 0x34
movups xmmword [ecx], xmm0
push str.Mouse_Sensitivity___set_with_sens__value__in_console
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044b0
mov edx, str.Controller_Settings
mov ecx, str.MouseSensitive.Caption
call fcn.10004fc0
add esp, 0x18
call fcn.100045d0
test al, al
je 0x10005589
sub esp, 0x18
mov ecx, esp
push 0x2a
push str.Cannot_join:_Requires_Enhanced_SCCT_Versus
jmp 0x100055b3
mov eax, dword [0x1008d0f0]
mov al, byte [eax]
mov byte [0x10090751], al
sub esp, 0x18
cmp byte [0x10090751], 0x33
mov ecx, esp
jne 0x100055ac
push 0x27
push str.Cannot_join:_Requires_Stock_SCCT_Versus
jmp 0x100055b3
push 0x28
push str.Cannot_join:_Using_Newer_Versus_Enhanced
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044b0
mov edx, str.LAN_Seek_Games_List
mov ecx, str.NoGoodVersion
call fcn.10004fc0
add esp, 0x18
mov edx, 0x100905ac
sub esp, 0x18
mov ecx, esp
push 0xa8
push str.Server_creation_failed.UDP_Port__is_already_used_by_another_application.You_can_change_it_by_updating_host_port_game_in_SCCT_Versus.config.
call fcn.10008820
add esp, 8
mov edx, str.GUIController
mov ecx, str.portAlreadyUsed1
call fcn.10004fc0
mov ecx, esp
xorps xmm0, xmm0
push 1
push 0x1007c61c
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044b0
mov edx, str.GUIController
mov ecx, 0x1007c620
call fcn.10004fc0
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100574bd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret