Function at 0x10023ee0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f8278
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x1013c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
test dword [ebx + 0x3c], 0x200
je 0x10024399
cmp byte [0x1014b4e7], 0
jne 0x10024399
imul ecx, dword [ebp + 8], 0x54
mov eax, dword [ebx + 0xa0]
cmp dword [ecx + eax + 0x38], 0
lea edx, [ecx + eax]
mov dword [ebp - 0x1c], edx
je 0x10024399
mov eax, dword [ecx + eax]
test eax, eax
je 0x10023f4f
cmp eax, 4
jne 0x10024399
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call esi
push 2
mov di, ax
call esi
test ax, ax
sets al
test di, di
js 0x10023f73
test al, al
je 0x10024399
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp + 0xc], 0
je 0x10023fed
call fcn.100b0560
mov ecx, 0xa00
cmp ax, cx
jae 0x10023fed
mov esi, dword [ebp - 0x1c]
lea eax, [ebp + 0xc]
mov ecx, ebx
push dword [esi + 0x10]
push eax
call fcn.10023b90
mov ecx, dword [eax]
cmp dword [ebp - 0x14], ecx
je 0x10023fd3
mov dword [eax], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 2
test eax, eax
je 0x10023fd3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10024163
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10024163
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x10103af0
push dword [esi + 0x38]
call dword [sym.imp.SHELL32.dll_SHBindToParent]
test eax, eax
js 0x1002435e
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push 0
push 0x10103d80
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push 1
push 0
push eax
call dword [ecx + 0x28]
test eax, eax
js 0x1002435e
push 0x1014be70
mov dword [ebp - 0x20], 0x1014be70
mov byte [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
cmp byte [ebx + 0x30], 0
mov ecx, dword [esi + 0x10]
je 0x1002405b
cmp byte [ecx + 0x2d], 0
mov byte [ebp + 0xf], 0
je 0x1002405f
mov byte [ebp + 0xf], 1
mov al, byte [ecx + 0x2b]
lea ecx, [ebp - 0x20]
mov byte [ebp - 0xd], al
call fcn.100233f0
cmp dword [ebx + 0xc4], 0
je 0x100240e3
cmp byte [ebp - 0xd], 0
je 0x100240e3
push 0
push 0x8040
push dword [esi + 0x10]
mov ecx, 0x1014be70
call fcn.1002b890
mov eax, dword [esi + 0x10]
movaps xmm0, xmmword [0x10123a70]
push 0
push 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xffffffff
mov eax, dword [eax + 0xc]
push 0
push 0
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_CopyImage]
mov ecx, dword [ebx + 0xc4]
mov dword [ebp - 0x34], eax
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp dword [ebp - 0x34], 0
je 0x100240e3
mov ecx, dword [ebx + 0xc4]
lea edx, [ebp - 0x44]
push dword [ebp - 0x14]
push edx
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
cmp byte [ebp + 0xf], 0
je 0x10024163
push 4
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x10024163
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov dword [eax], 4
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ax, word [0x1014b4f0]
lea edx, [ebp - 0x24]
mov word [ebp - 0x40], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
push 1
push edx
movq qword [ebp - 0x20], xmm0
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], edi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x10024163
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x14]
lea ecx, [ebp + 0xc]
call fcn.100265f0
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10024184
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 9
test eax, eax
je 0x10024192
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
cmp eax, dword [ebx + 0x1c0]
mov dword [ebx + 0xbc], eax
sete byte [0x1014b4eb]
mov dword [0x1014b4f4], ebx
cmp dword [esi], 0
jne 0x100241bf
cmp eax, dword [ebx + 0x1c8]
jl 0x100241d9
mov eax, dword [esi + 0x50]
movzx ecx, ax
test eax, eax
js 0x100241e2
mov eax, ecx
lea ecx, [eax + eax*2]
mov eax, dword [0x1014c0bc]
cmp dword [eax + ecx*8], 4
jne 0x100241e2
mov byte [0x1014b4e6], 1
jmp 0x100241e9
mov byte [0x1014b4e6], 0
mov byte [0x1014b4ee], 1
call dword [sym.imp.USER32.dll_GetMessageTime]
push 0
push 0x64
push 8
mov dword [ebx + 0xd8], eax
push dword [ebx + 0xc]
mov byte [0x1014b4ea], 0
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 7
push eax
push 7
push 0
push dword [ebp - 0x14]
push 0
call dword [sym.imp.SHELL32.dll_SHDoDragDrop]
cmp byte [ebx + 0x31], 0
mov esi, eax
mov dword [0x1014b4f4], 0
mov byte [0x1014b4eb], 0
jne 0x10024250
push 8
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_KillTimer]
cmp byte [0x1014b4ea], 0
mov byte [0x1014b4e6], 0
mov byte [0x1014b4ee], 0
je 0x100242a6
mov esi, dword [0x1014c064]
mov ecx, dword [0x1014c068]
cmp esi, ecx
je 0x1002435e
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi]
cmp byte [eax + 0x31], 0
jne 0x1002429a
push 0
push 0
push 0x10
push dword [eax + 0xc]
call edi
mov ecx, dword [0x1014c068]
add esi, 4
cmp esi, ecx
jne 0x10024281
jmp 0x1002435e
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10024321
cmp esi, 0x40100
jne 0x10024321
cmp byte [ebx + 0x31], 0
jne 0x10024321
lea edx, [ebp + 0xc]
mov dword [ebp + 0xc], 0x1000000
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x28]
push edx
push 1
push eax
call dword [ecx + 0x24]
test eax, eax
jns 0x10024321
mov ecx, ebx
call fcn.1005a870
mov esi, dword [0x1014c068]
mov ecx, dword [0x1014c064]
sub esi, ecx
sar esi, 2
dec esi
mov eax, dword [ecx + esi*4]
cmp eax, ebx
je 0x1002431a
mov edi, dword [sym.imp.USER32.dll_DestroyWindow]
nop dword [eax]
cmp byte [eax + 0x31], 0
jne 0x10024311
push dword [eax + 0xc]
call edi
mov ecx, dword [0x1014c064]
mov eax, dword [ecx + esi*4 - 4]
dec esi
cmp eax, ebx
jne 0x10024300
mov ecx, ebx
call fcn.1005a8c0
mov esi, dword [0x1014c068]
mov ecx, dword [0x1014c064]
sub esi, ecx
sar esi, 2
sub esi, 1
js 0x1002435e
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x31], 0
je 0x10024347
sub esi, 1
jns 0x10024337
jmp 0x1002435e
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [0x1014c064]
mov ecx, dword [ecx + esi*4]
call fcn.1005a870
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002436f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10024383
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
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
xor al, al
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