Function at 0x5300c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
mov ecx, dword [0x64b2e0]
push 0x593087
push eax
mov dword fs:[0], esp
mov eax, dword [ecx]
sub esp, 0x2b8
push ebx
mov ebx, dword [esp + 0x2cc]
push ebp
push esi
push edi
push ebx
call dword [eax + 0x148]
test eax, eax
je 0x530428
mov eax, dword [0x665900]
xor ecx, ecx
and eax, 0x40
or eax, ecx
je 0x530149
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ecx
push ecx
push ecx
mov ecx, dword [0x64b2e0]
or esi, 0xffffffff
add ecx, 0xfc
mov dword [esp + 0x2dc], esi
call fcn.004016c0
push eax
push 0x665f18
call fcn.00451fc0
add esp, 0x14
test eax, eax
je 0x530428
jmp 0x530168
mov edx, dword [0x64b2e0]
push 0
mov eax, dword [edx + 0xfc]
push eax
push 0x665f18
call fcn.00456f90
add esp, 0xc
or esi, 0xffffffff
push 0x598
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x2d0], 1
je 0x5301a1
push 0
push 0xc80
push 2
push 0x2710
mov ecx, eax
call fcn.004016d0
mov ebp, eax
jmp 0x5301a3
xor ebp, ebp
push 0x598
mov dword [esp + 0x2d4], esi
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x2d0], 2
je 0x5301e3
push 0
push 0xc80
push 2
push 0x2710
mov ecx, eax
call fcn.004016d0
mov edi, eax
jmp 0x5301e5
xor edi, edi
push 0x598
mov dword [esp + 0x2d4], esi
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x2d0], 3
je 0x530225
push 0
push 0xc80
push 2
push 0x2710
mov ecx, eax
call fcn.004016d0
mov esi, eax
jmp 0x530227
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x2d0], 0xffffffff
call sub.MFC42.DLL_CString::CString_3
push ebx
lea eax, [esp + 0x14]
push str._s.set
push eax
mov dword [esp + 0x2dc], 4
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push ebp
call fcn.00456f90
add esp, 0x18
lea edx, [esp + 0x10]
push ebx
push str._s.grp
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
push 0
push eax
push edi
call fcn.00456f90
mov ecx, dword [0x6658f8]
add esp, 0x18
lea edx, [esp + 0x10]
push ebx
push ecx
push str._s_s.usr
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
push eax
call fcn.004924b0
add esp, 0x14
test eax, eax
je 0x5302e3
push ebx
lea ecx, [esp + 0x14]
push str._s.usr
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
push 0
push edx
push esi
call fcn.00456f90
mov eax, dword [0x667108]
push 1
push esi
push 1
mov ecx, dword [eax + 4]
push 1
push ecx
call fcn.0050b2d0
add esp, 0x2c
mov eax, dword [esp + 0x2dc]
test eax, eax
jne 0x5302f3
mov eax, 0xcc1
push 0
push eax
lea ecx, [esp + 0x20]
call fcn.0052f7a0
push 0x10
mov byte [esp + 0x2d4], 5
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx eax, ax
test eax, eax
je 0x53031b
call fcn.0049c470
lea ecx, [esp + 0x18]
mov dword [esp + 0xec], 0
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xf0], edi
mov dword [esp + 0xf8], esi
call sub.MFC42.DLL_CDialog::DoModal
push 0
push ebp
call fcn.0044ff40
add esp, 8
test ebp, ebp
je 0x53035d
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 4]
push 0
push edi
call fcn.0044ff40
add esp, 8
test edi, edi
je 0x530375
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x53038a
push 0
push esi
call fcn.0044ff40
add esp, 8
test esi, esi
je 0x530397
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
push 0
push 0x665f18
call fcn.0044ff40
add esp, 8
lea ecx, [esp + 0x288]
mov byte [esp + 0x2d0], 7
call sub.MFC42.DLL_CListCtrl::CListCtrl
lea ecx, [esp + 0xe0]
mov byte [esp + 0x2d0], 6
call fcn.00552a56
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2d0], 9
call fcn.005523ea
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x78], 0x59ff64
test eax, eax
je 0x5303fb
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], 0x59d9fc
mov byte [esp + 0x2d0], 4
call sub.MFC42.DLL_CDialog::CDialog
lea ecx, [esp + 0x10]
mov dword [esp + 0x2d0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c4
ret