Function at 0x4c3080
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d45b
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
push esi
push edi
mov eax, dword [0x5c5c30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc0], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x200
je 0x4c30ea
cmp dword [ebp - 0x10], 0xa0
je 0x4c30ea
cmp dword [ebp - 0x10], 0x202
je 0x4c30ea
cmp dword [ebp - 0x10], 0x205
je 0x4c30ea
cmp dword [ebp - 0x10], 0x208
jne 0x4c35e9
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jl 0x4c35e9
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jl 0x4c35e9
push 4
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jl 0x4c35e9
call fcn.0045c360
mov dword [ebp - 0x60], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00440bc0
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4c315a
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x3c]
and edx, 0x401
jne 0x4c315a
mov ecx, dword [ebp - 0x5c]
call fcn.00434960
mov dword [ebp - 0x5c], eax
jmp 0x4c3139
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0xc0]
je 0x4c3184
cmp dword [ebp - 0x5c], 0
jne 0x4c317f
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x44], 0xffffffff
jmp 0x4c3738
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0xc0]
call fcn.00444830
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x58], 0
je 0x4c3211
mov ecx, dword [ebp - 0x58]
call fcn.00433270
cmp eax, dword [ebp - 0x24]
je 0x4c3211
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x58]
mov edx, dword [eax + 0x68]
call edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xa4], ecx
cmp dword [ebp - 0xa4], 0
je 0x4c31f6
push 1
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa4]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0xc4], eax
jmp 0x4c3200
mov dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x60]
mov dword [eax + 0x3c], 0
mov dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0
jne 0x4c32f9
push 0x19c
push 0x58bbdc
push 0x70
call fcn.00425f00
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0xb0], 0
je 0x4c3255
mov ecx, dword [ebp - 0xb0]
call fcn.004c2290
mov dword [ebp - 0xc8], eax
jmp 0x4c325f
mov dword [ebp - 0xc8], 0
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x58], edx
push 1
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx + 0x13c]
call eax
test eax, eax
jne 0x4c32df
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xb4], 0
je 0x4c32d0
push 1
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0xcc], eax
jmp 0x4c32da
mov dword [ebp - 0xcc], 0
jmp 0x4c3738
push 0
push 0
push 0x401
mov ecx, dword [ebp - 0x58]
call fcn.004332e0
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x58]
mov dword [ecx + 0x3c], edx
push 0x1a6
push 0x58bc4c
mov eax, dword [ebp - 0x58]
push eax
call fcn.0045d090
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4c3331
push 0x1a7
push 0x58bc84
call fcn.0045b590
test eax, eax
je 0x4c3331
int3
push 0x30
push 0
lea ecx, [ebp - 0x90]
push ecx
call fcn.004db5b0
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [edx + 0x14]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0050fe80
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x30
push 0
lea edx, [ebp - 0x54]
push edx
call fcn.004db5b0
add esp, 0xc
mov dword [ebp - 0x54], 0x28
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x74]
call eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
sub ecx, 0xffffffff
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x44]
cmp eax, dword [ebp - 0x20]
jne 0x4c33d1
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x40]
cmp edx, dword [ebp - 0x1c]
je 0x4c3567
cmp dword [ebp - 0x20], 0xffffffff
je 0x4c34b9
mov ecx, 0xc
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x90]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x8c]
and eax, 0x3fffffff
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x3c]
and edx, 0x400
je 0x4c341c
mov eax, dword [ebp - 0x8c]
or eax, 0x20
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x90]
push ecx
push 0
push 0x432
mov ecx, dword [ebp - 0x58]
call fcn.004332e0
test eax, eax
jne 0x4c344a
push 0x1bd
push 0x58bcbc
call fcn.0045b590
test eax, eax
je 0x4c344a
int3
mov eax, dword [ebp - 0x50]
and eax, 0x40000000
jne 0x4c3463
mov ecx, dword [ebp - 0xc0]
call fcn.004448a0
test eax, eax
je 0x4c34b7
push 0
push 1
push 0x401
mov ecx, dword [ebp - 0x58]
call fcn.004332e0
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x3c]
and edx, 0x400
je 0x4c349b
lea eax, [ebp - 0x90]
push eax
push 1
push 0x411
mov ecx, dword [ebp - 0x58]
call fcn.004332e0
push 0x213
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4c34ca
push 0
push 0
push 0x401
mov ecx, dword [ebp - 0x58]
call fcn.004332e0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.004c2fc0
mov edx, dword [ebp - 0x60]
cmp dword [edx + 0x48], 0
je 0x4c3501
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x48]
cmp dword [ecx], 0x28
jb 0x4c3501
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x48]
push eax
push 0
push 0x433
mov ecx, dword [ebp - 0x58]
call fcn.004332e0
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x40], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x44], ecx
mov edx, dword [ebp - 0x60]
cmp dword [edx + 0x48], 0
jne 0x4c3555
push 0x1db
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_tooltip.cpp
push 0x30
call fcn.00425e80
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xbc]
mov dword [eax + 0x48], ecx
push 0x30
push 0
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x48]
push eax
call fcn.004db5b0
add esp, 0xc
mov ecx, dword [ebp - 0x60]
mov edi, dword [ecx + 0x48]
mov ecx, 0xc
lea esi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
jmp 0x4c35cc
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x3c]
and eax, 0x400
je 0x4c35b9
lea ecx, [ebp - 0x98]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebp - 0x98]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x94]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
push 0
push 0x412
mov ecx, dword [ebp - 0x58]
call fcn.004332e0
jmp 0x4c35cc
cmp dword [ebp - 0x20], 0xffffffff
je 0x4c35cc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.004c2fc0
cmp dword [ebp - 0x30], 0xffffffff
je 0x4c35e4
cmp dword [ebp - 0x34], 0
jne 0x4c35e4
mov edx, dword [ebp - 0x30]
push edx
call fcn.004d2450
add esp, 4
jmp 0x4c3738
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x3c]
and ecx, 0x401
je 0x4c3738
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00440bc0
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x4c3649
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [ebp - 0xc0]
je 0x4c3649
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x3c]
and eax, 0x401
jne 0x4c3649
mov ecx, dword [ebp - 0x9c]
call fcn.00434960
mov dword [ebp - 0x9c], eax
jmp 0x4c360f
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [ebp - 0xc0]
je 0x4c365c
jmp 0x4c3738
cmp dword [ebp - 0x10], 0x100
jb 0x4c366e
cmp dword [ebp - 0x10], 0x109
jbe 0x4c368c
cmp dword [ebp - 0x10], 0x104
jb 0x4c3680
cmp dword [ebp - 0x10], 0x107
jbe 0x4c368c
mov dword [ebp - 0xd0], 0
jmp 0x4c3696
mov dword [ebp - 0xd0], 1
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x3c]
and ecx, 0x400
jne 0x4c3738
cmp dword [ebp - 0xa0], 0
jne 0x4c372c
cmp dword [ebp - 0x10], 0x201
je 0x4c372c
cmp dword [ebp - 0x10], 0x203
je 0x4c372c
cmp dword [ebp - 0x10], 0x204
je 0x4c372c
cmp dword [ebp - 0x10], 0x206
je 0x4c372c
cmp dword [ebp - 0x10], 0x207
je 0x4c372c
cmp dword [ebp - 0x10], 0x209
je 0x4c372c
cmp dword [ebp - 0x10], 0xa1
je 0x4c372c
cmp dword [ebp - 0x10], 0xa3
je 0x4c372c
cmp dword [ebp - 0x10], 0xa4
je 0x4c372c
cmp dword [ebp - 0x10], 0xa6
je 0x4c372c
cmp dword [ebp - 0x10], 0xa7
je 0x4c372c
cmp dword [ebp - 0x10], 0xa9
jne 0x4c3738
mov edx, dword [ebp - 0xa0]
push edx
call fcn.004423b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4