Function at 0x10001327
Capabilities:
Get keyboard layout
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
lea eax, [esp + 0xb8]
lea ecx, [esp + 0xd8]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], ecx
xor eax, eax
mov dword [esp + 0x94], eax
jmp 0x100014a5
mov eax, dword [esp + 0x90]
mov ecx, 0x4ec4ec4f
mov dword [esp + 0x8c], eax
mul ecx
shr edx, 2
imul eax, edx, 0xd
mov ecx, dword [esp + 0x8c]
sub ecx, eax
mov eax, ecx
sub eax, 2
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], eax
je 0x10001533
jmp 0x1000139e
mov eax, dword [esp + 0x88]
sub eax, 8
mov dword [esp + 0x80], eax
je 0x10001573
jmp 0x10001482
mov eax, esp
mov dword [eax], 0x87b37d
mov eax, dword [sym.imp.USER32.dll_DrawMenuBar]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 0x10], 0xa08
mov dword [ecx + 0xc], 0xd44
mov dword [ecx + 8], 0xc6a
mov dword [ecx + 4], 0x39d
mov dword [ecx], 0xe9f0db
mov ecx, dword [sym.imp.USER32.dll_CopyImage]
mov dword [esp + 0x7c], eax
call ecx
sub esp, 0x14
mov ecx, esp
mov dword [ecx + 4], 0xcbb
mov dword [ecx], 0xe96
mov ecx, dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov dword [esp + 0x78], eax
call ecx
sub esp, 8
mov dword [esp + 0x74], eax
jmp 0x10001657
mov eax, dword [esp + 0x70]
mov ecx, esp
mov dword [ecx], 0xec6cb4
mov ecx, dword [sym.imp.KERNEL32.dll_HeapLock]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 4
mov ecx, esp
lea edx, [esp + 0xa0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x6740a1
mov ecx, dword [sym.imp.GDI32.dll_GetDCOrgEx]
mov dword [esp + 0x68], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x6c]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], ecx
je 0x100016b1
jmp 0x10001426
mov eax, dword [esp + 0x8c]
add eax, 1
cmp eax, 0x28c
mov dword [esp + 0x90], eax
je 0x100015ea
jmp 0x1000135f
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, esp
mov dword [edi + 4], esi
mov dword [edi], edx
mov dword [edi + 8], 0x949
mov edx, dword [sym.imp.USER32.dll_MonitorFromPoint]
mov dword [esp + 0x60], eax
call edx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 4], 0xbaa
mov dword [ecx], 0x7af
mov ecx, dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x44c8fa
mov ecx, dword [sym.imp.GDI32.dll_GetPixelFormat]
mov dword [esp + 0x58], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xd54
mov ecx, dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [esp + 0x54], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x90], ecx
jmp 0x1000135f
lea eax, [esp + 0xd2]
mov dword [esp + 0xd4], 0x55f
mov word [esp + 0xd2], 0x58
mov dword [esp + 0xcc], eax
mov eax, esp
lea ecx, [esp + 0xcc]
mov dword [eax + 4], ecx
lea ecx, [esp + 0xd4]
mov dword [eax], ecx
call sub.OLEAUT32.dll_VARIANT_UserSize
sub esp, 8
mov eax, esp
mov dword [eax + 4], 0x254
mov dword [eax], 0x2cafbc
mov eax, dword [sym.imp.KERNEL32.dll_TerminateProcess]
call eax
sub esp, 8
xor ecx, ecx
mov edx, 0x14
mov esi, dword [esp + 0x9c]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
call sub.msvcrt.dll_memset
mov eax, esp
mov ecx, dword [esp + 0x9c]
mov dword [eax], ecx
mov dword [eax + 8], 6
mov dword [eax + 4], 0x23
mov eax, dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorControl]
call eax
sub esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x10001482
xor eax, eax
mov dword [esp + 0xb4], 0xad4e8c
mov ecx, esp
lea edx, [esp + 0xb4]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0xef2
mov dword [ecx], 0xad4e8c
mov ecx, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [esp + 0x3c], eax
call ecx
sub esp, 0xc
xor ecx, ecx
mov edx, dword [esp + 0x60]
sub edx, 0x31
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
je 0x100013ba
jmp 0x1000163c
mov eax, dword [esp + 0x60]
sub eax, 0xc
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x70], ecx
jne 0x10001426
jmp 0x10001657
mov eax, esp
mov dword [eax], 0xa23a80
mov eax, dword [sym.imp.USER32.dll_ReplyMessage]
call eax
sub esp, 4
lea ecx, [esp + 0xb2]
mov word [esp + 0xb2], 0x58
mov dword [esp + 0xac], ecx
mov ecx, esp
lea edx, [esp + 0xac]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 0xde7
mov dword [ecx + 8], 0x733
mov dword [ecx], str.OYhB
mov dword [esp + 0x28], eax
call sub.urlmon.dll_CoInternetGetSecurityUrl
sub esp, 0x10
mov dword [esp + 0x24], eax
mov eax, esp
mov dword [eax + 4], 0x9743c
mov dword [eax], 0x9743c
mov eax, dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
call eax
sub esp, 8
mov ecx, dword [esp + 0x60]
add ecx, 1
cmp ecx, 0x7f
sete dl
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x1b], dl
mov al, byte [esp + 0x1b]
test al, 1
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x94], ecx
jne 0x10001701
jmp 0x100014a5
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret