Function at 0x421849
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
imul esi, esi, 0xf54
push edi
lea edi, [ebp*4 + 0x478a70]
mov eax, dword [edi]
add eax, esi
push str.Block_Input
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
jne 0x421a97
mov eax, dword [edi]
add eax, esi
push str.Unblock_Input
push eax
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
jne 0x421a97
mov eax, dword [edi]
add eax, esi
push str.Direct_Window_Entry
push eax
call fcn.004010ff
pop ecx
test eax, eax
mov eax, dword [edi]
pop ecx
je 0x4218f6
lea eax, [esi + eax + 0x260]
push eax
push dword [esp + 0x20]
push ebp
call fcn.00420a2f
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x421afc
mov eax, dword [edi]
push ebx
push ebx
push dword [esp + 0x24]
push ebp
push dword [esi + eax + 0x50]
call fcn.0043b804
push dword [0x47c474]
push dword [esp + 0x1c]
call fcn.0044555e
jmp 0x421ae2
add eax, esi
push str.Text_via_Clipboard
push eax
call fcn.004010ff
pop ecx
pop ecx
push ebx
push ebx
test eax, eax
je 0x4219ed
call fcn.004422aa
mov dword [esp + 0x18], eax
cmp eax, ebx
jle 0x42195f
add eax, 0x100
mov ecx, 0x1000
cmp eax, ecx
jg 0x42192c
mov eax, ecx
push 1
push eax
call fcn.00447e84
pop ecx
pop ecx
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x421955
mov eax, dword [0x478a40]
cmp eax, ebx
je 0x421afc
push str.Insufficient_memory_available
jmp 0x421af5
push dword [esp + 0x18]
push eax
call fcn.004422aa
mov eax, dword [edi]
push ebx
push ebx
push dword [esp + 0x24]
push ebp
push dword [esi + eax + 0x50]
call fcn.0043b804
push dword [0x47c474]
call fcn.0044232d
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push ebx
push 1
push ebx
push 0x11
call esi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x11
call edi
push ebx
push ebx
push ebx
push 0x56
pop ebp
push ebp
call esi
push eax
push ebp
call edi
push ebx
push 2
push ebx
push ebp
call esi
push eax
push ebp
call edi
push ebx
push 3
push ebx
push 0x11
call esi
push eax
push 0x11
call edi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x18], ebx
jle 0x421ae2
mov esi, dword [esp + 0x10]
push esi
call fcn.0044232d
cmp esi, ebx
je 0x421ae2
push esi
call fcn.00447ab6
pop ecx
jmp 0x421ae2
push dword [esp + 0x24]
mov eax, dword [edi]
push ebp
lea eax, [esi + eax + 0x364]
push eax
call fcn.0043b804
push dword [0x47c474]
call fcn.0040109c
pop ecx
test eax, eax
jns 0x421a17
mov dword [esp + 0x18], ebx
jmp 0x421a27
push dword [0x47c474]
call fcn.0040109c
pop ecx
mov dword [esp + 0x18], eax
mov eax, dword [edi]
lea eax, [esi + eax + 0x58]
push str.No_Variable_Expansion
push eax
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
mov eax, dword [edi]
push ebx
je 0x421a45
push 1
jmp 0x421a46
push ebx
push dword [esp + 0x24]
push ebp
push dword [esi + eax + 0x50]
call fcn.0043b804
push ebx
push ebx
push 0x45c850
push 0x45e620
push dword [0x47c474]
call fcn.0044168f
mov eax, dword [edi]
push ebx
push dword [esp + 0x1c]
lea eax, [esi + eax + 0x58]
push str.SendKey
push eax
call fcn.004010ff
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
push eax
push dword [0x47c474]
call fcn.0043a426
jmp 0x421ae2
push 0x460f04
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x421ae7
push str.BlockInput
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
cmp ebp, ebx
je 0x421ad8
mov eax, dword [edi]
add eax, esi
push str.Unblock
push eax
call fcn.004010ff
pop ecx
pop ecx
test eax, eax
je 0x421ad4
push ebx
jmp 0x421ad6
push 1
call ebp
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
inc eax
jmp 0x421afe
mov eax, dword [0x478a40]
cmp eax, ebx
je 0x421afc
push str.Unable_to_load_USER32.DLL
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8