Function at 0x10001320
Capabilities:
Identify system language via api
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd8
xor eax, eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], eax
jmp 0x1000137e
mov eax, esp
mov dword [eax], 0x1cc0d8
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
call eax
sub esp, 4
jmp 0x1000181a
mov eax, esp
mov dword [eax + 4], 0xa8e
mov dword [eax], 0xbe6229
mov eax, dword [sym.imp.SHLWAPI.dll_GetMenuPosFromID]
call eax
sub esp, 8
mov dword [esp + 0xbc], eax
jmp 0x10001345
mov eax, dword [esp + 0xc0]
mov ecx, esp
mov dword [ecx], 0x5f5381
mov ecx, dword [sym.imp.USER32.dll_SetProcessWindowStation]
mov dword [esp + 0xb8], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], ecx
mov eax, dword [esp + 0xb0]
mov ecx, eax
and ecx, 0xf
mov edx, ecx
sub edx, 5
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xa4], edx
je 0x100013ee
jmp 0x100013d9
mov eax, dword [esp + 0xa8]
sub eax, 0xa
mov dword [esp + 0xa0], eax
jne 0x10001422
jmp 0x100013ee
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov eax, esp
mov ecx, dword [esp + 0xc4]
mov dword [eax], ecx
mov eax, dword [sym.imp.GDI32.dll_CreatePalette]
call eax
sub esp, 4
mov dword [esp + 0x9c], eax
jmp 0x10001422
mov eax, dword [esp + 0xac]
add eax, 1
cmp eax, 0x1fd
mov dword [esp + 0xb0], eax
jne 0x100013af
mov eax, esp
mov dword [eax], 0x4369c0
mov eax, dword [sym.imp.GDI32.dll_UnrealizeObject]
call eax
sub esp, 4
mov ecx, dword [esp + 0xb8]
sub ecx, 0xa
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ecx
je 0x10001345
jmp 0x10001472
mov eax, dword [esp + 0xb8]
sub eax, 0x40
mov dword [esp + 0x90], eax
je 0x1000135c
jmp 0x1000148b
mov eax, esp
lea ecx, [esp + 0xc8]
mov dword [eax + 4], ecx
mov dword [eax], 0x5c07dd
mov eax, dword [sym.imp.USER32.dll_ScreenToClient]
call eax
sub esp, 8
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esp + 0x8c], eax
call ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x6e8
mov dword [ecx + 8], 0xba3
mov dword [ecx + 4], 0xac27ec
mov dword [ecx], 0xace0fd
mov ecx, dword [sym.imp.USER32.dll_HiliteMenuItem]
mov word [esp + 0x8a], ax
call ecx
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x84], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esp + 0x80], eax
call ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x6e8
mov dword [ecx + 8], 0xba3
mov dword [ecx + 4], 0xac27ec
mov dword [ecx], 0xace0fd
mov ecx, dword [sym.imp.USER32.dll_HiliteMenuItem]
mov word [esp + 0x7e], ax
call ecx
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x78], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esp + 0x74], eax
call ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x6e8
mov dword [ecx + 8], 0xba3
mov dword [ecx + 4], 0xac27ec
mov dword [ecx], 0xace0fd
mov ecx, dword [sym.imp.USER32.dll_HiliteMenuItem]
mov word [esp + 0x72], ax
call ecx
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esp + 0x68], eax
call ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x6e8
mov dword [ecx + 8], 0xba3
mov dword [ecx + 4], 0xac27ec
mov dword [ecx], 0xace0fd
mov ecx, dword [sym.imp.USER32.dll_HiliteMenuItem]
mov word [esp + 0x66], ax
call ecx
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x60], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esp + 0x5c], eax
call ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x6e8
mov dword [ecx + 8], 0xba3
mov dword [ecx + 4], 0xac27ec
mov dword [ecx], 0xace0fd
mov ecx, dword [sym.imp.USER32.dll_HiliteMenuItem]
mov word [esp + 0x5a], ax
call ecx
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x54], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esp + 0x50], eax
call ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x6e8
mov dword [ecx + 8], 0xba3
mov dword [ecx + 4], 0xac27ec
mov dword [ecx], 0xace0fd
mov ecx, dword [sym.imp.USER32.dll_HiliteMenuItem]
mov word [esp + 0x4e], ax
call ecx
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x48], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esp + 0x44], eax
call ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x6e8
mov dword [ecx + 8], 0xba3
mov dword [ecx + 4], 0xac27ec
mov dword [ecx], 0xace0fd
mov ecx, dword [sym.imp.USER32.dll_HiliteMenuItem]
mov word [esp + 0x42], ax
call ecx
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x3c], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esp + 0x38], eax
call ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x6e8
mov dword [ecx + 8], 0xba3
mov dword [ecx + 4], 0xac27ec
mov dword [ecx], 0xace0fd
mov ecx, dword [sym.imp.USER32.dll_HiliteMenuItem]
mov word [esp + 0x36], ax
call ecx
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x30], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esp + 0x2c], eax
call ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x6e8
mov dword [ecx + 8], 0xba3
mov dword [ecx + 4], 0xac27ec
mov dword [ecx], 0xace0fd
mov ecx, dword [sym.imp.USER32.dll_HiliteMenuItem]
mov word [esp + 0x2a], ax
call ecx
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x24], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esp + 0x20], eax
call ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x6e8
mov dword [ecx + 8], 0xba3
mov dword [ecx + 4], 0xac27ec
mov dword [ecx], 0xace0fd
mov ecx, dword [sym.imp.USER32.dll_HiliteMenuItem]
mov word [esp + 0x1e], ax
call ecx
sub esp, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb8]
add eax, 1
mov ecx, esp
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.USER32.dll_IsCharUpperW]
mov dword [esp + 0x14], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x14]
cmp ecx, 0x96
mov dword [esp + 0x10], eax
mov dword [esp + 0xc0], ecx
jne 0x1000137e
mov esp, ebp
pop ebp
ret