Function at 0x42a620
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
lea eax, [ebp - 0x100]
cmp eax, 0x20
push esi
push edi
ja case.0x42a642.260
xor ecx, ecx
mov cl, byte [eax + 0x42ac04]
jmp dword [ecx*4 + 0x42abf0]
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x42a65e
mov al, byte [0x462b7c]
test al, al
jne case.0x42a642.260
mov edi, dword [esp + 0x1c]
push edi
call fcn.00425750
add esp, 4
test eax, eax
je 0x42a6a1
mov esi, dword [eax + 0x10]
call fcn.0042d2f0
cmp esi, eax
jne 0x42a6a1
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 8]
push edx
push 0xf100
push 0x112
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov eax, 0x10000
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x24]
push ebx
push ecx
push ebp
push edi
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [0x462a90]
xor edi, edi
cmp eax, edi
je 0x42a79a
lea edx, [esp + 0x14]
push edx
call fcn.00429e20
lea eax, [esp + 0x14]
add esp, 4
test eax, eax
je 0x42a79a
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov dword [0x462b78], edi
call esi
test ax, ax
push 0x14
setl bl
call esi
movsx eax, ax
mov ecx, eax
and ecx, 0x8000
je 0x42a70a
test al, 1
je 0x42a712
test al, 1
je 0x42a716
cmp ecx, edi
jne 0x42a716
mov al, 1
jmp 0x42a718
xor al, al
test bl, bl
je 0x42a722
test al, al
je 0x42a726
jmp 0x42a72d
test al, al
je 0x42a72d
or dword [0x462b78], 2
push 0x11
call esi
test ax, ax
jge 0x42a73d
or dword [0x462b78], 4
push 0x12
call esi
test ax, ax
jge 0x42a74d
or dword [0x462b78], 1
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], edi
call fcn.0042b0b0
add esp, 8
test al, al
je 0x42a79a
xor eax, eax
cmp ebp, 0x104
setne al
lea ecx, [esp + 0x10]
push ecx
add eax, 0xa
push eax
mov eax, dword [0x462a90]
push eax
call dword [eax + 0x54]
add esp, 0xc
test al, al
mov byte [0x462b7c], al
je 0x42a79a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ebp
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [0x462a90]
test eax, eax
je case.0x42a642.260
mov al, byte [0x462a84]
test al, al
jne case.0x42a642.260
lea edx, [esp + 0x14]
push edx
call fcn.00429e20
lea eax, [esp + 0x14]
add esp, 4
test eax, eax
je case.0x42a642.260
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov dword [0x462b78], 0
call esi
test ax, ax
push 0x14
setl bl
call esi
movsx eax, ax
mov ecx, eax
and ecx, 0x8000
je 0x42a81a
test al, 1
je 0x42a822
test al, 1
je 0x42a826
test ecx, ecx
jne 0x42a826
mov al, 1
jmp 0x42a828
xor al, al
test bl, bl
je 0x42a832
test al, al
je 0x42a836
jmp 0x42a83d
test al, al
je 0x42a83d
or dword [0x462b78], 2
push 0x11
call esi
test ax, ax
jge 0x42a84d
or dword [0x462b78], 4
push 0x12
call esi
test ax, ax
jge 0x42a85d
or dword [0x462b78], 1
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
and ecx, 0xff
push edx
shr ecx, 0x10
push eax
mov dword [esp + 0x18], ecx
call fcn.0042b0b0
add esp, 8
test al, al
je case.0x42a642.260
lea ecx, [esp + 0x10]
push ecx
push 0xb
jmp 0x42abc3
mov eax, dword [0x462a90]
xor edi, edi
cmp eax, edi
je case.0x42a642.260
mov al, byte [0x462a84]
test al, al
jne case.0x42a642.260
lea edx, [esp + 0x14]
push edx
call fcn.00429e20
lea eax, [esp + 0x14]
add esp, 4
test eax, eax
je case.0x42a642.260
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov dword [0x462b78], edi
call esi
test ax, ax
push 0x14
setl bl
call esi
movsx eax, ax
mov ecx, eax
and ecx, 0x8000
je 0x42a8f4
test al, 1
je 0x42a8fc
test al, 1
je 0x42a900
cmp ecx, edi
jne 0x42a900
mov al, 1
jmp 0x42a902
xor al, al
test bl, bl
je 0x42a90c
test al, al
je 0x42a910
jmp 0x42a917
test al, al
je 0x42a917
or dword [0x462b78], 2
push 0x11
call esi
test ax, ax
jge 0x42a927
or dword [0x462b78], 4
push 0x12
call esi
test ax, ax
jge 0x42a937
or dword [0x462b78], 1
mov esi, dword [esp + 0x24]
push esi
mov dword [esp + 0x14], edi
call fcn.0042ad00
add esp, 4
test al, al
jne case.0x42a642.260
cmp si, 0x70
jb 0x42a9b2
cmp si, 0x79
ja 0x42a9b2
mov al, byte [0x462b78]
and esi, 0xffff
sub esi, 0x6f
test al, 1
je 0x42a97d
add esi, 0x167
mov dword [esp + 0x10], esi
jmp 0x42abbc
test al, 4
je 0x42a990
add esi, 0x15d
mov dword [esp + 0x10], esi
jmp 0x42abbc
test al, 2
je 0x42a9a3
add esi, 0x153
mov dword [esp + 0x10], esi
jmp 0x42abbc
add esi, 0x13a
mov dword [esp + 0x10], esi
jmp 0x42abbc
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042b080
add esp, 8
test al, al
jne 0x42abbc
mov edx, esi
and edx, 0xffff
lea eax, [edx - 8]
cmp eax, 0x73
ja case.0x42a9e4.30
xor ecx, ecx
mov cl, byte [eax + 0x42ac84]
jmp dword [ecx*4 + 0x42ac28]
push 9
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 8
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x1b
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0xd
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x147
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x14f
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x148
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x150
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x14b
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x14d
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x152
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x153
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x149
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x151
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x20
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x185
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x186
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x2e
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x2b
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x2d
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x2f
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
push 0x2a
call fcn.00429ae0
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x42abbc
lea edx, [esp + 0x10]
push edx
push esi
call fcn.0042aff0
add esp, 8
test al, al
je 0x42abdc
cmp dword [esp + 0x10], edi
setne al
test al, al
je case.0x42a642.260
lea ecx, [esp + 0x10]
push ecx
push 0xa
mov eax, dword [0x462a90]
push eax
call dword [eax + 0x54]
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x10000
pop ebx
add esp, 8
ret
lea eax, [esp + 0x10]
push eax
push esi
call fcn.0042adc0
add esp, 8
test al, al
je case.0x42a642.260
jmp 0x42abbc