Function at 0x41e270
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 0x54], eax
mov esi, edx
cmp edi, 0x201
je 0x41e2a0
cmp edi, 0x204
jne 0x41e2a7
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ebx, dword [ebp + 0x10]
mov eax, edi
mov byte [ebp - 0x2d], 0
sub eax, 0x201
je 0x41e4ca
sub eax, 1
je 0x41e324
sub eax, 2
jne 0x41e330
mov eax, dword [esi + 0x20]
test al, 2
je 0x41e330
test al, 0x10
je 0x41e314
mov ecx, dword [esi + 0xc8]
mov eax, dword [esi + 0x68]
mov dword [esi + 0x64], ecx
cmp ecx, eax
jge 0x41e2e5
mov dword [esi + 0x64], eax
jmp 0x41e2e7
mov eax, ecx
inc eax
mov dword [ebp - 0x8c], 1
mov dword [esi + 0x6c], eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x8c]
push eax
push 0
push 0x120c
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41e32a
mov dword [esi + 0x64], 0
mov dword [esi + 0x6c], 0
jmp 0x41e32a
test byte [esi + 0x20], 2
je 0x41e33a
call dword [sym.imp.USER32.dll_ReleaseCapture]
test byte [esi + 0x20], 2
jne 0x41e8b0
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x1c]
mov ecx, esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
call fcn.00420e10
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0xc]
and eax, 8
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
and eax, 4
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
and eax, 0x20
mov dword [ebp - 0x38], eax
je 0x41e39b
cmp edi, 0x201
jne 0x41e39b
mov eax, dword [ebx]
mov edx, ebx
shr eax, 2
mov ecx, esi
not al
and al, 1
movzx eax, al
push eax
call fcn.004209c0
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x40], edx
test eax, eax
jne 0x41e7c6
cmp edi, 0x201
je 0x41e3bd
cmp edi, 0x204
jne 0x41e7c6
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41e3f5
push 0
push 0
push 0x41c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x40]
mov dword [esi + 0xf4], 0xffffffff
mov dword [esi + 0xf8], 0xffffffff
mov dword [esi + 0x118], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, eax
and ecx, 0x10
mov dword [ebp - 0x58], ecx
je 0x41e49d
mov eax, dword [ebp - 0x34]
xor ebx, ebx
test byte [esi + 0x2c], 1
mov dword [esi + 0x70], eax
je 0x41e473
cmp byte [ebp - 0x2d], bl
jne 0x41e473
test byte [eax], 2
jne 0x41e473
lea ecx, [ebp - 0x100]
push ecx
push ecx
push edx
mov edx, dword [eax + 0x20]
mov ecx, esi
call fcn.00420ac0
test al, al
je 0x41e473
mov eax, dword [ebp - 0x100]
mov ebx, 1
mov ecx, dword [ebp + 0x10]
test al, 4
je 0x41e45a
cmp ecx, dword [ebp - 0xcc]
jl 0x41e45a
xor edx, edx
cmp ecx, dword [ebp - 0xc4]
cmovl ebx, edx
cmp ecx, dword [ebp - 0xa4]
jge 0x41e473
cmp ecx, dword [ebp - 0xac]
jl 0x41e473
and al, 0x18
xor ecx, ecx
cmp al, 0x18
cmove ebx, ecx
mov edx, dword [ebp - 0x34]
xor eax, eax
cmp edi, 0x204
mov ecx, esi
sete al
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x44]
call fcn.00421210
test ebx, ebx
mov ebx, dword [ebp - 0x34]
je 0x41e7c6
mov eax, dword [ebp - 0x10]
xor cl, cl
mov byte [ebp - 0x2f], 0
or edx, 0xffffffff
mov byte [ebp - 0x50], 0
mov byte [ebp - 0x2e], cl
test al, 0xf
jne 0x41e7be
cmp byte [ebp - 0x2d], cl
jne 0x41e7be
test ebx, ebx
je 0x41e52a
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x38], eax
jmp 0x41e531
mov ecx, dword [esi + 0x20]
test cl, 0x20
je 0x41e330
mov edx, dword [esi + 0x64]
lea eax, [edx - 8]
cmp ebx, eax
jl 0x41e330
lea eax, [edx + 8]
cmp ebx, eax
jge 0x41e330
push dword [ebp - 0x54]
or ecx, 2
mov byte [ebp - 0x2d], 1
mov dword [esi + 0x20], ecx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], edx
call dword [sym.imp.USER32.dll_SetCapture]
push 0
push 0x64
push 1
push dword [ebp - 0x54]
call dword [sym.imp.USER32.dll_SetTimer]
push 0x1b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x41e33a
mov dword [ebp - 0x38], 0xffffffff
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x41e540
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
jmp 0x41e547
mov dword [ebp - 0x34], 0xffffffff
mov ebx, dword [ebp + 0x10]
mov eax, ebx
mov edx, dword [esi + 0x19c]
sub eax, edx
mov ecx, dword [esi + 0x1a0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
sub eax, ecx
mov dword [ebp - 0x10], eax
lea eax, [edx + ebx]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x3c]
add eax, ecx
push 2
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push dword [esi]
call dword [sym.imp.USER32.dll_SetCapture]
xor eax, eax
mov dword [ebp - 0x4c], eax
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x41e607
mov eax, dword [ebp - 0x74]
add eax, 0xfffffe00
cmp eax, 5
ja case.0x41e5b3.515
jmp dword [eax*4 + 0x41e8c4]
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
jmp 0x41e60d
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x14]
jl 0x41e5e2
cmp eax, dword [ebp - 0xc]
jge 0x41e5e2
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x10]
jl 0x41e5e2
cmp eax, dword [ebp - 8]
jl 0x41e60d
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
setne dl
jmp 0x41e629
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x41e60d
call dword [sym.imp.USER32.dll_WaitMessage]
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41e627
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi]
je 0x41e590
xor dl, dl
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xffffffff
jne 0x41e635
xor ecx, ecx
jmp 0x41e649
mov eax, dword [esi + 0xd0]
cmp ecx, dword [eax]
jae 0x41e8b0
mov eax, dword [eax + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
cmp eax, 0xffffffff
je 0x41e67a
cmp eax, dword [esi + 0x98]
jae 0x41e8b0
mov ebx, dword [ebp - 0x34]
mov eax, dword [esi + 0x90]
mov eax, dword [eax + ebx*4]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x41e8b0
test dl, dl
je 0x41e693
cmp dword [ebp - 0x58], 0
mov byte [ebp - 0x2f], 1
je 0x41e6ac
test byte [esi + 0x2c], 1
je 0x41e6ac
mov edx, dword [ecx + 0x20]
jmp 0x41e6af
cmp edi, 0x201
jne 0x41e736
cmp dword [ebp - 0x4c], 0x202
je 0x41e74f
or edx, 0xffffffff
cmp dword [ebp - 0x44], 0
jne 0x41e6f3
cmp dword [ebp - 0x48], 0
jne 0x41e6f3
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
lea eax, [ebp - 0x44]
push eax
push 4
push edx
call fcn.00420fd0
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x2c]
push eax
push 1
push dword [ebp - 0x48]
mov ecx, esi
call fcn.00420d50
test al, al
je 0x41e6f3
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x54]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [ebp - 0x2f], 0
je 0x41e705
push dword [ebp - 0x3c]
mov edx, ebx
mov ecx, esi
call fcn.00423be0
mov cl, byte [ebp - 0x2e]
test cl, cl
je 0x41e8b0
mov esi, dword [esi]
call dword [sym.imp.USER32.dll_GetMessagePos]
push eax
push esi
push 0x7b
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d1c6
mov esp, ebp
pop ebp
ret 0x10
cmp edi, 0x204
jne 0x41e6ac
cmp dword [ebp - 0x4c], 0x205
jne 0x41e6ac
cmp dword [ebp - 0x58], 0
je 0x41e76a
mov eax, dword [ebp - 0x50]
mov ecx, 1
test byte [esi + 0x2c], 1
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [esi]
lea edx, [ebp - 0x5c]
call fcn.00424470
cmp dword [ebp - 0x5c], ebx
jne 0x41e7a3
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], eax
jne 0x41e7a3
mov ecx, dword [ebp + 0xc]
xor edx, edx
push ecx
mov ecx, dword [ebp - 0x40]
cmp edi, 0x201
push ecx
push dword [ebp - 0x38]
setne dl
mov ecx, esi
push eax
push ebx
add edx, 0xd
call fcn.0041fd60
cmp edi, 0x204
sete cl
cmp byte [ebp - 0x50], 0
mov byte [ebp - 0x2e], cl
je 0x41e6ac
jmp 0x41e708
mov ebx, dword [ebp + 0x10]
jmp 0x41e6af
or eax, 0xffffffff
cmp edi, 0x201
je 0x41e840
cmp edi, 0x204
je 0x41e840
cmp edi, 0x202
je 0x41e811
cmp edi, 0x205
je 0x41e811
cmp edi, 0x203
jne 0x41e7fb
mov edx, dword [ebp + 0x10]
mov eax, 0xf
jmp 0x41e873
cmp edi, 0x206
jne 0x41e8b0
mov edx, dword [ebp + 0x10]
mov eax, 0x10
jmp 0x41e873
mov ecx, dword [esi + 0x7c]
mov edx, dword [ebp + 0x10]
test ecx, ecx
je 0x41e83c
cmp dword [esi + 0x80], edx
jne 0x41e83c
mov edi, dword [ebp - 0x3c]
cmp dword [esi + 0x84], edi
jne 0x41e83c
xor eax, eax
cmp ecx, 0x201
setne al
add eax, 0xd
xor edi, edi
jmp 0x41e86b
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x41e859
cmp ecx, edi
je 0x41e859
xor eax, eax
cmp ecx, 0x201
setne al
add eax, 0xd
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x3c]
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], ecx
mov dword [esi + 0x7c], edi
cmp eax, 0xffffffff
je 0x41e8b0
cmp dword [ebp - 0x38], 0
jne 0x41e8b0
push dword [esi + 0x8c]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x18]
push 0
push ecx
push eax
push dword [esi]
mov esi, dword [esi + 0x88]
mov ecx, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], ebx
call dword [0x4484cc]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d1c6
mov esp, ebp
pop ebp
ret 0x10