Function at 0x4ce8e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56bbcd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x661850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
push str.Mon_Aug_10_09:17:16_2015
push 0xcca
push str.CMyHero::AutoTargetting
push str.GameProcessMyHero.cpp
lea ecx, [ebp - 0xd]
call fcn.004024e0
mov dword [ebp - 4], 0
mov ecx, 0x7d27e8
call fcn.004481c0
movzx eax, al
test eax, eax
je 0x4ce950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
jmp 0x4ced3c
mov ecx, dword [ebp - 0x48]
movzx edx, byte [ecx + 0x440d]
test edx, edx
jne 0x4ce96c
mov eax, dword [ebp - 0x48]
movzx ecx, byte [eax + 0x440c]
test ecx, ecx
je 0x4ce980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
jmp 0x4ced3c
mov edx, dword [ebp - 0x48]
movzx eax, byte [edx + 0x440c]
test eax, eax
jne 0x4ced2d
mov ecx, dword [ebp - 0x48]
movzx edx, byte [ecx + 0x2f48]
test edx, edx
jne 0x4ced2d
mov eax, dword [ebp - 0x48]
movzx ecx, byte [eax + 0x29c]
test ecx, ecx
jne 0x4ced2d
mov edx, dword [ebp - 0x48]
movzx eax, word [edx + 0x28a]
test eax, eax
jne 0x4ced2d
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x4618]
push edx
mov ecx, 0x6acf18
call fcn.00420900
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x1c], 0
je 0x4cec8f
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x1ac]
test ecx, ecx
jne 0x4cec8a
mov edx, dword [ebp - 0x48]
cmp dword [edx + 0x12d], 0x22
je 0x4cec8a
push str.CActor
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xc]
call eax
movzx ecx, al
test ecx, ecx
jne 0x4cea79
push str.CHero
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 0xc]
call edx
movzx eax, al
test eax, eax
je 0x4cec8a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
shr ecx, 8
and ecx, 0xff
movzx edx, cl
test edx, edx
jne 0x4cea79
movzx eax, byte [0x663c09]
test eax, eax
je 0x4cec8a
mov ecx, dword [ebp - 0x1c]
mov dx, word [ecx + 0x1a0]
mov word [ebp - 0x20], dx
mov eax, dword [ebp - 0x1c]
mov cx, word [eax + 0x1a2]
mov word [ebp - 0x24], cx
movzx edx, word [ebp - 0x20]
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax + 0x1a0]
sub edx, ecx
push edx
call fcn.00547835
add esp, 4
cmp eax, 1
jg 0x4ceb23
movzx edx, word [ebp - 0x24]
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax + 0x1a2]
sub edx, ecx
push edx
call fcn.00547835
add esp, 4
cmp eax, 1
jg 0x4ceb23
mov edx, dword [ebp - 0x48]
movzx eax, word [edx + 0x1a0]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x48]
movzx edx, word [ecx + 0x1a2]
mov dword [ebp - 0x28], edx
movzx eax, word [ebp - 0x24]
push eax
movzx ecx, word [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004cb5d0
mov byte [ebp - 0x2d], al
push 0xffffffffffffffff
lea edx, [ebp - 0x2c]
push edx
push 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
push ecx
movzx edx, byte [ebp - 0x2d]
push edx
push 0xb
mov ecx, dword [ebp - 0x48]
call fcn.004c86d0
jmp 0x4cec8a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 8
and eax, 0xff
movzx ecx, al
test ecx, ecx
jne 0x4ceb58
push str.CActor
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 0xc]
call edx
movzx eax, al
test eax, eax
je 0x4cec8a
movzx ecx, word [ebp - 0x24]
push ecx
movzx edx, word [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.004cb5d0
mov byte [ebp - 0x2e], al
lea eax, [ebp - 0x18]
push eax
push 1
movzx ecx, byte [ebp - 0x2e]
push ecx
mov edx, dword [ebp - 0x48]
movzx eax, word [edx + 0x1a2]
push eax
mov ecx, dword [ebp - 0x48]
movzx edx, word [ecx + 0x1a0]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x4428]
call fcn.004bcab0
movzx ecx, al
test ecx, ecx
je 0x4cec36
movzx edx, byte [0x7d519d]
cmp edx, 1
jne 0x4cec1b
movzx eax, word [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
movzx edx, word [ecx + 0x1a0]
sub eax, edx
push eax
call fcn.00547835
add esp, 4
cmp eax, 3
jge 0x4cebef
movzx eax, word [ebp - 0x24]
mov ecx, dword [ebp - 0x48]
movzx edx, word [ecx + 0x1a2]
sub eax, edx
push eax
call fcn.00547835
add esp, 4
cmp eax, 3
jl 0x4cec1b
mov eax, dword [ebp - 0x1c]
movsx ecx, word [eax + 0x1b6]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x1c]
movsx eax, word [edx + 0x1b8]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.004cc990
jmp 0x4cec34
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
push 0
push 0xffffffffffffffff
movzx ecx, byte [ebp - 0x2e]
push ecx
push 0x15
mov ecx, dword [ebp - 0x48]
call fcn.004c86d0
jmp 0x4cec8a
mov byte [ebp - 0x39], 0
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x39]
push eax
movzx ecx, byte [ebp - 0x2e]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004cc400
movzx edx, al
test edx, edx
je 0x4cec7d
movzx eax, byte [0x7d519d]
cmp eax, 1
jne 0x4cec7d
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0
movzx edx, byte [ebp - 0x39]
push edx
push 0x16
mov ecx, dword [ebp - 0x48]
call fcn.004c86d0
jmp 0x4cec8a
movzx eax, byte [ebp - 0x2e]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004cc6d0
jmp 0x4ced2d
lea ecx, [ebp - 0x18]
push ecx
push 1
mov edx, dword [ebp - 0x48]
movzx eax, byte [edx + 0x191]
push eax
mov ecx, dword [ebp - 0x48]
movzx edx, word [ecx + 0x1a2]
push edx
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax + 0x1a0]
push ecx
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx + 0x4428]
call fcn.004bcab0
movzx eax, al
test eax, eax
jne 0x4ced20
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + 0x12d], 7
jne 0x4ced20
movzx edx, word [0x7a81c0]
mov dword [ebp - 0x18], edx
movzx eax, word [0x7a81c2]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x48]
movzx edx, byte [ecx + 0x29c]
push edx
push 0
mov eax, dword [ebp - 0x48]
movzx ecx, byte [eax + 0x191]
push ecx
push 0xb
mov ecx, dword [ebp - 0x48]
call fcn.004c86d0
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x4618], 0
jmp 0x4ced2d
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x4618], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret