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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc0
lea eax, [esp + 0xac]
mov ecx, esp
mov dword [ecx + 4], 0x993
mov dword [ecx], 0x581205
mov ecx, dword [sym.imp.GDI32.dll_SetTextAlign]
mov dword [esp + 0x8c], eax
call ecx
sub esp, 8
mov dword [esp + 0xbc], 0x346
mov ecx, esp
lea edx, [esp + 0xbc]
mov dword [ecx + 4], edx
mov dword [ecx], 0xefd43a
mov ecx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x88], eax
call ecx
sub esp, 8
xor ecx, ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ecx
jmp 0x1000201d
mov eax, dword [esp + 0x7c]
mov ecx, 0xf0f0f0f1
mov dword [esp + 0x78], eax
mul ecx
shr edx, 4
imul eax, edx, 0x11
mov ecx, dword [esp + 0x78]
sub ecx, eax
mov eax, ecx
sub eax, 2
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
je 0x10002076
jmp 0x10001fb8
mov eax, dword [esp + 0x74]
sub eax, 9
mov dword [esp + 0x6c], eax
je 0x10002076
jmp 0x1000208c
mov eax, esp
mov dword [eax + 4], 0x1ca958
mov dword [eax], 0xf0076d
mov eax, dword [sym.imp.USER32.dll_ChangeClipboardChain]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0xd02b9c
mov ecx, dword [sym.imp.GDI32.dll_CreateHalftonePalette]
mov dword [esp + 0x68], eax
call ecx
sub esp, 4
mov dword [esp + 0x64], eax
mov eax, esp
mov dword [eax], 0xff98ad
mov eax, dword [sym.imp.USER32.dll_GetMenu]
call eax
sub esp, 4
mov dword [esp + 0x60], eax
jmp 0x100022e0
mov eax, dword [esp + 0x80]
mov dword [esp + 0xb8], 0xb48
mov ecx, esp
lea edx, [esp + 0xb8]
mov dword [ecx + 4], edx
mov dword [ecx], 0xb43b07
mov ecx, dword [sym.imp.KERNEL32.dll_GetCommModemStatus]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x84c
mov ecx, dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov dword [esp + 0x58], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x7c], ecx
jmp 0x10001f88
mov eax, esp
mov dword [eax], 0x246
mov eax, dword [sym.imp.USER32.dll_GetKeyboardLayout]
call eax
sub esp, 4
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
add eax, 1
cmp eax, 0x52
mov dword [esp + 0x7c], eax
jne 0x10001f88
mov eax, esp
mov dword [eax], 0x6c2
mov eax, dword [sym.imp.USER32.dll_EnumClipboardFormats]
call eax
sub esp, 4
mov ecx, dword [esp + 0x5c]
sub ecx, 9
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
je 0x10001fce
jmp 0x100020cd
mov eax, dword [esp + 0x5c]
sub eax, 0x1e
mov dword [esp + 0x44], eax
je 0x10002271
jmp 0x100020e0
mov eax, esp
lea ecx, [esp + 0x90]
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x72f
mov dword [eax], 0xe9f
mov eax, dword [sym.imp.USER32.dll_SendInput]
call eax
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x90]
mov dword [ecx + 4], edx
mov dword [ecx + 8], 0x72f
mov dword [ecx], 0xe9f
mov ecx, dword [sym.imp.USER32.dll_SendInput]
mov dword [esp + 0x40], eax
call ecx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x90]
mov dword [ecx + 4], edx
mov dword [ecx + 8], 0x72f
mov dword [ecx], 0xe9f
mov ecx, dword [sym.imp.USER32.dll_SendInput]
mov dword [esp + 0x3c], eax
call ecx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x90]
mov dword [ecx + 4], edx
mov dword [ecx + 8], 0x72f
mov dword [ecx], 0xe9f
mov ecx, dword [sym.imp.USER32.dll_SendInput]
mov dword [esp + 0x38], eax
call ecx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x90]
mov dword [ecx + 4], edx
mov dword [ecx + 8], 0x72f
mov dword [ecx], 0xe9f
mov ecx, dword [sym.imp.USER32.dll_SendInput]
mov dword [esp + 0x34], eax
call ecx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x90]
mov dword [ecx + 4], edx
mov dword [ecx + 8], 0x72f
mov dword [ecx], 0xe9f
mov ecx, dword [sym.imp.USER32.dll_SendInput]
mov dword [esp + 0x30], eax
call ecx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x90]
mov dword [ecx + 4], edx
mov dword [ecx + 8], 0x72f
mov dword [ecx], 0xe9f
mov ecx, dword [sym.imp.USER32.dll_SendInput]
mov dword [esp + 0x2c], eax
call ecx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x90]
mov dword [ecx + 4], edx
mov dword [ecx + 8], 0x72f
mov dword [ecx], 0xe9f
mov ecx, dword [sym.imp.USER32.dll_SendInput]
mov dword [esp + 0x28], eax
call ecx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x90]
mov dword [ecx + 4], edx
mov dword [ecx + 8], 0x72f
mov dword [ecx], 0xe9f
mov ecx, dword [sym.imp.USER32.dll_SendInput]
mov dword [esp + 0x24], eax
call ecx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x90]
mov dword [ecx + 4], edx
mov dword [ecx + 8], 0x72f
mov dword [ecx], 0xe9f
mov ecx, dword [sym.imp.USER32.dll_SendInput]
mov dword [esp + 0x20], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x100022e0
mov eax, esp
mov dword [eax + 4], 0xf8489c
mov dword [eax], 0xf8489c
mov eax, dword [sym.imp.GDI32.dll_EqualRgn]
call eax
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xb0]
mov dword [ecx], edx
mov ecx, dword [sym.imp.ADVAPI32.dll_AllocateLocallyUniqueId]
mov dword [esp + 0x18], eax
call ecx
sub esp, 4
mov dword [esp + 0xac], 0
mov ecx, esp
mov edx, dword [esp + 0x8c]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0x57b
mov dword [ecx], 0x2ef4bd
mov ecx, dword [sym.imp.GDI32.dll_GetEnhMetaFilePaletteEntries]
mov dword [esp + 0x14], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x10001fce
mov eax, dword [sym.imp.ole32.dll_CoImpersonateClient]
call eax
mov ecx, dword [esp + 0x5c]
add ecx, 1
cmp ecx, 0x116
mov dword [esp + 0xc], eax
mov dword [esp + 0x80], ecx
jne 0x1000201d
mov esp, ebp
pop ebp
ret