Function at 0x10023540
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101fab24
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
xor ebp, ebp
cmp byte [edi + 0x68], 0
mov dword [esp + 0x1c], esi
je 0x100235ec
push edi
lea ebx, [esp + 0xb4]
call fcn.100231f0
xor ebx, ebx
mov dword [esp + 0xd8], ebx
cmp dword [esp + 0xc4], ebx
jne 0x100235ad
lea ebp, [ebx + 1]
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0xc8], 8
jb 0x100235d2
mov eax, dword [esp + 0xb4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], bx
cmp byte [edi + 0x84], 0
jne 0x10023602
mov dword [esi], ebp
mov ecx, dword [edi + 0x18]
mov dword [ecx + 0x20], ebp
jmp 0x1002395f
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x10023622
mov byte [edi + 0x84], 0
mov dword [esi], ebp
mov edx, dword [edi + 0x18]
mov dword [edx + 0x20], ebp
jmp 0x1002395f
mov ebx, dword [esp + 0xe4]
movzx eax, bx
mov dword [esp + 0x34], eax
sub eax, dword [edi + 0x88]
shr ebx, 0x10
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jge 0x10023662
mov eax, ebx
sub eax, dword [edi + 0x8c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jge 0x10023662
mov dword [esi], ebp
mov eax, dword [edi + 0x18]
mov dword [eax + 0x20], ebp
jmp 0x1002395f
lea esi, [esp + 0x78]
mov ecx, edi
call fcn.10023cf0
mov dword [esp + 0xd8], 1
xor esi, esi
cmp dword [esp + 0x8c], esi
je 0x1002391a
mov ecx, dword [esp + 0x34]
push ebx
push ecx
call fcn.10023e20
test al, al
je 0x1002391a
push 0xc
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x34], eax
mov byte [esp + 0xd8], 2
cmp eax, esi
je 0x100236c4
mov dword [eax], vtable.RC::RCEditCtrlDragSource.0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov ebx, eax
jmp 0x100236c6
xor ebx, ebx
mov byte [esp + 0xd8], 1
test ebx, ebx
jne 0x100236f7
mov edx, dword [esp + 0x1c]
mov dword [edx], ebp
mov edi, dword [edi + 0x18]
mov dword [edi + 0x20], ebp
mov dword [esp + 0xd8], 0xffffffff
lea ecx, [esp + 0x78]
call fcn.10001dd0
jmp 0x1002395f
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ebx
call ecx
push 0x28
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x34], eax
mov byte [esp + 0xd8], 3
test eax, eax
je 0x10023723
push eax
call fcn.1001f4e0
mov esi, eax
jmp 0x10023725
xor esi, esi
mov byte [esp + 0xd8], 1
test esi, esi
jne 0x10023741
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov ecx, dword [esp + 0x1c]
mov dword [ecx], ebp
jmp 0x100236d8
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
xor eax, eax
mov ecx, 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], cx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x78]
lea edx, [esp + 0x94]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.1019ea50
mov byte [esp + 0xd8], 4
mov ebp, dword [esp + 0xa8]
add ebp, 1
push ebp
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
xor ebp, ebp
push ebp
push eax
mov dword [esp + 0x24], eax
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0xa4]
add esp, 0xc
cmp dword [esp + 0xac], 0x10
jae 0x100237e0
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x18]
push ecx
push eax
push edx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x34]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x1c]
push 1
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
push esi
call ecx
xor eax, eax
lea edx, [esp + 0x50]
push edx
push str.Edit
push ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
je 0x100238d3
cmp dword [esp + 0x54], ebp
je 0x100238d3
mov edx, dword [edi + 4]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0xb0
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push edx
call ebp
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe0]
mov edx, dword [edi + 4]
push eax
mov eax, dword [esp + 0x58]
push ecx
push 0x202
push edx
push eax
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 4]
push ecx
push edx
push 0xb1
push eax
call ebp
mov ecx, dword [edi + 4]
push 0
push 0
push 0xb7
push ecx
call ebp
lea edx, [esp + 0x30]
push edx
push 3
push ebx
push esi
mov byte [edi + 0x70], 1
call dword [sym.imp.ole32.dll_DoDragDrop]
mov byte [edi + 0x70], 0
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov byte [edi + 0x84], 0
mov byte [esp + 0xd8], 1
lea ecx, [esp + 0x94]
call fcn.10001da0
jmp 0x100236de
mov ecx, dword [esp + 0x1c]
mov dword [ecx], ebp
mov edi, dword [edi + 0x18]
mov dword [edi + 0x20], ebp
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0x90], 8
jb 0x10023948
mov edx, dword [esp + 0x7c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], esi
mov word [esp + 0x7c], si
xor eax, eax
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.101d19cc
add esp, 0xc8
ret 8