Function at 0x4c6680
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578f80
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x12c9128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x48], ecx
cmp dword [ebp + 8], 0
jne 0x4c66cb
push 0x23a
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccdlg.cpp
call fcn.0046dbb0
test eax, eax
je 0x4c66cb
int3
mov ecx, dword [ebp + 8]
call fcn.004325f0
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00424730
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], 0x100
jb 0x4c6714
cmp dword [ebp - 0x20], 0x109
jbe 0x4c672e
cmp dword [ebp - 0x20], 0x200
jb 0x4c6829
cmp dword [ebp - 0x20], 0x209
ja 0x4c6829
cmp dword [ebp - 0x1c], 0
je 0x4c6829
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
je 0x4c6767
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x50], 0
jne 0x4c6767
mov ecx, dword [ebp - 0x40]
call fcn.00433d10
cmp eax, dword [ebp + 8]
je 0x4c6767
mov ecx, dword [ebp - 0x40]
call fcn.00433d10
mov dword [ebp - 0x40], eax
jmp 0x4c673e
cmp dword [ebp - 0x40], 0
je 0x4c67ae
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x50], 0
je 0x4c67ae
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x50]
cmp dword [edx + 0x58], 0
je 0x4c67ae
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x50]
mov eax, dword [edx + 0x58]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x50]
mov eax, dword [edx + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
call edx
test eax, eax
jne 0x4c67ae
mov eax, 1
jmp 0x4c6ce7
cmp dword [ebp - 0x20], 0x101
je 0x4c67c9
cmp dword [ebp - 0x20], 0x100
je 0x4c67c9
cmp dword [ebp - 0x20], 0x102
jne 0x4c6829
cmp dword [ebp - 0x40], 0
je 0x4c6829
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x50], 0
je 0x4c6829
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
cmp eax, 0xd
jne 0x4c67fd
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x50]
mov eax, dword [edx + 0x84]
and eax, 1
jne 0x4c6822
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
cmp eax, 0x1b
jne 0x4c6829
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x50]
mov eax, dword [edx + 0x84]
and eax, 2
je 0x4c6829
xor eax, eax
jmp 0x4c6ce7
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call fcn.00424730
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x100
je 0x4c6951
cmp dword [ebp - 0x4c], 0x102
je 0x4c68af
cmp dword [ebp - 0x4c], 0x106
je 0x4c687d
jmp case.0x4c698f.1
cmp dword [ebp - 0x1c], 0
jne 0x4c6897
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jl 0x4c6897
jmp case.0x4c698f.1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
and eax, 0xffff
movzx ecx, ax
cmp ecx, 0x20
jne 0x4c68af
jmp case.0x4c698f.1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.004c5840
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x20], 0x102
jne 0x4c68d8
mov ecx, dword [ebp - 0x18]
and ecx, 0x84
je 0x4c68d8
jmp case.0x4c698f.1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
and eax, 0xffff
movzx ecx, ax
cmp ecx, 9
jne 0x4c68f8
mov edx, dword [ebp - 0x18]
and edx, 2
je 0x4c68f8
jmp case.0x4c698f.1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
cmp edx, 0x20
jne 0x4c6913
xor eax, eax
jmp 0x4c6ce7
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004c5fd0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4c694c
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 0
je 0x4c694c
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 4]
call fcn.004b8850
mov dword [ebp - 0x2c], 1
jmp case.0x4c698f.1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004c5840
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
sub edx, 3
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 0x28
ja case.0x4c698f.1
mov eax, dword [ebp - 0x50]
movzx ecx, byte [eax + 0x4c6d14]
jmp dword [ecx*4 + 0x4c6cfc]
mov edx, dword [ebp - 0x18]
and edx, 2
je 0x4c69a3
jmp case.0x4c698f.1
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
xor ecx, ecx
test eax, eax
setl cl
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
push 0
mov ecx, dword [ebp + 8]
call fcn.0043ab40
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4c6a5a
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 0
je 0x4c69f6
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 4]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 4]
mov eax, dword [edx]
mov edx, dword [eax + 0xb4]
call edx
jmp 0x4c6a53
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
je 0x4c6a0e
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
push edx
call fcn.00424730
mov dword [ebp - 0x54], eax
jmp 0x4c6a21
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004339d0
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x4c6a53
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x4c]
mov dword [ecx + 0x70], 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.004c5890
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004c6240
add esp, 8
mov dword [ebp - 0x2c], 1
jmp case.0x4c698f.1
mov dword [ebp - 0x38], 1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004c5840
and eax, 1
je 0x4c6a7d
jmp case.0x4c698f.1
cmp dword [ebp - 0x38], 0
je 0x4c6a92
push 0
mov ecx, dword [ebp + 8]
call fcn.0043ae70
mov dword [ebp - 0x34], eax
jmp 0x4c6a9f
push 0
mov ecx, dword [ebp + 8]
call fcn.0043b250
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4c6b58
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 8], 0
je 0x4c6abe
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp + 8]
call fcn.0043b440
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 0
je 0x4c6aea
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 4]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 4]
mov eax, dword [edx]
mov edx, dword [eax + 0xb4]
call edx
mov dword [ebp - 0x2c], 1
jmp 0x4c6b58
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
je 0x4c6b02
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
push edx
call fcn.00424730
mov dword [ebp - 0x58], eax
jmp 0x4c6b15
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00433970
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x4c6b58
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x4c]
mov dword [ecx + 0x70], 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.004c5890
mov eax, dword [ebp - 0x34]
cmp dword [eax + 8], 0
je 0x4c6b51
push 0
push 1
push 0xf1
mov ecx, dword [ebp - 0x14]
call fcn.004326a0
mov dword [ebp - 0x2c], 1
jmp case.0x4c698f.1
mov ecx, dword [ebp - 0x18]
and ecx, 4
je 0x4c6b6a
jmp case.0x4c698f.1
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004c6400
add esp, 4
and eax, 0x10
je 0x4c6b8e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
call fcn.0043a380
mov dword [ebp - 0x24], eax
jmp case.0x4c698f.0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c64d0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x14], 0
jne 0x4c6bbb
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004c6320
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4c6bbb
jmp case.0x4c698f.1
cmp dword [ebp - 0x14], 0
jne 0x4c6bd5
push 0x30b
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcoccdlg.cpp
call fcn.0046dbb0
test eax, eax
je 0x4c6bd5
int3
mov ecx, dword [ebp - 0x14]
call fcn.0043a630
test eax, eax
jne 0x4c6beb
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
jmp case.0x4c698f.1
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x50], 0
je case.0x4c698f.1
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 1
push 0xfffffdd9
mov eax, dword [ebp - 0x14]
push eax
call fcn.0043a7a0
add esp, 0x18
jmp 0x4c6c50
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], 1
cmp dword [ebp - 0x2c], 0
jne 0x4c6ca3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
and eax, 0x1000
jne 0x4c6ca3
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4c6ca3
call fcn.00433730
cmp eax, dword [ebp - 0x1c]
je 0x4c6ca3
call fcn.00433730
push eax
call fcn.004c61a0
add esp, 4
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c6ce4
call fcn.00433730
push eax
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004c6240
add esp, 8
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c6ce4
call fcn.00433730
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004c6530
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8