Function at 0x42e904
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x5836e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x3c], esi
cmp dword [esi + 0x1e4], 0
jne 0x42eb7d
mov ecx, dword [esi + 0xcc]
push 0
call fcn.0041f0b9
test al, al
jne 0x42eb7d
mov ecx, esi
call fcn.0043241c
test al, al
je 0x42eb7d
lea eax, [ebp - 0x34]
push eax
push dword [0x5a22a4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0xcc]
mov ecx, 0x180
mov ax, word [eax + 0x3ebc]
and ax, cx
mov ecx, 0x80
cmp ax, cx
jne 0x42e9a3
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x42e9a3
mov eax, dword [esi + 0xcc]
mov ecx, 0x100
or word [eax + 0x3ebc], cx
mov ecx, dword [0x5a23ec]
lea edi, [ebp - 0x24]
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00467370
mov ecx, dword [ebp - 0x3c]
lea esi, [ebp - 0x24]
push 0
sub esp, 0x10
mov byte [ebp - 0x35], al
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00427cbc
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x24]
push 0x10
push 0
push 0
push eax
push 7
lea eax, [ebp - 0x4c]
push eax
call fcn.004284c8
mov esi, eax
lea edi, [ebp - 0x14]
push 2
lea eax, [ebp - 0x68]
push 4
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004e6ad0
mov esi, eax
lea edi, [ebp - 0x4c]
add esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x3c]
xor edi, edi
push edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov ecx, dword [esi + 0xcc]
call fcn.0041f275
test al, al
je 0x42ea45
push 1
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004d158d
mov esi, eax
lea edi, [ebp - 0x4c]
add esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x3c]
xor edi, edi
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xc], eax
jge 0x42ea54
mov dword [ebp - 0xc], eax
mov cl, 1
jmp 0x42ea57
mov cl, byte [ebp - 0x35]
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 8], eax
jge 0x42ea64
mov dword [ebp - 8], eax
mov cl, 1
test cl, cl
je case.default.0x42eb12
push 0x10
push edi
push 7
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push edi
lea eax, [ebp - 0x68]
push eax
call fcn.004284c8
cmp dword [ebp - 0x54], 0
lea edi, [ebp - 0x4c]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jle 0x42eab7
mov eax, dword [0x5a23ec]
mov ecx, dword [0x5a23f0]
push 0
push 0x10
movzx eax, byte [eax + 0x111b5]
push eax
call fcn.0046a75f
imul eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x44]
add esi, eax
jmp 0x42eaba
mov esi, dword [ebp - 0x44]
cmp dword [ebp - 0x50], 0
jle 0x42eae7
mov eax, dword [0x5a23ec]
mov ecx, dword [0x5a23f0]
push 0
push 0x11
movzx eax, byte [eax + 0x111b6]
push eax
call fcn.0046a75f
imul eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x40]
add ecx, eax
jmp 0x42eaea
mov ecx, dword [ebp - 0x40]
mov edi, dword [ebx]
mov eax, dword [ebx + 8]
add edi, esi
mov edx, dword [ebx + 4]
sub eax, esi
mov esi, dword [ebx + 0xc]
add edx, ecx
mov dword [ebp - 0x58], edi
sub esi, ecx
mov edi, dword [ebp + 8]
dec edi
mov dword [ebp - 0x40], edi
cmp edi, 7
mov edi, dword [ebp - 0x58]
ja case.default.0x42eb12
mov ecx, dword [ebp - 0x40]
jmp dword [ecx*4 + 0x42ebb4]
mov dword [ebx + 8], edi
jmp 0x42eb2c
mov dword [ebx], eax
mov dword [ebx + 4], esi
jmp case.default.0x42eb12
mov dword [ebx + 8], edi
jmp 0x42eb20
mov dword [ebx], eax
mov dword [ebx + 0xc], edx
mov eax, dword [0x5a23ec]
mov ecx, dword [ebp + 8]
cmp byte [eax + 0x10f91], 0
je 0x42eb7a
sub ecx, 1
je 0x42eb4f
sub ecx, 3
je 0x42eb4f
sub ecx, 3
jne 0x42eb6d
push dword [ebx + 4]
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x44]
push dword [ebx]
mov ecx, esi
push eax
call fcn.004321d8
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x1d8], eax
jmp 0x42eb70
mov esi, dword [ebp - 0x3c]
push ebx
mov ecx, esi
call fcn.004293b1
jmp 0x42eb7d
mov esi, dword [ebp - 0x3c]
mov ecx, dword [0x5a23ec]
push 1
call fcn.004673c5
test eax, eax
je 0x42eba0
mov ecx, dword [esi + 0xcc]
push 0
push str.OnSizing.end
call fcn.00411016
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.004f4166
leave
ret 8