Function at 0x100052d0
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 0x10047896
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x160
mov eax, dword [0x1007c040]
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.100045b0
mov edx, str.LAN_Seek_Games_List
mov ecx, str.TitlePage
call fcn.100050c0
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.100045b0
mov edx, str.LAN_Menu
mov ecx, str.TitlePage
call fcn.100050c0
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.100045b0
mov edx, str.LAN_Menu
mov ecx, str.TitrePage.Caption
call fcn.100050c0
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.100045b0
mov edx, str.Lobby_Create
mov ecx, str.TitlePage
call fcn.100050c0
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.100045b0
mov edx, str.Menu_Multi
mov ecx, str.MainPage_LAN.Caption
call fcn.100050c0
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 pe_nt_image_headers32
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 0x1000563e
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.10009050
push 0x3b
push str.Mouse_Sensitivity___set_with_sens__value__in_console__bind
push 0
lea ecx, [ebp - 0x16c]
mov dword [ebp - 4], 0
call fcn.10009660
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 0x10069a48
lea edx, [ebp - 0x154]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
call fcn.10008800
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x140]
cmp ecx, 7
jbe 0x10005550
mov edx, dword [ebp - 0x154]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005546
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055a3
push ecx
push edx
call fcn.10046175
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 0x100055b3
mov edx, dword [ebp - 0x16c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100055a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100055a9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10046175
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.10006bf0
mov edx, str.Controller_Settings
mov ecx, str.MouseSensitive.Caption
call fcn.100050c0
mov dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, dword [ebp - 0x124]
cmp ecx, 7
jbe 0x10005672
mov edx, dword [ebp - 0x138]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10005632
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005632
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10046175
add esp, 8
jmp 0x10005672
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.100045b0
mov edx, str.Controller_Settings
mov ecx, str.MouseSensitive.Caption
call fcn.100050c0
add esp, 0x18
call fcn.100046d0
test al, al
je 0x10005689
sub esp, 0x18
mov ecx, esp
push 0x2a
push str.Cannot_join:_Requires_Enhanced_SCCT_Versus
jmp 0x100056b3
mov eax, dword [0x1007c0d0]
mov al, byte [eax]
mov byte [0x10080585], al
sub esp, 0x18
cmp byte [0x10080585], 0x33
mov ecx, esp
jne 0x100056ac
push 0x27
push str.Cannot_join:_Requires_Stock_SCCT_Versus
jmp 0x100056b3
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.100045b0
mov edx, str.LAN_Seek_Games_List
mov ecx, str.NoGoodVersion
call fcn.100050c0
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.10046167
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret