Function at 0x422b60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0xb8], ecx
mov ecx, dword [ebp - 0xb8]
call fcn.00403be0
mov ecx, dword [ebp - 0xb8]
add ecx, 4
call fcn.00425600
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x32], al
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
neg ecx
sbb ecx, ecx
neg ecx
mov byte [ebp - 0x31], cl
lea edx, [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xb8]
call fcn.00423530
mov dword [ebp - 4], eax
push 0x2c
push 0
lea eax, [ebp - 0x30]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], 0xffffff9b
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
movzx edx, byte [ebp - 0x31]
test edx, edx
je 0x422efb
cmp dword [ebp - 4], 0
je 0x422efb
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0xb8]
cmp dword [ecx + 0x1c8], 0
je 0x422c7d
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x1c8]
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 0x40]
jge 0x422c57
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x1c8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x1c8]
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 0x44]
jle 0x422c7d
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x1c8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x44], ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0xb8]
add ecx, 0x15c
call fcn.004244a0
jmp 0x422c9c
lea ecx, [ebp - 0x4c]
call fcn.00424750
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xb8]
add ecx, 0x15c
call fcn.004244d0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00424830
movzx ecx, al
test ecx, ecx
je 0x422dab
lea ecx, [ebp - 0x4c]
call fcn.00424730
mov edx, dword [eax]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 0x40]
jl 0x422cf9
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x18]
cmp eax, dword [ebp - 0x44]
jg 0x422cf9
mov dword [ebp - 0x50], 1
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x2c], 2
jne 0x422d56
cmp dword [ebp - 0x50], 0
jne 0x422d54
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x54]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x1c]
push edx
push 0x4e
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x422da6
cmp dword [ebp - 0x50], 0
je 0x422da6
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0x2c], 2
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x1c]
push eax
push 0x4e
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x422c94
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x1c4], ecx
mov ecx, dword [ebp - 0xb8]
call fcn.00424200
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.004241e0
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x38]
call fcn.004241c0
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jle 0x422ee6
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x1c4]
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x1bc]
sub edx, dword [eax + 0x20]
mov eax, edx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x1c4]
mov eax, dword [ecx + 0x18]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x5c], 3
jge 0x422e8e
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x1cc]
neg eax
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
add ecx, 0x40
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
cmp edx, dword [ebp - 0x44]
jle 0x422e5d
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
neg ecx
mov edx, dword [ebp - 0xb8]
mov dword [edx + 0x1cc], ecx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.00424190
mov ecx, dword [ebp - 0xb8]
call fcn.00421d20
xor eax, eax
jmp 0x423507
cmp dword [ebp - 0x58], 3
jge 0x422ee6
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x1cc]
neg edx
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
sub eax, 0x40
mov dword [ebp - 0x64], eax
jns 0x422eb7
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0x64]
neg ecx
mov edx, dword [ebp - 0xb8]
mov dword [edx + 0x1cc], ecx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.00424190
mov ecx, dword [ebp - 0xb8]
call fcn.00421d20
xor eax, eax
jmp 0x423507
push 1
mov ecx, dword [ebp - 0xb8]
add ecx, 4
call fcn.004045d0
jmp 0x423505
movzx ecx, byte [ebp - 0x32]
test ecx, ecx
je 0x4231c6
cmp dword [ebp - 4], 0
je 0x4231c6
cmp dword [ebp - 4], 0
je 0x42311e
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 4]
mov dword [edx + 0x1c8], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x2c], 2
jne 0x422f84
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x1c]
push edx
push 0x4e
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x423109
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 4]
mov dword [edx + 0x1c4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], 2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x1c]
push edx
push 0x4e
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xb8]
call fcn.00424200
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
call fcn.004241e0
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x68]
call fcn.004241c0
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jle 0x423109
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x1c4]
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x1bc]
sub edx, dword [eax + 0x20]
mov eax, edx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x1c4]
mov eax, dword [ecx + 0x18]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x78], 3
jge 0x4230b1
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x1cc]
neg eax
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
add ecx, 0x40
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
cmp edx, dword [ebp - 0x70]
jle 0x423080
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
neg ecx
mov edx, dword [ebp - 0xb8]
mov dword [edx + 0x1cc], ecx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.00424190
mov ecx, dword [ebp - 0xb8]
call fcn.00421d20
xor eax, eax
jmp 0x423507
cmp dword [ebp - 0x74], 3
jge 0x423109
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x1cc]
neg edx
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
sub eax, 0x40
mov dword [ebp - 0x80], eax
jns 0x4230da
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0x80]
neg ecx
mov edx, dword [ebp - 0xb8]
mov dword [edx + 0x1cc], ecx
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.00424190
mov ecx, dword [ebp - 0xb8]
call fcn.00421d20
xor eax, eax
jmp 0x423507
push 1
mov ecx, dword [ebp - 0xb8]
add ecx, 4
call fcn.004045d0
jmp 0x4231c1
mov ecx, dword [ebp - 0xb8]
cmp dword [ecx + 0x1c4], 0
je 0x4231c1
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x1c4]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x1c4]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x1c4]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x1c4]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x1c]
push eax
push 0x4e
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xb8]
mov dword [eax + 0x1c4], 0
push 1
mov ecx, dword [ebp - 0xb8]
add ecx, 4
call fcn.004045d0
jmp 0x423505
cmp dword [ebp - 4], 0
je 0x4231db
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x1c8], edx
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0xb8]
add ecx, 0x15c
call fcn.004244a0
jmp 0x423200
lea ecx, [ebp - 0x88]
call fcn.00424750
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, dword [ebp - 0xb8]
add ecx, 0x15c
call fcn.004244d0
push eax
lea ecx, [ebp - 0x88]
call fcn.00424830
movzx edx, al
test edx, edx
je 0x4232d1
lea ecx, [ebp - 0x88]
call fcn.00424730
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
je 0x4232cc
lea ecx, [ebp - 0x88]
call fcn.00424730
mov ecx, dword [eax]
cmp dword [ecx + 0x2c], 2
jne 0x4232cc
lea ecx, [ebp - 0x88]
call fcn.00424730
mov edx, dword [eax]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x88]
call fcn.00424730
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x88]
call fcn.00424730
mov eax, dword [eax]
mov dword [eax + 0x2c], 0
lea ecx, [ebp - 0x88]
call fcn.00424730
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x1c]
push edx
push 0x4e
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4231f5
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x1c4]
je 0x423505
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x1c4], edx
mov eax, dword [ebp - 0xb8]
cmp dword [eax + 0x1c4], 0
je 0x4234f5
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x1c4]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x1c4]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x1c4]
mov dword [edx + 0x2c], 2
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x1c4]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x1c]
push edx
push 0x4e
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xb8]
call fcn.00424200
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.004241e0
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x8c]
call fcn.004241c0
sub eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jle 0x4234f5
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x1c4]
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x1bc]
sub edx, dword [eax + 0x20]
mov eax, edx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x1c4]
mov eax, dword [ecx + 0x18]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x9c], 3
jge 0x423488
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x1cc]
neg eax
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
add ecx, 0x40
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
cmp edx, dword [ebp - 0x94]
jle 0x42344e
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
neg ecx
mov edx, dword [ebp - 0xb8]
mov dword [edx + 0x1cc], ecx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.00424190
mov ecx, dword [ebp - 0xb8]
call fcn.00421d20
xor eax, eax
jmp 0x423507
cmp dword [ebp - 0x98], 3
jge 0x4234f5
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x1cc]
neg edx
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa4]
sub eax, 0x40
mov dword [ebp - 0xa4], eax
jns 0x4234c0
mov dword [ebp - 0xa4], 0
mov ecx, dword [ebp - 0xa4]
neg ecx
mov edx, dword [ebp - 0xb8]
mov dword [edx + 0x1cc], ecx
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.00424190
mov ecx, dword [ebp - 0xb8]
call fcn.00421d20
xor eax, eax
jmp 0x423507
push 1
mov ecx, dword [ebp - 0xb8]
add ecx, 4
call fcn.004045d0
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc