Function at 0x4cbb90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ba47
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x661850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
push str.Mon_Aug_10_09:17:16_2015
push 0x85d
push str.CMyHero::OnLButtonDown
push str.GameProcessMyHero.cpp
lea ecx, [ebp - 0x2d]
call fcn.004024e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x2e], 0xff
mov eax, dword [ebp - 0x5c]
movzx ecx, byte [eax + 0x1ac]
test ecx, ecx
je 0x4cbc28
mov byte [ebp - 0x41], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d]
call fcn.00402620
mov al, byte [ebp - 0x41]
jmp 0x4cc3e3
movzx edx, byte [0x7ada54]
test edx, edx
jne 0x4cbc4e
mov byte [ebp - 0x42], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d]
call fcn.00402620
mov al, byte [ebp - 0x42]
jmp 0x4cc3e3
mov eax, dword [ebp - 0x5c]
movzx ecx, word [eax + 0x28a]
test ecx, ecx
je 0x4cbc77
mov byte [ebp - 0x43], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d]
call fcn.00402620
mov al, byte [ebp - 0x43]
jmp 0x4cc3e3
call fcn.0040ada0
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 0x4410]
add ecx, 0x1f4
cmp eax, ecx
jbe 0x4cbc9e
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x4410], 0
jmp 0x4cbcb9
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d]
call fcn.00402620
mov al, byte [ebp - 0x44]
jmp 0x4cc3e3
mov ecx, dword [ebp - 0x5c]
call fcn.004c6970
movzx eax, al
test eax, eax
je 0x4cbce3
mov byte [ebp - 0x45], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d]
call fcn.00402620
mov al, byte [ebp - 0x45]
jmp 0x4cc3e3
mov ecx, dword [ebp - 0x5c]
movzx edx, byte [ecx + 0x300d]
test edx, edx
je 0x4cbd0c
mov byte [ebp - 0x46], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d]
call fcn.00402620
mov al, byte [ebp - 0x46]
jmp 0x4cc3e3
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
mov ecx, 0x69ec08
call fcn.004edfb0
cmp esi, eax
je 0x4cbd38
mov ecx, 0x7c0e48
call fcn.0043b450
mov esi, eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp esi, eax
jne 0x4cbd4d
mov ecx, 0x69ec08
call fcn.004edfb0
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4cbd68
mov byte [ebp - 0x47], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d]
call fcn.00402620
mov al, byte [ebp - 0x47]
jmp 0x4cc3e3
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movzx eax, word [0x6658d8]
mov dword [ebp - 0x18], eax
movzx ecx, word [0x6658dc]
sub ecx, 0x78
mov dword [ebp - 0x14], ecx
mov edx, dword [0x6658cc]
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 0
je 0x4cbda7
jmp 0x4cbdb4
movzx eax, word [0x6658dc]
sub eax, 0x38
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4cbdd9
mov ecx, 0x69ec08
call fcn.004edfb0
cmp dword [ebp - 0x24], eax
je 0x4cbdf4
mov byte [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d]
call fcn.00402620
mov al, byte [ebp - 0x48]
jmp 0x4cc3e3
movzx ecx, byte [0x7d62b1]
test ecx, ecx
je 0x4cbe06
mov byte [0x7d62b2], 0
cmp dword [0x7bc21c], 0
jne 0x4cbe42
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
shr edx, 8
and edx, 0xff
movzx eax, dl
test eax, eax
je 0x4cbe42
mov ecx, dword [ebp - 0x5c]
movzx edx, byte [ecx + 0x4493]
test edx, edx
jne 0x4cbe42
mov dword [0x7ac63c], 0
mov ecx, 0x7d27e8
call fcn.004412d0
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 8
and eax, 0xff
movzx ecx, al
test ecx, ecx
je 0x4cbe83
mov byte [0x7d8067], 0
mov byte [0x7d8068], 0
mov byte [0x7d8069], 0
mov ecx, 0x7d27e8
call fcn.004483e0
mov edx, dword [ebp - 0x5c]
movzx eax, byte [edx + 0x440d]
test eax, eax
jne 0x4cc3cd
mov ecx, dword [ebp - 0x5c]
movzx edx, byte [ecx + 0x440c]
test edx, edx
jne 0x4cc3cd
mov ecx, dword [ebp - 0x5c]
add ecx, 0x1720
call fcn.0044a3f0
mov word [ebp - 0x40], ax
movsx eax, word [ebp - 0x40]
test eax, eax
jle 0x4cbee9
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x2c]
call eax
mov byte [ebp - 0x49], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d]
call fcn.00402620
mov al, byte [ebp - 0x49]
jmp 0x4cc3e3
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.004cb7a0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x5c]
call fcn.004cb5d0
mov byte [ebp - 0x2e], al
mov edx, dword [ebp - 0x5c]
movzx eax, word [edx + 0x1a0]
cmp eax, dword [ebp - 0x38]
jne 0x4cbf54
mov ecx, dword [ebp - 0x5c]
movzx edx, word [ecx + 0x1a2]
cmp edx, dword [ebp - 0x34]
jne 0x4cbf54
mov byte [ebp - 0x55], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d]
call fcn.00402620
mov al, byte [ebp - 0x55]
jmp 0x4cc3e3
mov dword [ebp - 0x3c], 0
cmp dword [ebp + 0x18], 0
je 0x4cbfc3
mov eax, dword [ebp - 0x5c]
movzx ecx, word [eax + 0x1a0]
mov edx, dword [ebp + 0x18]
sub ecx, dword [edx]
mov eax, dword [ebp - 0x5c]
movzx edx, word [eax + 0x1a0]
mov eax, dword [ebp + 0x18]
sub edx, dword [eax]
imul ecx, edx
mov edx, dword [ebp - 0x5c]
movzx eax, word [edx + 0x1a2]
mov edx, dword [ebp + 0x18]
sub eax, dword [edx + 4]
mov edx, dword [ebp - 0x5c]
movzx edx, word [edx + 0x1a2]
mov esi, dword [ebp + 0x18]
sub edx, dword [esi + 4]
imul eax, edx
add ecx, eax
mov dword [ebp - 0x64], ecx
fild dword [ebp - 0x64]
push ecx
fstp dword [esp]
call fcn.004b2660
add esp, 4
call fcn.005480d0
mov dword [ebp - 0x3c], eax
jmp 0x4cc019
mov eax, dword [ebp - 0x5c]
movzx ecx, word [eax + 0x1a0]
sub ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x5c]
movzx eax, word [edx + 0x1a0]
sub eax, dword [ebp - 0x38]
imul ecx, eax
mov edx, dword [ebp - 0x5c]
movzx eax, word [edx + 0x1a2]
sub eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x5c]
movzx edx, word [edx + 0x1a2]
sub edx, dword [ebp - 0x34]
imul eax, edx
add ecx, eax
mov dword [ebp - 0x68], ecx
fild dword [ebp - 0x68]
push ecx
fstp dword [esp]
call fcn.004b2660
add esp, 4
call fcn.005480d0
mov dword [ebp - 0x3c], eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 8
and eax, 0xff
movzx ecx, al
test ecx, ecx
je 0x4cc068
cmp dword [ebp + 0x10], 0xffffffff
jne 0x4cc068
mov edx, dword [ebp - 0x5c]
movzx eax, byte [edx + 0x2f48]
test eax, eax
jne 0x4cc068
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push ecx
movzx edx, byte [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
movzx ecx, byte [ebp - 0x2e]
push ecx
push 0xb
mov ecx, dword [ebp - 0x5c]
call fcn.004c86d0
jmp 0x4cc3cd
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
shr edx, 8
and edx, 0xff
movzx eax, dl
test eax, eax
je 0x4cc0a6
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push ecx
movzx edx, byte [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
movzx ecx, byte [ebp - 0x2e]
push ecx
push 8
mov ecx, dword [ebp - 0x5c]
call fcn.004c86d0
jmp 0x4cc3cd
mov edx, dword [ebp - 0x5c]
cmp dword [edx + 0x12d], 0x22
jne 0x4cc0e9
cmp dword [ebp + 0x10], 0xffffffff
je 0x4cc0e9
mov eax, dword [ebp - 0x5c]
movzx ecx, byte [eax + 0x2f48]
test ecx, ecx
jne 0x4cc0e9
push 0xffffffffffffffff
mov edx, dword [ebp + 0x18]
push edx
movzx eax, byte [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
movzx edx, byte [ebp - 0x2e]
push edx
push 0xb
mov ecx, dword [ebp - 0x5c]
call fcn.004c86d0
jmp 0x4cc3cd
lea eax, [ebp - 0x2c]
push eax
push 1
movzx ecx, byte [ebp - 0x2e]
push ecx
mov edx, dword [ebp - 0x5c]
movzx eax, word [edx + 0x1a2]
push eax
mov ecx, dword [ebp - 0x5c]
movzx edx, word [ecx + 0x1a0]
push edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x4428]
call fcn.004bcab0
movzx ecx, al
test ecx, ecx
jne 0x4cc178
mov edx, dword [ebp - 0x5c]
cmp dword [edx + 0x12d], 7
jne 0x4cc178
cmp dword [ebp + 0x10], 0xffffffff
jne 0x4cc178
mov eax, dword [ebp - 0x5c]
movzx ecx, byte [eax + 0x2f48]
test ecx, ecx
jne 0x4cc178
mov edx, dword [ebp - 0x5c]
movzx eax, word [edx + 0x1a0]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x5c]
movzx edx, word [ecx + 0x1a2]
mov dword [ebp - 0x28], edx
push 0xffffffffffffffff
push 0
movzx eax, byte [ebp + 0x14]
push eax
push 0
movzx ecx, byte [ebp - 0x2e]
push ecx
push 0xb
mov ecx, dword [ebp - 0x5c]
call fcn.004c86d0
jmp 0x4cc3cd
cmp dword [ebp + 0x10], 0xffffffff
je 0x4cc236
cmp dword [ebp + 0x18], 0
je 0x4cc236
cmp dword [ebp - 0x3c], 1
jne 0x4cc236
mov edx, dword [ebp - 0x5c]
movzx eax, byte [edx + 0x2f48]
test eax, eax
jne 0x4cc236
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
jne 0x4cc236
mov edx, dword [0x7bc21c]
movzx eax, byte [edx + 0x12c]
cmp eax, 0xc
jne 0x4cc1e1
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
shr ecx, 8
and ecx, 0xff
movzx edx, cl
test edx, edx
je 0x4cc231
mov eax, dword [ebp - 0x5c]
movzx ecx, word [eax + 0x1a0]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x5c]
movzx eax, word [edx + 0x1a2]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x5c]
call fcn.004cb5d0
mov byte [ebp - 0x2e], al
push 0xffffffffffffffff
lea edx, [ebp - 0x2c]
push edx
movzx eax, byte [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
movzx edx, byte [ebp - 0x2e]
push edx
push 0xb
mov ecx, dword [ebp - 0x5c]
call fcn.004c86d0
jmp 0x4cc3cd
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x4428], 0
je 0x4cc374
lea ecx, [ebp - 0x2c]
push ecx
push 1
movzx edx, byte [ebp - 0x2e]
push edx
mov eax, dword [ebp - 0x5c]
movzx ecx, word [eax + 0x1a2]
push ecx
mov edx, dword [ebp - 0x5c]
movzx eax, word [edx + 0x1a0]
push eax
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx + 0x4428]
call fcn.004bcab0
movzx edx, al
test edx, edx
je 0x4cc374
cmp dword [ebp - 0x3c], 0
jle 0x4cc334
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x290]
and ecx, 0x4000000
je 0x4cc2e6
movzx edx, byte [0x7d62aa]
test edx, edx
jne 0x4cc2e6
mov eax, dword [ebp - 0x5c]
movzx ecx, byte [eax + 0x2f48]
test ecx, ecx
jne 0x4cc2cd
push 0xffffffffffffffff
push 0
push 0
push 0
movzx edx, byte [ebp - 0x2e]
push edx
push 0
mov ecx, dword [ebp - 0x5c]
call fcn.004c86d0
jmp 0x4cc2e4
push 0xffffffffffffffff
push 0
push 0
push 0
movzx eax, byte [ebp - 0x2e]
push eax
push 0x1d
mov ecx, dword [ebp - 0x5c]
call fcn.004c86d0
jmp 0x4cc332
mov ecx, dword [ebp - 0x5c]
movzx edx, byte [ecx + 0x2f48]
test edx, edx
jne 0x4cc314
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
push eax
movzx ecx, byte [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
movzx eax, byte [ebp - 0x2e]
push eax
push 0x15
mov ecx, dword [ebp - 0x5c]
call fcn.004c86d0
jmp 0x4cc332
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push ecx
movzx edx, byte [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
movzx ecx, byte [ebp - 0x2e]
push ecx
push 0x1e
mov ecx, dword [ebp - 0x5c]
call fcn.004c86d0
jmp 0x4cc372
mov edx, dword [ebp - 0x5c]
movzx eax, byte [edx + 0x2f48]
test eax, eax
jne 0x4cc35b
push 0xffffffffffffffff
push 0
push 0
push 0
movzx ecx, byte [ebp - 0x2e]
push ecx
push 0
mov ecx, dword [ebp - 0x5c]
call fcn.004c86d0
jmp 0x4cc372
push 0xffffffffffffffff
push 0
push 0
push 0
movzx edx, byte [ebp - 0x2e]
push edx
push 0x1d
mov ecx, dword [ebp - 0x5c]
call fcn.004c86d0
jmp 0x4cc3cd
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x4428], 0
je 0x4cc38f
movzx ecx, byte [ebp - 0x2e]
push ecx
mov ecx, dword [ebp - 0x5c]
call fcn.004cc6d0
jmp 0x4cc3cd
mov edx, dword [ebp - 0x5c]
movzx eax, byte [edx + 0x2f48]
test eax, eax
jne 0x4cc3b6
push 0xffffffffffffffff
push 0
push 0
push 0
movzx ecx, byte [ebp - 0x2e]
push ecx
push 0
mov ecx, dword [ebp - 0x5c]
call fcn.004c86d0
jmp 0x4cc3cd
push 0xffffffffffffffff
push 0
push 0
push 0
movzx edx, byte [ebp - 0x2e]
push edx
push 0x1d
mov ecx, dword [ebp - 0x5c]
call fcn.004c86d0
mov byte [ebp - 0x56], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d]
call fcn.00402620
mov al, byte [ebp - 0x56]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054514c
mov esp, ebp
pop ebp
ret 0x14