Function at 0x10001363
Capabilities:
Get keyboard layout
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x150
mov eax, esp
mov dword [eax + 4], 6
mov dword [eax], 0x4bbef4
mov eax, dword [sym.imp.GDI32.dll_SetBkColor]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0xeaa371
mov dword [ecx], 0x23dd24
mov ecx, dword [sym.imp.GDI32.dll_SelectClipRgn]
mov dword [esp + 0x7c], eax
call ecx
sub esp, 8
xor ecx, ecx
lea edx, [esp + 0x80]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x70]
mov ecx, esp
mov dword [ecx], 0x4fe
mov ecx, dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x64]
mov ecx, 0x38e38e39
mov dword [esp + 0x60], eax
mul ecx
shr edx, 2
imul eax, edx, 0x12
mov ecx, dword [esp + 0x60]
sub ecx, eax
mov eax, ecx
sub eax, 9
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
je 0x10001487
jmp 0x1000140d
mov eax, dword [esp + 0x5c]
sub eax, 6
mov dword [esp + 0x54], eax
jne 0x100014bb
jmp 0x10001420
mov eax, esp
mov dword [eax + 0x10], 0xf30
mov dword [eax + 0xc], 0x75
mov dword [eax + 8], 0x2ce
mov dword [eax + 4], 0x963
mov dword [eax], 0xf78691
mov eax, dword [sym.imp.GDI32.dll_Ellipse]
call eax
sub esp, 0x14
mov ecx, esp
mov dword [ecx + 0x10], 0x1af
mov dword [ecx + 0xc], 0x351
mov dword [ecx + 8], 0x16f
mov dword [ecx + 4], 0xb7
mov dword [ecx], 0xe138ce
mov ecx, dword [sym.imp.GDI32.dll_Rectangle]
mov dword [esp + 0x50], eax
call ecx
sub esp, 0x14
mov dword [esp + 0x4c], eax
jmp 0x10001487
mov eax, esp
mov dword [eax + 4], 0xdbe
mov dword [eax], 0x437c65
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0xeac122
mov ecx, dword [sym.imp.USER32.dll_DestroyMenu]
mov dword [esp + 0x48], eax
call ecx
sub esp, 4
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x60]
add eax, 1
cmp eax, 0xc2
mov dword [esp + 0x64], eax
jne 0x100013e1
xor eax, eax
mov ecx, esp
lea edx, [esp + 0x140]
mov dword [ecx], edx
mov ecx, dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [esp + 0x40], eax
call ecx
sub esp, 4
xor ecx, ecx
mov edx, dword [esp + 0x6c]
sub edx, 2
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
je 0x10001535
jmp 0x10001508
mov eax, dword [esp + 0x6c]
sub eax, 0x2f
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
jne 0x10001554
jmp 0x1000151f
mov eax, esp
mov dword [eax], 0xe53bae
mov eax, dword [sym.imp.USER32.dll_IsWindowUnicode]
call eax
sub esp, 4
mov dword [esp + 0x28], eax
mov eax, esp
mov dword [eax + 4], 0x916
mov dword [eax], 0xd37e5d
mov eax, dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call eax
sub esp, 8
mov dword [esp + 0x24], eax
jmp 0x100015b3
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov edx, 0xc0
add eax, 1
mov esi, dword [esp + 0x74]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc0
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0x80]
mov dword [eax], ecx
call sub.POWRPROF.dll_WriteGlobalPwrPolicy
sub esp, 4
mov ecx, dword [esp + 0x18]
cmp ecx, 0xa
mov byte [esp + 0x17], al
mov dword [esp + 0x2c], ecx
jne 0x10001554
mov eax, dword [esp + 0x6c]
add eax, 1
cmp eax, 0xc0
mov dword [esp + 0x70], eax
jne 0x100013bc
lea esp, [ebp - 4]
pop esi
pop ebp
ret