Function at 0x42a560
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x290]
push edi
call fcn.0042c6f0
test eax, eax
jne 0x42a58a
mov ecx, esi
call sub.MFC42.DLL_CWnd::Default
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [esp + 0x20], eax
xor eax, eax
push 0x11
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call ebx
mov edi, dword [esp + 0x34]
test ah, 0x80
je case.0x42a5c8.49
lea eax, [edi - 0x2d]
cmp eax, 0x2b
ja case.0x42a5c8.49
xor edx, edx
mov dl, byte [eax + 0x42adc0]
jmp dword [edx*4 + 0x42adac]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xec]
jmp case.0x42a5c8.49
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xe0]
jmp case.0x42a5c8.49
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe4]
jmp case.0x42a5c8.49
mov edx, dword [esi]
mov ecx, esi
call dword [edx + pe_nt_image_headers32]
push 0x10
call ebx
test ah, 0x80
je 0x42a626
cmp edi, 0x2d
jne 0x42a626
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov ecx, esi
call sub.MFC42.DLL_CWnd::Default
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, 0x2e
mov ebx, 1
jne 0x42a645
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc0]
jmp 0x42a786
cmp edi, 0x28
jne 0x42a68b
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0xe0]
mov edi, eax
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jge 0x42a682
push eax
mov ecx, esi
call fcn.00431f20
test eax, eax
jg 0x42a786
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0xe0]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x42a65f
mov dword [esp + 0x20], edi
jmp 0x42a786
cmp edi, 0x26
jne 0x42a6d1
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0xe4]
mov edi, eax
dec eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x42a6c8
push eax
mov ecx, esi
call fcn.00431f20
test eax, eax
jg 0x42a786
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0xe4]
dec eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jge 0x42a6a5
mov dword [esp + 0x20], edi
jmp 0x42a786
cmp edi, 0x27
je 0x42abd1
cmp edi, 9
jne 0x42a710
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
test ah, 0x80
je 0x42abd1
push 0x10
call edi
test ah, 0x80
jne 0x42ab15
mov ecx, esi
call sub.MFC42.DLL_CWnd::Default
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
cmp edi, 0x25
je 0x42ab15
cmp edi, 0x22
jne 0x42a8e0
lea eax, [esp + 0x14]
push 0
push eax
mov ecx, esi
call fcn.0042f100
mov edi, dword [eax]
mov edx, dword [esi + 0x20]
push 0
push 3
mov ecx, dword [eax + 4]
push 0x115
push edx
mov dword [esp + 0x28], ecx
call ebp
lea eax, [esp + 0x28]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x1c], ebx
call fcn.0042f100
mov ecx, eax
mov eax, dword [ecx]
sub eax, edi
mov edx, dword [ecx + 4]
mov dword [esp + 0x2c], edx
je 0x42a8d4
mov ecx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esi + 0xe0]
dec eax
mov dword [esp + 0x20], ecx
cmp ecx, eax
jle 0x42a786
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0x290]
cmp edx, ecx
jne 0x42a7a4
cmp eax, dword [esi + 0x294]
je 0x42ada2
mov ecx, dword [esi + 0x264]
xor ebx, ebx
cmp ecx, ebx
jne 0x42a879
mov edx, dword [esi + 0x2d8]
cmp edx, ebx
je 0x42a7de
mov eax, dword [esi + 0x2dc]
cmp eax, ebx
jbe 0x42a7de
mov ecx, edx
mov edi, eax
mov eax, dword [ecx]
cmp eax, ebx
je 0x42a7d8
mov eax, dword [eax]
cmp eax, ebx
jne 0x42a7d2
add ecx, 4
dec edi
jne 0x42a7cc
push edx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esi + 0x2e8]
add esp, 4
mov dword [esi + 0x2d8], ebx
mov dword [esi + 0x2e0], ebx
mov dword [esi + 0x2e4], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov dword [esi + 0x2e8], ebx
mov eax, dword [esi + 0x8c]
neg eax
sbb eax, eax
push 0x10
add eax, 4
mov dword [esi + 0x264], eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [esp + 0x20]
test ah, 0x80
mov eax, dword [esp + 0x24]
je 0x42a839
cmp dword [esp + 0x34], 9
jne 0x42a845
mov dword [esi + 0x288], ecx
mov dword [esi + 0x28c], eax
push 0xffffffffffffff9c
push eax
push ecx
mov ecx, esi
call fcn.004298b0
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0042d8f0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push 0xffffffffffffff9b
push edx
push eax
mov ecx, esi
call fcn.004298b0
mov eax, dword [esp + 0x24]
mov dword [esi + 0x264], ebx
mov ecx, dword [esp + 0x20]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.0042cef0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.00432d00
test eax, eax
jne 0x42ad69
mov edx, dword [esp + 0x34]
lea eax, [edx - 9]
cmp eax, 0x1f
ja case.0x42a8bc.14
xor ecx, ecx
mov cl, byte [eax + 0x42ae04]
jmp dword [ecx*4 + 0x42adec]
push ebx
push 1
mov edx, dword [esi + 0x20]
push 0x114
push edx
jmp 0x42ad41
mov eax, dword [esi + 0xe0]
dec eax
jmp 0x42a782
cmp edi, 0x21
jne 0x42a954
lea eax, [esp + 0x28]
push 0
push eax
mov ecx, esi
call fcn.0042f100
mov edi, dword [eax]
mov edx, dword [esi + 0x20]
push 0
push 2
mov ecx, dword [eax + 4]
push 0x115
push edx
mov dword [esp + 0x3c], ecx
call ebp
lea eax, [esp + 0x28]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x1c], ebx
call fcn.0042f100
mov ecx, eax
mov eax, dword [ecx]
sub eax, edi
mov edx, dword [ecx + 4]
mov dword [esp + 0x2c], edx
je 0x42a949
mov ecx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esi + 0xe4]
cmp ecx, eax
mov dword [esp + 0x20], ecx
jge 0x42a786
jmp 0x42a782
mov eax, dword [esi + 0xe4]
jmp 0x42a782
cmp edi, 0x24
jne 0x42aa1c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
push 0
push 6
je 0x42a99c
mov ecx, dword [esi + 0x20]
push 0x115
push ecx
call ebp
mov edx, dword [esi + 0x20]
push 0
push 6
push 0x114
push edx
call ebp
mov eax, dword [esi + 0xe4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], eax
jmp 0x42a9ab
mov ecx, dword [esi + 0x20]
push 0x114
push ecx
call ebp
mov dword [esp + 0x10], ebx
mov edx, dword [esi + 0xe8]
mov eax, dword [esi + 0xec]
dec edx
mov dword [esp + 0x24], eax
cmp eax, edx
jge 0x42a9e0
push eax
mov ecx, esi
call fcn.00431f50
test eax, eax
mov eax, dword [esp + 0x24]
jg 0x42a9e0
mov ecx, dword [esi + 0xe8]
inc eax
dec ecx
mov dword [esp + 0x24], eax
cmp eax, ecx
jl 0x42a9c0
mov edx, dword [esi + 0xe0]
mov ecx, dword [esp + 0x20]
dec edx
cmp ecx, edx
jge 0x42a78a
push ecx
mov ecx, esi
call fcn.00431f20
test eax, eax
jg 0x42a786
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0xe0]
inc ecx
dec eax
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x42a9f3
jmp 0x42a786
cmp edi, 0x23
jne 0x42aae6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
push 0
push 7
je 0x42aa65
mov ecx, dword [esi + 0x20]
push 0x115
push ecx
call ebp
mov edx, dword [esi + 0x20]
push 0
push 7
push 0x114
push edx
call ebp
mov eax, dword [esi + 0xe0]
mov dword [esp + 0x10], ebx
dec eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], eax
jmp 0x42aa74
mov eax, dword [esi + 0x20]
push 0x114
push eax
call ebp
mov dword [esp + 0x10], ebx
mov eax, dword [esi + 0xe8]
mov ecx, dword [esi + 0xec]
dec eax
inc ecx
cmp eax, ecx
mov dword [esp + 0x24], eax
jle 0x42aaaa
push eax
mov ecx, esi
call fcn.00431f50
test eax, eax
mov eax, dword [esp + 0x24]
jg 0x42aaaa
mov edx, dword [esi + 0xec]
dec eax
inc edx
mov dword [esp + 0x24], eax
cmp eax, edx
jg 0x42aa8a
mov edx, dword [esi + 0xe4]
mov ecx, dword [esp + 0x20]
inc edx
cmp ecx, edx
jle 0x42a78a
push ecx
mov ecx, esi
call fcn.00431f20
test eax, eax
jg 0x42a786
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0xe4]
dec ecx
inc eax
cmp ecx, eax
mov dword [esp + 0x20], ecx
jg 0x42aabd
jmp 0x42a786
cmp edi, 0x71
jne 0x42a579
mov edx, dword [esi]
or ecx, 0xffffffff
or eax, 0xffffffff
push ebx
push ecx
mov ecx, dword [esi + 0x290]
push eax
mov eax, dword [esi + 0x294]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x11c]
jmp 0x42a786
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
xor edi, edi
mov ebx, eax
dec eax
cmp ecx, 9
mov dword [esp + 0x24], eax
jne 0x42ab93
mov edx, dword [esi + 0xec]
dec edx
cmp eax, edx
jne 0x42ab88
mov eax, dword [esi + 0xe4]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jle 0x42ab88
dec ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jle 0x42ab73
push ecx
mov ecx, esi
call fcn.00431f20
test eax, eax
jg 0x42ab6e
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0xe4]
dec ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jg 0x42ab4d
jmp 0x42ab73
mov edi, 1
mov eax, dword [esi + 0xe8]
mov dword [esp + 0x1c], 1
dec eax
mov dword [esp + 0x24], eax
jmp 0x42ab93
mov ecx, esi
call sub.MFC42.DLL_CWnd::Default
mov eax, dword [esp + 0x24]
cmp eax, dword [esi + 0xec]
jl 0x42abbe
push eax
mov ecx, esi
call fcn.00431f50
test eax, eax
jg 0x42a786
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0xec]
dec eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jge 0x42ab9b
test edi, edi
jne 0x42a78a
mov eax, ebx
mov dword [esp + 0x24], eax
jmp 0x42a78a
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
xor edi, edi
mov ebx, eax
inc eax
cmp ecx, 9
mov dword [esp + 0x24], eax
jne 0x42ac50
cmp eax, dword [esi + 0xe8]
jne 0x42ac45
mov eax, dword [esi + 0xe0]
mov edx, dword [esp + 0x20]
lea ecx, [eax - 1]
cmp edx, ecx
jge 0x42ac45
mov ecx, edx
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jge 0x42ac31
push ecx
mov ecx, esi
call fcn.00431f20
test eax, eax
jg 0x42ac2c
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0xe0]
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x42ac0b
jmp 0x42ac31
mov edi, 1
mov eax, dword [esi + 0xec]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], eax
jmp 0x42ac50
mov ecx, esi
call sub.MFC42.DLL_CWnd::Default
mov eax, dword [esp + 0x24]
cmp eax, dword [esi + 0xe8]
jge 0x42ac7b
push eax
mov ecx, esi
call fcn.00431f50
test eax, eax
jg 0x42a786
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0xe8]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x42ac58
test edi, edi
jne 0x42a78a
mov eax, ebx
mov dword [esp + 0x24], eax
jmp 0x42a78a
mov eax, dword [esi + 0x20]
push ebx
push ebx
push 0x114
push eax
jmp 0x42ad41
mov ecx, dword [esi + 0x20]
push ebx
push 1
push 0x115
push ecx
call ebp
mov dword [esp + 0x14], 1
jmp case.0x42a8bc.14
mov edx, dword [esi + 0x20]
push ebx
push ebx
push 0x115
push edx
call ebp
mov dword [esp + 0x14], 1
jmp case.0x42a8bc.14
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
mov eax, dword [esp + 0x1c]
je 0x42ad11
cmp eax, ebx
push ebx
push ebx
je 0x42a8c6
mov eax, dword [esi + 0x20]
push 0x115
push eax
call ebp
mov ecx, dword [esi + 0x11c]
push 1
push ecx
push ebx
mov ecx, esi
mov dword [esp + 0x20], 1
call fcn.0042f4f0
jmp case.0x42a8bc.14
cmp eax, ebx
push ebx
push 1
je 0x42ad38
mov eax, dword [esi + 0x20]
push 0x115
push eax
call ebp
push 1
push ebx
push ebx
mov ecx, esi
mov dword [esp + 0x20], 1
call fcn.0042f4f0
jmp case.0x42a8bc.14
mov ecx, dword [esi + 0x20]
push 0x114
push ecx
call ebp
mov dword [esp + 0x10], 1
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
push eax
mov ecx, esi
call fcn.00432970
mov ecx, dword [esi + 0x20]
push 1
push ebx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
push eax
mov ecx, esi
call fcn.00432970
cmp dword [esp + 0x10], ebx
je 0x42ad8e
mov ecx, dword [esi + 0x20]
push ebx
push 8
push 0x114
push ecx
call ebp
cmp dword [esp + 0x14], ebx
je 0x42ada2
mov edx, dword [esi + 0x20]
push ebx
push 8
push 0x115
push edx
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc