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

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov esi, esp
xor eax, eax
lea ecx, [esi + 0xc0]
mov edx, 8
mov dword [esi + 0xbc], eax
mov eax, edx
mov dword [esi + 0xb8], ecx
call fcn.1029a930
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0xbc]
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb0], ecx
jmp 0x10001458
mov eax, dword [esi + 0xac]
add eax, 1
cmp eax, 0x1fd
mov dword [esi + 0xa8], eax
je 0x100014c9
jmp 0x10001485
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc0], 0
sub esp, 4
mov eax, esp
mov ecx, dword [esi + 0xb8]
mov dword [eax], ecx
mov eax, dword [sym.imp.GDI32.dll_CreatePalette]
call eax
mov dword [esi + 0xa4], eax
jmp 0x1000140a
mov eax, dword [esi + 0xb0]
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x5f5381
mov ecx, dword [sym.imp.USER32.dll_SetProcessWindowStation]
mov dword [esi + 0xa0], eax
call ecx
xor ecx, ecx
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa8], ecx
mov eax, dword [esi + 0xa8]
mov ecx, eax
and ecx, 0xf
mov edx, ecx
sub edx, 5
mov dword [esi + 0xac], eax
mov dword [esi + 0x98], ecx
mov dword [esi + 0x94], edx
je 0x10001428
jmp 0x100014af
mov eax, dword [esi + 0x98]
sub eax, 0xa
mov dword [esi + 0x90], eax
je 0x10001428
jmp 0x1000140a
sub esp, 4
mov eax, esp
mov dword [eax], 0x4369c0
mov eax, dword [sym.imp.GDI32.dll_UnrealizeObject]
call eax
mov ecx, dword [esi + 0xa0]
sub ecx, 0xa
mov dword [esi + 0x8c], eax
mov dword [esi + 0x88], ecx
je 0x1000188c
jmp 0x100014f8
mov eax, dword [esi + 0xa0]
sub eax, 0x40
mov dword [esi + 0x84], eax
je 0x1000186e
jmp 0x1000150f
sub esp, 8
mov eax, esp
mov ecx, dword [esi + 0xb4]
mov dword [eax + 4], ecx
mov dword [eax], 0x5c07dd
mov eax, dword [sym.imp.USER32.dll_ScreenToClient]
call eax
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esi + 0x80], eax
call ecx
mov word [esi + 0x7e], ax
sub esp, 0x10
mov eax, esp
mov dword [eax + 0xc], 0x6e8
mov dword [eax + 8], 0xba3
mov dword [eax + 4], 0xac27ec
mov dword [eax], 0xace0fd
mov eax, dword [sym.imp.USER32.dll_HiliteMenuItem]
call eax
sub esp, 8
mov ecx, esp
mov edx, dword [esi + 0xb4]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esi + 0x78], eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esi + 0x74], eax
call ecx
sub esp, 0x10
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 [esi + 0x72], ax
call ecx
sub esp, 8
mov ecx, esp
mov edx, dword [esi + 0xb4]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esi + 0x6c], eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esi + 0x68], eax
call ecx
sub esp, 0x10
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 [esi + 0x66], ax
call ecx
sub esp, 8
mov ecx, esp
mov edx, dword [esi + 0xb4]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esi + 0x60], eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esi + 0x5c], eax
call ecx
sub esp, 0x10
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 [esi + 0x5a], ax
call ecx
sub esp, 8
mov ecx, esp
mov edx, dword [esi + 0xb4]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esi + 0x54], eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esi + 0x50], eax
call ecx
sub esp, 0x10
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 [esi + 0x4e], ax
call ecx
sub esp, 8
mov ecx, esp
mov edx, dword [esi + 0xb4]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esi + 0x48], eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esi + 0x44], eax
call ecx
sub esp, 0x10
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 [esi + 0x42], ax
call ecx
sub esp, 8
mov ecx, esp
mov edx, dword [esi + 0xb4]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esi + 0x3c], eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esi + 0x38], eax
call ecx
sub esp, 0x10
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 [esi + 0x36], ax
call ecx
sub esp, 8
mov ecx, esp
mov edx, dword [esi + 0xb4]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esi + 0x30], eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esi + 0x2c], eax
call ecx
sub esp, 0x10
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 [esi + 0x2a], ax
call ecx
sub esp, 8
mov ecx, esp
mov edx, dword [esi + 0xb4]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esi + 0x24], eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esi + 0x20], eax
call ecx
sub esp, 0x10
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 [esi + 0x1e], ax
call ecx
sub esp, 8
mov ecx, esp
mov edx, dword [esi + 0xb4]
mov dword [ecx + 4], edx
mov dword [ecx], 0x5c07dd
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esi + 0x18], eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esi + 0x14], eax
call ecx
sub esp, 0x10
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 [esi + 0x12], ax
call ecx
mov dword [esi + 0xc], eax
jmp 0x1000189e
sub esp, 8
mov eax, esp
mov dword [eax + 4], 0xa8e
mov dword [eax], 0xbe6229
mov eax, dword [sym.imp.SHLWAPI.dll_GetMenuPosFromID]
call eax
mov dword [esi + 8], eax
jmp 0x1000188c
sub esp, 4
mov eax, esp
mov dword [eax], 0x1cc0d8
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
call eax
sub esp, 4
mov eax, esp
mov dword [eax], 0x58
mov eax, dword [sym.imp.USER32.dll_IsCharUpperW]
call eax
mov dword [esi + 4], eax
mov eax, dword [esi + 0xa0]
add eax, 1
cmp eax, 0x96
mov dword [esi + 0xb0], eax
jne 0x10001458
lea esp, [ebp - 4]
pop esi
pop ebp
ret