Function at 0x409e20
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4626a0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47c748]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x485720]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.004083c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040cd60
xor ebx, ebx
cmp eax, ebx
mov dword [edi + 0xd8], eax
jne 0x409ec1
mov eax, dword [edi + 0x88]
push eax
mov eax, dword [edi + 0x20]
push eax
mov dword [edi + 0x78], ebx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, edi
call fcn.0040bfe0
mov eax, dword [edi + 0x84]
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push ebx
push 0xc8
push eax
push ecx
call esi
mov edx, dword [edi + 0x20]
push ebx
push 0x50
push 0x50
push edx
call esi
mov eax, dword [edi + 0x20]
push ebx
push 0x78
push 0x78
push eax
call esi
cmp dword [edi + 0xe0c], 0x400000
jae 0x409ef1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x46e0a4
call fcn.004087b0
mov ecx, dword [edi + 0xd8]
push ecx
push edi
call fcn.0040d640
mov dword [edi + 0xe0c], eax
mov eax, dword [edi + 0xe44]
cmp eax, dword [edi + 0xe0c]
jbe 0x409f21
push eax
mov ebx, edi
call fcn.0040d960
lea edx, [eax + 8]
mov dword [edi + 0xe20], eax
add eax, 4
mov dword [edi + 0xe24], edx
mov dword [edi + 0xe28], eax
xor ebx, ebx
mov eax, dword [edi + 0xd4]
or ebp, 0xffffffff
push ebp
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov ecx, dword [str.abcbefghikm__pqrstuvwxyzno___]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push ecx
call esi
test ax, ax
jns 0x40a009
cmp dword [0x485108], ebx
je 0x409f5f
cmp dword [0x48512c], ebx
jne 0x40a947
push 1
push 0x48512c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push ebp
push ebx
lea edx, [edi + 0x460]
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401840
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x5c], esp
push ebp
push ebx
lea eax, [edi + 0x9a0]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401840
lea ecx, [edi + 0xd98]
push ecx
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x8c], 1
mov dword [esp + 0x80], esp
push ebp
push ebx
lea edx, [edi + 0xe0]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401840
lea edx, [edi + 0xd20]
mov ecx, edi
mov dword [esp + 0x8c], ebp
call fcn.0040c500
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [0x47e430]
push eax
call esi
test ax, ax
jns 0x40a156
push 1
push 0x485128
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push ebp
push ebx
lea edx, [edi + 0x47c]
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401840
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x6c], 2
mov dword [esp + 0x5c], esp
push ebp
push ebx
lea eax, [edi + 0x9bc]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401840
lea ecx, [edi + 0xd9c]
push ecx
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x8c], 3
mov dword [esp + 0x78], esp
push ebp
push ebx
lea edx, [edi + 0xfc]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401840
lea edx, [edi + 0xd24]
mov ecx, edi
mov dword [esp + 0x8c], ebp
call fcn.0040c500
push ebx
push 0x485068
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push ebp
push ebx
lea eax, [edi + 0x63c]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401840
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x6c], 4
mov dword [esp + 0x5c], esp
push ebp
push ebx
lea edx, [edi + 0xb98]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401840
lea eax, [edi + 0xdc0]
push eax
sub esp, 0x1c
mov byte [esp + 0x8c], 5
mov ecx, esp
mov dword [esp + 0x78], esp
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push ebp
push ebx
lea edx, [edi + 0x2d8]
push edx
mov byte [ecx + 4], bl
call fcn.00401840
lea edx, [edi + 0xd6c]
mov ecx, edi
mov dword [esp + 0x8c], ebp
call fcn.0040c500
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [0x47e434]
push eax
call esi
test ax, ax
jns 0x40a212
push 1
push 0x485124
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push ebp
push ebx
lea edx, [edi + 0x498]
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401840
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x6c], 6
mov dword [esp + 0x5c], esp
push ebp
push ebx
lea eax, [edi + 0x9d8]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401840
lea ecx, [edi + 0xda0]
push ecx
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x8c], 7
mov dword [esp + 0x78], esp
push ebp
push ebx
lea edx, [edi + 0x118]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401840
lea edx, [edi + 0xd28]
mov ecx, edi
mov dword [esp + 0x8c], ebp
call fcn.0040c500
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [0x47e438]
push eax
call esi
test ax, ax
jns 0x40a2a8
push 1
push 0x485120
sub esp, 0x1c
lea edx, [edi + 0x4b4]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00407900
sub esp, 0x1c
mov dword [esp + 0x6c], 8
lea eax, [edi + 0x9f4]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00407900
lea ecx, [edi + 0xda4]
push ecx
sub esp, 0x1c
mov byte [esp + 0x8c], 9
lea edx, [edi + 0x134]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.00407900
lea edx, [edi + 0xd2c]
mov ecx, edi
mov dword [esp + 0x8c], ebp
call fcn.0040c500
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [0x47e43c]
push eax
call esi
test ax, ax
jns 0x40a33e
push 1
push 0x48511c
sub esp, 0x1c
lea edx, [edi + 0x4d0]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00407900
sub esp, 0x1c
mov dword [esp + 0x6c], 0xa
lea eax, [edi + 0xa10]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00407900
lea ecx, [edi + 0xda8]
push ecx
sub esp, 0x1c
mov byte [esp + 0x8c], 0xb
lea edx, [edi + 0x150]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.00407900
lea edx, [edi + 0xd30]
mov ecx, edi
mov dword [esp + 0x8c], ebp
call fcn.0040c500
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [0x47e440]
push eax
call esi
test ax, ax
jns 0x40a3d4
push 1
push 0x485118
sub esp, 0x1c
lea edx, [edi + 0x4ec]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00407900
sub esp, 0x1c
mov dword [esp + 0x6c], 0xc
lea eax, [edi + 0xa2c]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00407900
lea ecx, [edi + 0xdac]
push ecx
sub esp, 0x1c
mov byte [esp + 0x8c], 0xd
lea edx, [edi + 0x16c]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.00407900
lea edx, [edi + 0xd38]
mov ecx, edi
mov dword [esp + 0x8c], ebp
call fcn.0040c500
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [0x47e444]
push eax
call esi
test ax, ax
jns 0x40a4ea
cmp dword [0x485114], ebx
jne 0x40a455
push 1
push 0x485114
sub esp, 0x1c
lea edx, [edi + 0x508]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00407900
sub esp, 0x1c
mov dword [esp + 0x6c], 0xe
lea eax, [edi + 0xa48]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00407900
lea ecx, [edi + 0xdb0]
push ecx
sub esp, 0x1c
mov byte [esp + 0x8c], 0xf
lea edx, [edi + 0x188]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.00407900
lea edx, [edi + 0xd3c]
jmp 0x409fe7
push ebx
push 0x485114
sub esp, 0x1c
lea eax, [edi + 0x508]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov dword [0x485114], ebx
call fcn.00407900
sub esp, 0x1c
mov dword [esp + 0x6c], 0x10
lea edx, [edi + 0xc24]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.00407900
lea eax, [edi + 0xdb0]
push eax
sub esp, 0x1c
mov byte [esp + 0x8c], 0x11
lea edx, [edi + 0x188]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.00407900
lea edx, [edi + 0xd3c]
mov ecx, edi
mov dword [esp + 0x8c], ebp
call fcn.0040c500
call fcn.0040d000
mov dword [0x485114], ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [0x47e458]
push eax
call esi
test ax, ax
jns 0x40a70d
cmp dword [0x485108], ebx
jne 0x40a61d
cmp dword [0x48512c], ebx
jne 0x40a598
push ebx
push 0x48512c
sub esp, 0x1c
lea edx, [edi + 0x460]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov dword [0x4855a0], 1
call fcn.00407900
sub esp, 0x1c
mov dword [esp + 0x6c], 0x12
lea eax, [edi + 0x9a0]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00407900
lea ecx, [edi + 0xd98]
push ecx
sub esp, 0x1c
mov byte [esp + 0x8c], 0x13
lea edx, [edi + 0xe0]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.00407900
lea edx, [edi + 0xd20]
mov ecx, edi
mov dword [esp + 0x8c], ebp
call fcn.0040c500
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0x485108
sub esp, 0x1c
lea eax, [edi + 0x55c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00407900
sub esp, 0x1c
mov dword [esp + 0x6c], 0x14
lea edx, [edi + 0xa9c]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.00407900
lea eax, [edi + 0xdf0]
push eax
sub esp, 0x1c
mov byte [esp + 0x8c], 0x15
lea edx, [edi + 0x214]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.00407900
lea edx, [edi + 0xd50]
mov ecx, edi
mov dword [esp + 0x8c], ebp
call fcn.0040c340
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 1
push 0x485108
sub esp, 0x1c
lea eax, [edi + 0x55c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00407900
sub esp, 0x1c
mov dword [esp + 0x6c], 0x16
lea edx, [edi + 0xa9c]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.00407900
lea eax, [edi + 0xdf0]
push eax
sub esp, 0x1c
mov byte [esp + 0x8c], 0x17
lea edx, [edi + 0x214]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.00407900
lea edx, [edi + 0xd50]
mov ecx, edi
mov dword [esp + 0x8c], ebp
call fcn.0040c340
cmp dword [0x4855a0], ebx
je 0x40a947
cmp dword [0x48512c], ebx
je 0x40a947
push ebx
push 0x48512c
sub esp, 0x1c
lea eax, [edi + 0x460]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov dword [0x4855a0], ebx
call fcn.00407900
sub esp, 0x1c
mov dword [esp + 0x6c], 0x18
lea edx, [edi + 0x9a0]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.00407900
lea eax, [edi + 0xd98]
push eax
sub esp, 0x1c
mov byte [esp + 0x8c], 0x19
lea edx, [edi + 0xe0]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call fcn.00407900
jmp 0x409fe1
mov eax, dword [0x47e450]
push eax
call esi
test ax, ax
jns 0x40a74e
mov ecx, dword [edi + 0xe28]
mov edx, dword [edi + 0xe24]
mov ebx, dword [edi + 0xe20]
push ecx
push edx
mov ecx, 2
mov esi, edi
call fcn.0040e730
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [0x47e454]
push eax
call esi
test ax, ax
jns 0x40a78f
mov ecx, dword [edi + 0xe28]
mov edx, dword [edi + 0xe24]
mov ebx, dword [edi + 0xe20]
push ecx
push edx
mov ecx, 3
mov esi, edi
call fcn.0040e730
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [0x47e494]
push eax
call esi
test ax, ax
jns 0x40a80e
mov ecx, dword [edi + 0xe44]
cmp ecx, dword [edi + 0xe0c]
jae 0x40a7d3
push 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.CC_56_8B_35_____85_F6_74_15_EB_03_8D_49_00_8B
mov esi, 1
call fcn.00407930
mov ecx, esi
mov edx, edi
call fcn.0040d8b0
mov dword [edi + 0xe44], eax
mov eax, edi
call fcn.00401040
mov edx, dword [edi + 0xe28]
mov eax, dword [edi + 0xe24]
mov ebx, dword [edi + 0xe20]
push edx
push eax
mov ecx, 1
mov esi, edi
call fcn.0040e730
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp dword [0x48512c], ebx
je 0x40a83b
cmp dword [0x4850e8], ebx
je 0x40a83b
mov esi, dword [edi + 0xd20]
push 0x270f
push 1
push 0x270f
call fcn.0040e3b0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
cmp dword [0x485128], ebx
je 0x40a861
cmp dword [0x4850e4], ebx
je 0x40a861
mov esi, dword [edi + 0xd24]
push 1
push 1
push ebx
call fcn.0040e3b0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
cmp dword [0x485124], ebx
je 0x40a88e
cmp dword [0x4850e0], ebx
je 0x40a88e
mov esi, dword [edi + 0xd28]
push 0x270f
push 0xffffffffffffff9c
push 0x270f
call fcn.0040e3b0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
cmp dword [0x485120], ebx
je 0x40a8bb
cmp dword [0x4850dc], ebx
je 0x40a8bb
mov esi, dword [edi + 0xd2c]
push 0x270f
push 0xffffffffffffff9c
push 0x270f
call fcn.0040e3b0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
cmp dword [0x48511c], ebx
je 0x40a8e8
cmp dword [0x4850d8], ebx
je 0x40a8e8
mov esi, dword [edi + 0xd30]
push 0x270f
push 0xffffffffffffff9c
push 0x270f
call fcn.0040e3b0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
cmp dword [0x4850fc], ebx
je 0x40a91c
cmp dword [0x4850b8], ebx
je 0x40a91c
mov edx, dword [edi + 0xd54]
mov eax, dword [edi + 0xdc]
push ebx
push 4
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
mov dword [esp + 0x28], 0x3b9ac9ff
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [0x47e460]
push ecx
call esi
test ax, ax
jns 0x40a931
mov ecx, edi
call fcn.0040a960
push edi
mov ecx, 1
call fcn.00407100
push edi
mov ecx, 2
call fcn.00407100
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret