Function at 0x46911b
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x74
mov eax, 0x5a5892
call fcn.0057bb49
mov ebx, ecx
mov dword [ebp - 0x38], ebx
mov eax, dword [ebx]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov esi, dword [eax + 0x390]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
mov ecx, dword [0x618a2c]
mov edi, eax
or esi, 0xffffffff
mov dword [ebp - 0x4c], edi
cmp ecx, ebx
je 0x46917d
cmp dword [0x618a44], 0
je 0x469186
mov dword [0x618a2c], ebx
test ecx, ecx
je 0x46917d
mov eax, dword [ecx + 0xbf4]
push eax
mov dword [ecx + 0xbf4], esi
call fcn.00466600
cmp dword [0x618a44], 0
jne 0x4691bc
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0043504b
push eax
push 0x5c2d2c
call fcn.0044929c
pop ecx
pop ecx
test eax, eax
je 0x4691bc
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0043504b
mov ecx, eax
call fcn.0043da46
test edi, edi
jns 0x469250
mov dword [ebx + 0xbec], esi
cmp dword [0x618a44], 0
je 0x469212
cmp dword [ebx + 0xb78], 0
jne 0x469212
mov eax, dword [ebx + 0xbf4]
mov dword [ebx + 0xbf4], esi
cmp eax, esi
je 0x4691fd
push eax
mov ecx, ebx
call fcn.00466600
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebx]
push esi
mov esi, dword [eax + 0x3b0]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
mov eax, dword [ebx]
mov esi, dword [eax + 0x1cc]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
test eax, eax
je 0x46923b
call fcn.0044b0d5
push dword [eax + 0xfc]
call dword [sym.imp.USER32.dll_SetCursor]
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004c6cce
jmp 0x469a8a
push edi
mov ecx, ebx
call fcn.00465c2a
mov dword [ebp - 0x34], eax
test eax, eax
je 0x469a8a
mov ecx, dword [ebx]
push edi
mov esi, dword [ecx + 0x25c]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
and dword [0x618a48], 0
cmp dword [0x618a50], 0
je 0x4692d5
mov eax, dword [ebx]
mov esi, dword [eax + 0x420]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
test eax, eax
je 0x4692d5
cmp dword [0x618a44], 0
jne 0x4692eb
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x4692d5
mov dword [0x618a48], 1
or dword [ebx + 0xbf0], 0xffffffff
mov dword [ebx + 0xbf4], edi
mov dword [0x618a2c], ebx
cmp dword [0x618a44], 0
jne 0x4692eb
cmp dword [0x618a48], 0
je 0x4698f8
xor ecx, ecx
cmp dword [ebx + 0xb78], ecx
jne 0x4698f8
cmp dword [ebx + 0xbb8], ecx
jne 0x4698f8
mov eax, dword [ebx + 0xbf4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov esi, dword [eax + 0x36c]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x30]
push ecx
push edi
mov ecx, esi
mov dword [ebx + 0xbf4], edi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xffffffff
je 0x469409
test ecx, ecx
js 0x469409
cmp ecx, dword [ebx + 0xc48]
jge 0x469409
xor eax, eax
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
push edx
push ecx
mov esi, dword [eax + 0x370]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x44]
mov ecx, ebx
push eax
call fcn.00465c2a
mov esi, eax
test esi, esi
je 0x4693a1
cmp esi, dword [ebx + 0xd14]
jne 0x4693a1
add dword [ebp - 0x18], 0xa
add dword [ebp - 0x14], 0xa
push 1
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
test esi, esi
je 0x469409
mov eax, dword [ebx + 0xd14]
cmp esi, eax
jne 0x469409
xor esi, esi
lea ecx, [ebp - 0x40]
push esi
push esi
push ecx
mov ecx, eax
call fcn.00465ec3
mov ecx, eax
call fcn.0044b3b6
test eax, eax
je 0x469409
mov ecx, dword [ebx + 0xd14]
lea eax, [ebp - 0x40]
push eax
call fcn.00465ec3
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push esi
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
push dword [ebx + 0xbf4]
mov ecx, ebx
call fcn.00465c2a
mov ecx, eax
mov dword [ebp - 0x48], ecx
mov dword [ebx + 0xd0c], ecx
test ecx, ecx
je 0x469a92
mov eax, dword [ebp + 8]
and eax, 8
mov dword [ebx + 0xba0], eax
mov eax, dword [ecx]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, dword [ebp - 0x48]
call esi
test eax, eax
jne 0x46952b
or dword [ebx + 0xbf4], 0xffffffff
mov edi, dword [ebp - 0x44]
mov dword [ebx + 0xd0c], eax
cmp edi, 0xffffffff
je 0x469a8a
test edi, edi
js 0x469a8a
cmp edi, dword [ebx + 0xc48]
jge 0x469a8a
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
push ecx
push edi
mov esi, dword [eax + 0x370]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
push edi
mov ecx, ebx
call fcn.00465c2a
mov esi, eax
test esi, esi
je 0x4694bf
cmp esi, dword [ebx + 0xd14]
jne 0x4694bf
add dword [ebp - 0x18], 0xa
add dword [ebp - 0x14], 0xa
push 1
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
test esi, esi
je 0x469a8a
mov edi, dword [ebx + 0xd14]
cmp esi, edi
jne 0x469a8a
xor esi, esi
lea eax, [ebp - 0x40]
push esi
push esi
push eax
mov ecx, edi
call fcn.00465ec3
mov ecx, eax
call fcn.0044b3b6
test eax, eax
je 0x469a8a
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00465ec3
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push esi
lea eax, [ebp - 0x20]
push eax
jmp 0x469a81
push edi
mov ecx, ebx
call fcn.00466600
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edi, dword [ebx + 0xd0c]
mov eax, dword [edi]
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, edi
call esi
test eax, eax
je 0x4695ea
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x28]
push eax
call fcn.00588c76
pop ecx
cmp eax, 6
jg 0x4695ea
cmp dword [0x618a48], 0
jne 0x4695ea
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0xba4], 1
add eax, 0xcdc
mov ebx, dword [ebx + 0xd0c]
mov edi, eax
mov dword [ebp - 0x48], eax
lea esi, [ebx + 0x54]
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 eax, dword [ebx]
mov esi, dword [eax + 0x38]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
test eax, eax
je 0x4695bc
push 2
push 2
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_InflateRect]
mov ebx, dword [ebp - 0x38]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0043504b
mov dword [ebx + 0xd04], eax
call fcn.0044b0d5
push dword [eax + 0xf0]
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x469a5a
mov edi, dword [ebx + 0xd0c]
mov eax, dword [edi]
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, edi
call esi
test eax, eax
je 0x4698ec
mov edi, dword [ebx + 0xd0c]
mov eax, dword [edi]
mov esi, dword [eax + 0x74]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, edi
call esi
test eax, eax
je 0x4698ec
lea ecx, [ebp - 0x80]
call fcn.00481935
mov edi, dword [ebx + 0xd0c]
lea ecx, [ebp - 0x80]
and dword [ebp - 4], 0
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, edi
call esi
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x34]
mov esi, dword [eax + 0x418]
push dword [ecx + 0x20]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
and dword [0x618b08], 0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebx + 0x20]
mov dword [ebx + 0xcf4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xcf8], eax
cmp dword [0x618a48], 0
je 0x469698
mov dword [0x618a44], 1
push 0x618ac0
lea eax, [ebp - 0x30]
push eax
push 3
lea ecx, [ebp - 0x80]
call fcn.004c262d
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4696dc
cmp dword [0x618a48], eax
je 0x4696cf
mov dword [0x618a44], eax
mov dword [0x618a48], eax
mov dword [0x618a2c], eax
lea ecx, [ebp - 0x80]
call fcn.004819a0
jmp 0x469a8a
and dword [ebp - 0x40], 0
lea eax, [ebp - 0x40]
and dword [ebp - 0x3c], 0
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x40]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [0x618b08], 0
je 0x4698a8
push dword [ebp - 0x3c]
lea eax, [ebp - 0x30]
push dword [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4698a8
cmp esi, 1
je 0x46988d
mov ecx, dword [ebx + 0xd0c]
test ecx, ecx
je 0x46988d
cmp dword [0x618b04], eax
jne 0x46988d
mov eax, dword [ebx]
push esi
push ecx
mov esi, dword [eax + 0x37c]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
test eax, eax
je 0x46988d
push dword [ebx + 0xd0c]
mov esi, dword [ebx]
mov ecx, ebx
call fcn.00463c41
mov ecx, dword [esi + 0x34c]
push eax
call dword [0x5b2a2c]
mov ecx, ebx
call dword [esi + 0x34c]
mov eax, dword [ebx]
mov esi, dword [eax + 0x3e4]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
mov edi, 0x505
push edi
push 0
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [ebx]
push 1
mov esi, dword [eax + 0x2d4]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0043504b
test eax, eax
je 0x4697f8
cmp dword [eax + 0x20], 0
je 0x4697f8
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0043504b
push edi
push 0
push 0
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [0x618a48], 0
jne 0x469823
mov eax, dword [ebx]
mov esi, dword [eax + 0x20c]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
push edi
push 0
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0043504b
push 0x5c5688
mov ecx, eax
call fcn.00449336
test eax, eax
je 0x4698c6
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0043504b
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0043504b
push eax
push 0x610540
call fcn.0044929c
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4698c6
mov ecx, dword [edi]
mov esi, dword [ecx + 0x210]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, edi
call esi
jmp 0x4698c6
mov eax, dword [ebx + 0xd0c]
test eax, eax
je 0x4698c6
push 1
add eax, 0x54
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4698c6
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x4c]
mov dword [ebx + 0xbf0], ecx
push ecx
mov esi, dword [eax + 0x3b0]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
and dword [ebx + 0xd0c], 0
lea ecx, [ebp - 0x80]
or dword [ebx + 0xcf4], 0xffffffff
or dword [ebx + 0xcf8], 0xffffffff
or dword [ebp - 4], 0xffffffff
call fcn.004819a0
jmp 0x469a5a
and dword [ebx + 0xd0c], 0
jmp 0x469a5a
push edi
mov ecx, ebx
mov dword [ebx + 0xbec], edi
call fcn.0046e8b0
mov esi, dword [ebp - 0x34]
test dword [esi + 0x24], 0x40000
je 0x46992e
push 0x6108f0
mov ecx, esi
call fcn.00449336
test eax, eax
jne 0x46992e
or dword [ebx + 0xbec], 0xffffffff
jmp 0x469a8a
or dword [esi + 0x24], 0x20000
mov ecx, ebx
push edi
call fcn.00466600
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebx]
push dword [esi + 0x20]
mov esi, dword [eax + 0x418]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
mov esi, dword [eax + 0x70]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, dword [ebp - 0x34]
call esi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
push 0
push ebx
mov ecx, dword [eax]
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, dword [ebp - 0x34]
call esi
test eax, eax
je 0x469a45
mov esi, dword [ebp - 0x34]
lea ecx, [ebx + 0xc3c]
and dword [ebp - 0x38], 0
push 0
push esi
call fcn.004545e6
test eax, eax
je 0x4699b7
and dword [esi + 0x24], 0xfffdffff
jmp 0x4699be
mov dword [ebp - 0x38], 1
mov eax, dword [ebx]
or dword [ebx + 0xbec], 0xffffffff
or dword [ebx + 0xbf0], 0xffffffff
push 0xffffffffffffffff
mov esi, dword [eax + 0x3b0]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
push edi
mov ecx, ebx
call fcn.00466600
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp - 0x38], 0
jne 0x469a5a
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov esi, dword [eax + 0x70]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, dword [ebp - 0x34]
call esi
cmp dword [ebp - 0x4c], eax
je 0x469a5a
push edi
mov ecx, ebx
call fcn.00462ecd
mov esi, eax
test esi, esi
jle 0x469a5a
push esi
push 0xfffffffffffffffc
push dword [ebx + 0x20]
push 0x800a
call dword [sym.imp.USER32.dll_NotifyWinEvent]
push esi
push 0xfffffffffffffffc
push dword [ebx + 0x20]
push 0x8005
call dword [sym.imp.USER32.dll_NotifyWinEvent]
jmp 0x469a5a
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0043504b
mov dword [ebx + 0xd04], eax
cmp dword [0x618a48], 0
je 0x469a8a
and dword [0x618a48], 0
and dword [0x618a2c], 0
push 0
call fcn.0046d0f2
push 0x505
push 0
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
call fcn.0057baf3
ret 0xc
call fcn.0043aeef
int3