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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd8
lea eax, [esp + 0xd0]
mov dword [esp + 0xc4], eax
xor eax, eax
mov dword [esp + 0xc0], eax
jmp 0x10001773
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 + 0xbc], 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 + 0xba], 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 + 0xb4], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esp + 0xb0], 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 + 0xae], 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 + 0xa8], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esp + 0xa4], 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 + 0xa2], 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 + 0x9c], eax
call ecx
sub esp, 8
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esp + 0x98], 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 + 0x96], 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 + 0x90], eax
call ecx
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 dword [esp + 0x48], eax
jmp 0x10001833
mov eax, dword [esp + 0x44]
add eax, 1
cmp eax, 0x1fd
mov dword [esp + 0x40], eax
jne 0x1000179b
mov eax, esp
mov dword [eax], 0x4369c0
mov eax, dword [sym.imp.GDI32.dll_UnrealizeObject]
call eax
sub esp, 4
mov ecx, dword [esp + 0x3c]
sub ecx, 0xa
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
je 0x1000181f
jmp 0x1000175d
mov eax, dword [esp + 0x3c]
sub eax, 0x40
mov dword [esp + 0x30], eax
je 0x10001800
jmp 0x10001368
mov eax, dword [esp + 0xc0]
mov ecx, esp
mov dword [ecx], 0x5f5381
mov ecx, dword [sym.imp.USER32.dll_SetProcessWindowStation]
mov dword [esp + 0x3c], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x40]
mov ecx, eax
and ecx, 0xf
mov edx, ecx
sub edx, 5
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
je 0x100017cc
jmp 0x100017b9
mov eax, dword [esp + 0x28]
sub eax, 0xa
mov dword [esp + 0x20], eax
jne 0x10001720
jmp 0x100017cc
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 + 0x1c], eax
jmp 0x10001720
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 + 0x18], eax
jmp 0x1000181f
mov eax, esp
mov dword [eax], 0x1cc0d8
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
call eax
sub esp, 4
jmp 0x10001833
mov eax, esp
mov dword [eax], 0x58
mov eax, dword [sym.imp.USER32.dll_IsCharUpperW]
call eax
sub esp, 4
mov ecx, dword [esp + 0x3c]
add ecx, 1
cmp ecx, 0x96
mov dword [esp + 0x14], eax
mov dword [esp + 0xc0], ecx
jne 0x10001773
mov esp, ebp
pop ebp
ret