Function at 0x4ad0d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e202
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0x78], 0
je 0x4ad431
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
cdq
and edx, 3
add eax, edx
sar eax, 2
sub eax, 1
mov dword [ebp - 0x20], eax
push 0x5f173c
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0x94]
add ecx, 0x14
push ecx
call fcn.0040adf0
and eax, 0xff
test eax, eax
je 0x4ad18c
push 0x2e
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x4ad18c
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::TrimRight
push 0x2e
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_1
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
sar edx, 1
test edx, edx
jne 0x4ad1b8
push 0xa1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
sar eax, 1
test eax, eax
je 0x4ad2f4
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x78], 0
je 0x4ad1df
mov ecx, dword [ebp - 0x78]
call fcn.004720b0
mov dword [ebp - 0x88], eax
jmp 0x4ad1e9
mov dword [ebp - 0x88], 0
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x74]
push edx
lea ecx, [ebp - 0x58]
call fcn.004b0050
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push eax
push 0x5f1740
lea ecx, [ebp - 0x7c]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x90]
call fcn.00403d90
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
add esp, 4
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.0058df86
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.004b00d0
mov ecx, eax
call fcn.004721b3
lea ecx, [ebp - 0x6c]
call fcn.004b0110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.004910b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x58]
call fcn.004b00d0
mov ecx, eax
call fcn.00472af6
test eax, eax
je 0x4ad2be
lea ecx, [ebp - 0x50]
call fcn.004912d3
push eax
call dword [sym.imp.MSVCRT.dll_atof]
add esp, 0xfffffffc
fstp qword [esp]
push str._.4f
lea eax, [ebp - 0x18]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.00491116
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.004b0150
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004b0080
mov eax, dword [ebp - 0x20]
lea ecx, [eax*4 + 5]
push ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x84]
call dword [eax + 0xd0]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4ad328
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x14]
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x94]
mov ecx, dword [eax + 0x20]
push ecx
mov dx, word [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0x94]
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x94]
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov cx, word [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x84]
mov ecx, dword [edx + 0x94]
mov eax, dword [ebp - 0x84]
mov edx, dword [eax + 0x94]
mov eax, dword [edx]
call dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x84]
mov ecx, dword [ecx + 0x94]
add ecx, 0x14
call fcn.00403d90
push eax
mov edx, dword [ebp - 0x84]
mov ecx, dword [edx + 0x78]
mov eax, dword [ebp - 0x84]
mov edx, dword [eax + 0x78]
mov eax, dword [edx]
call dword [eax + 4]
test eax, eax
je 0x4ad416
cmp dword [ebp - 0x14], 0
je 0x4ad3f1
lea ecx, [ebp - 0x18]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x14]
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [ebp - 0x1c]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::SetWindowTextA
push 0
lea ecx, [ebp - 0x1c]
call fcn.00403d50
push eax
push 0
mov ecx, dword [ebp - 0x10]
call fcn.0043d0a0
jmp 0x4ad3fe
push 0x600414
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [ebp - 0x18]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x84]
call fcn.004abf8f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0058df86
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0058df86
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8