Function at 0x421bda
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push edi
push 1
push 0
push 0xffffffffffffffff
mov edi, ecx
mov ecx, dword [0x467b78]
push 0x45bf4c
call fcn.0040184e
push dword [ebp + 0x24]
mov ecx, edi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.0043b175
test eax, eax
mov dword [ebp + 0x18], eax
jne 0x421c19
inc eax
jmp 0x422072
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
push ebx
mov ebx, 0x80000000
push esi
mov dword [ebp - 4], 2
mov byte [ebp + 0x27], 0
mov byte [ebp + 0x23], 1
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov edi, eax
je 0x421cd6
lea esi, [eax + 1]
movsx eax, byte [edi]
push eax
call fcn.00442990
sub eax, 0x44
pop ecx
je 0x421cc1
sub eax, 0xa
je 0x421caa
dec eax
dec eax
je 0x421c8c
sub eax, 5
je 0x421c83
sub eax, 3
je 0x421c77
dec eax
jne 0x421cc5
push esi
call fcn.00401378
pop ecx
mov dword [ebp - 0xc], eax
jmp 0x421cc5
push esi
call fcn.00401378
pop ecx
mov dword [ebp - 0x10], eax
jmp 0x421cc5
mov dword [ebp - 4], 1
jmp 0x421cc5
push 3
push 0x45f084
push edi
call fcn.00442545
add esp, 0xc
test eax, eax
jne 0x421cc5
inc edi
inc edi
inc esi
inc esi
mov byte [ebp + 0x27], 1
jmp 0x421cc5
movsx eax, byte [esi]
push eax
call fcn.00442990
cmp eax, 0x41
pop ecx
jne 0x421cc5
inc edi
inc esi
mov byte [ebp + 0x23], 0
jmp 0x421cc5
and dword [ebp - 4], 0
inc edi
inc esi
cmp byte [edi], 0
jne 0x421c46
cmp byte [ebp + 0x27], 0
jne 0x421cee
push dword [ebp + 0x14]
push dword [ebp + 0x18]
call fcn.0043b25e
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x1c], eax
jne 0x421dc3
and dword [ebp - 0x58], 0
push 9
pop ecx
push dword [ebp + 0x14]
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
call fcn.00401ea8
mov edi, eax
movsx eax, byte [edi]
push eax
call fcn.00442990
cmp eax, 0x58
pop ecx
pop ecx
jne 0x421dd1
inc edi
cmp byte [edi], 0
je 0x421dd1
push edi
call fcn.0040137d
mov dword [esp], 0x45bc18
push edi
mov dword [ebp - 0x58], eax
call fcn.00439b0d
test eax, eax
pop ecx
pop ecx
je 0x421dd1
inc eax
push eax
call fcn.00401ea8
mov esi, eax
mov al, byte [esi]
test al, al
pop ecx
je 0x421dd1
movsx eax, al
push eax
call fcn.00442990
cmp eax, 0x59
pop ecx
jne 0x421dd1
inc esi
cmp byte [esi], 0
je 0x421dd1
push esi
call fcn.0040137d
mov esi, dword [ebp + 0x18]
pop ecx
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x30]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
push eax
push 0x43b38d
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [ebp - 0x40]
test eax, eax
mov dword [ebp + 0x1c], eax
jne 0x421daa
mov dword [ebp + 0x1c], esi
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_ScreenToClient]
xor edi, edi
inc edi
cmp dword [ebp + 0xc], edi
jge 0x421dd9
push edi
jmp 0x42205c
xor eax, eax
inc eax
jmp 0x422070
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x421de7
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jne 0x421e28
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x421eb9
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
jne 0x421e13
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jne 0x421e28
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xc], eax
movzx esi, ax
movzx eax, cx
shl esi, 0x10
or esi, eax
mov al, byte [ebp + 8]
cmp al, 0x9f
mov dword [ebp - 8], esi
je 0x421e45
cmp al, 0x9e
mov byte [ebp + 0xb], 0
jne 0x421e49
mov byte [ebp + 0xb], 1
cmp al, 0x9c
je 0x421e55
cmp al, 0x9d
mov byte [ebp + 0x17], 0
jne 0x421e59
mov byte [ebp + 0x17], 1
cmp byte [ebp + 0xb], 0
je 0x421e81
xor ebx, ebx
cmp al, 0x9f
setne bl
mov edi, 0x20a
dec ebx
and ebx, 0xf0
add ebx, 0xffffff88
imul ebx, dword [ebp + 0xc]
shl ebx, 0x10
jmp 0x421f04
cmp byte [ebp + 0x17], 0
je 0x421ea6
xor ebx, ebx
cmp al, 0x9c
setne bl
mov edi, 0x20e
dec ebx
and ebx, 0xffffff10
add ebx, 0x78
imul ebx, dword [ebp + 0xc]
shl ebx, 0x10
jmp 0x421f04
movzx eax, al
dec eax
je 0x421ef5
dec eax
je 0x421ee5
dec eax
dec eax
je 0x421ed5
dec eax
je 0x421ed1
dec eax
je 0x421ec0
mov eax, edi
jmp 0x422070
push 0x40
mov edi, 0x20b
mov dword [ebp + 0x10], 0x20c
pop ebx
jmp 0x421f04
push 0x20
jmp 0x421ec2
mov edi, 0x207
mov dword [ebp + 0x10], 0x208
push 0x10
jmp 0x421ece
mov edi, 0x204
mov dword [ebp + 0x10], 0x205
push 2
jmp 0x421ece
xor ebx, ebx
mov edi, 0x201
mov dword [ebp + 0x10], 0x202
inc ebx
cmp byte [ebp + 0x23], 0
mov byte [ebp + 0x27], 0
je 0x421f55
push 0
push dword [ebp + 0x18]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
mov dword [ebp + 0x20], eax
je 0x421f4c
cmp eax, dword [0x467c9c]
je 0x421f4c
push dword [ebp + 0x18]
call fcn.0043c146
test al, al
pop ecx
jne 0x421f4c
push 1
push dword [ebp + 0x20]
push dword [0x467c9c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [ebp + 0x27]
push dword [ebp + 0x18]
call dword [sym.imp.USER32.dll_SetActiveWindow]
cmp byte [ebp + 0xb], 0
jne 0x422009
cmp byte [ebp + 0x17], 0
jne 0x422009
cmp dword [ebp + 0xc], 0
jle 0x422043
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
mov dword [ebp + 8], eax
cmp dword [ebp - 4], 1
je 0x421fbd
push dword [ebp - 8]
push ebx
push edi
push dword [ebp + 0x1c]
call esi
mov eax, dword [0x465108]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x421fbd
cmp eax, 0x19
jge 0x421fb3
cmp byte [0x468399], 0
je 0x421fb3
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x421fbd
push 1
push eax
call fcn.0040de6e
pop ecx
pop ecx
cmp dword [ebp - 4], 0
je 0x421ffe
push dword [ebp - 8]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x1c]
call esi
mov eax, dword [0x465108]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x421ffe
cmp eax, 0x19
jge 0x421ff4
cmp byte [0x468399], 0
je 0x421ff4
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x421ffe
push 1
push eax
call fcn.0040de6e
pop ecx
pop ecx
dec dword [ebp + 8]
jne 0x421f7f
jmp 0x422043
push esi
push ebx
push edi
push dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [0x465108]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x422043
cmp eax, 0x19
jge 0x422039
cmp byte [0x468399], 0
je 0x422039
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x422043
push 1
push eax
call fcn.0040de6e
pop ecx
pop ecx
cmp byte [ebp + 0x27], 0
je 0x42205a
push 0
push dword [ebp + 0x20]
push dword [0x467c9c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
mov ecx, dword [0x467b78]
push 0
push 0xffffffffffffffff
push 0x45a734
call fcn.0040184e
pop esi
pop ebx
pop edi
leave
ret 0x20