Function at 0x4011e0
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402838
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0
mov dword [ebp - 0x48], eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x401299
push eax
push str.Internal_Error
push str.There_was_an_issue_opening_the_clipboard._Please_Try_again.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x401478
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4012b0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x34]
call fcn.00401760
push 0
push 0xa2
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x60], 0xa
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [ebp - 0x62], ax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x68]
push eax
push 0
call fcn.004018b0
mov edi, dword [ebp - 0x24]
xor esi, esi
mov ecx, dword [ebp - 0x34]
test edi, edi
je 0x401357
nop dword [eax]
cmp edi, esi
jbe 0x401493
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
push dword [ebp - 0x48]
cmovae eax, ecx
movsx ax, byte [eax + esi]
movzx eax, ax
push eax
call dword [sym.imp.USER32.dll_VkKeyScanExW]
movzx eax, ax
mov dword [ebp - 0x4c], eax
push 0
movzx eax, al
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x4c]
shr ecx, 8
test cl, cl
mov ecx, eax
setne dl
call fcn.004014a0
mov ecx, dword [ebp - 0x34]
inc esi
add esp, 4
cmp esi, edi
jb 0x401300
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_UnloadKeyboardLayout]
mov ecx, dword [ebp - 0x18]
mov eax, 0x92492493
mov esi, dword [ebp - 0x1c]
sub ecx, esi
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, 0x1c
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00401afb
add esp, 4
mov dword [ebp - 0x48], eax
xor edx, edx
test edi, edi
je 0x4013e9
mov ecx, eax
sub esi, eax
movups xmm0, xmmword [esi + ecx]
inc edx
lea ecx, [ecx + 0x1c]
movups xmmword [ecx - 0x1c], xmm0
movq xmm0, qword [esi + ecx - 0xc]
movq qword [ecx - 0xc], xmm0
mov eax, dword [esi + ecx - 4]
mov dword [ecx - 4], eax
cmp edx, edi
jb 0x4013a3
mov esi, dword [ebp - 0x48]
push 0x1c
push esi
push 1
call dword [sym.imp.USER32.dll_SendInput]
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0x1c
sub edi, 1
jne 0x4013c8
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x48]
push 0x1c
push eax
call fcn.00401aed
mov eax, dword [ebp - 0x20]
add esp, 8
cmp eax, 0x10
jb 0x401426
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40141c
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401468
push ecx
push edx
call fcn.00401aed
add esp, 8
test esi, esi
je 0x401478
mov ecx, dword [ebp - 0x14]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x40146e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40146e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00401aed
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401aac
mov esp, ebp
pop ebp
ret
call fcn.004018a0
int3