Function at 0x100eac5
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, 0x9c69
cmp ebx, eax
mov edi, ecx
mov dword [ebp - 4], edi
jg 0x100ec69
je 0x100ec32
mov eax, 0x41a
cmp ebx, eax
jg 0x100eb78
je 0x100ecec
mov eax, ebx
sub eax, 0x413
je 0x100ee25
sub eax, 5
je 0x100ed9b
dec eax
jne 0x100ee1a
lea eax, [ebp + 8]
push eax
push 1
call fcn.0100e4d5
mov edi, eax
test edi, edi
je 0x100ee17
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push esi
push edi
call fcn.0100d884
dec esi
xor ebx, ebx
cmp esi, ebx
jl 0x100eb55
push 3
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [edi + esi*4]
call dword [sym.imp.user32.dll_SetWindowPos]
dec esi
jns 0x100eb42
lea eax, [ebp + 8]
push eax
push dword [edi]
call dword [sym.imp.user32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x100eb6e
push dword [ebp + 8]
call dword [sym.imp.user32.dll_AllowSetForegroundWindow]
push dword [edi]
call dword [sym.imp.user32.dll_SetForegroundWindow]
jmp 0x100ebe9
cmp ebx, 0x755b
je 0x100ec08
mov eax, 0x9c41
cmp ebx, eax
je 0x100ebef
cmp ebx, 0x9c66
jle 0x100ee1a
cmp ebx, 0x9c68
jg 0x100ee1a
lea eax, [ebp + 8]
push eax
push dword [edi + 0x1c]
call fcn.0100e4d5
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x100ee17
cmp dword [ebp + 8], esi
jbe 0x100ebe9
cmp ebx, 0x416
je 0x100ebd6
cmp ebx, 0x9c67
je 0x100ebd6
push 3
jmp 0x100ebd8
push 6
pop eax
push eax
push dword [edi + esi*4]
call dword [sym.imp.user32.dll_ShowWindowAsync]
inc esi
cmp esi, dword [ebp + 8]
jb 0x100ebc2
push edi
jmp 0x100ee11
push 0
push eax
push 0x111
push dword [0x1015d64]
call dword [sym.imp.user32.dll_SendMessageW]
jmp 0x100ee1a
lea eax, [ebp + 8]
push eax
push dword [edi + 0x1c]
call fcn.0100e4d5
mov esi, eax
test esi, esi
je 0x100ec25
push dword [ebp + 8]
mov ecx, edi
push esi
call fcn.0100d884
push esi
push dword [ebp + 8]
push 0
push 0
jmp 0x100ee4a
lea eax, [ebp + 8]
push eax
push dword [edi + 0x1c]
call fcn.0100e4d5
mov esi, eax
test esi, esi
je 0x100ec4f
push dword [ebp + 8]
mov ecx, edi
push esi
call fcn.0100d884
push esi
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.user32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.user32.dll_CascadeWindows]
jmp 0x100ee57
mov eax, ebx
sub eax, 0x9c6a
je 0x100ee25
dec eax
dec eax
je 0x100ed9b
dec eax
je 0x100eb19
dec eax
je 0x100ecec
dec eax
je 0x100ec94
sub eax, 0x54
jne 0x100ee1a
lea eax, [ebp + 8]
push eax
push 1
call fcn.0100e4d5
mov esi, eax
test esi, esi
je 0x100ee1a
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push dword [esi]
call dword [sym.imp.user32.dll_GetWindowThreadProcessId]
cmp dword [ebp + 8], 0
je 0x100ee5b
cmp ebx, 0x9cc3
push dword [ebp + 8]
push eax
jne 0x100ecd6
push 0x405
jmp 0x100ecdb
push 0x401
push dword [0x1015d64]
call dword [sym.imp.user32.dll_PostMessageW]
jmp 0x100ee5b
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.0100e4d5
test eax, eax
mov dword [ebp - 0x14], eax
je 0x100ee1a
push 0x11
or esi, 0xffffffff
call dword [sym.imp.user32.dll_GetKeyState]
movsx edi, ax
shr edi, 0x10
xor ebx, ebx
and edi, 1
cmp dword [ebp - 0x10], ebx
mov dword [ebp + 8], ebx
jbe 0x100ed96
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
lea eax, [eax + ecx*4]
lea ecx, [ebp - 0xc]
push ecx
push dword [eax]
mov dword [ebp - 8], eax
call dword [sym.imp.user32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0xc], esi
je 0x100ed8b
push 0x10
push 0x40
call dword [sym.imp.kernel32.dll_LocalAlloc]
mov esi, eax
cmp esi, ebx
je 0x100ed7b
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.user32.dll_GetThreadDesktop]
push ebx
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push 0x11
push esi
push 0x100d780
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
call dword [sym.imp.shlwapi.dll_SHCreateThread]
jmp 0x100ed88
mov eax, dword [ebp - 8]
push edi
push ebx
push dword [eax]
call dword [sym.imp.user32.dll_EndTask]
mov esi, dword [ebp - 0xc]
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x10]
jb 0x100ed20
push dword [ebp - 0x14]
jmp 0x100ee11
lea eax, [ebp + 8]
push eax
push dword [edi + 0x1c]
call fcn.0100e4d5
mov esi, eax
test esi, esi
je 0x100ee1a
push dword [esi]
call dword [sym.imp.user32.dll_IsIconic]
test eax, eax
mov ebx, dword [sym.imp.user32.dll_ShowWindow]
je 0x100edc5
push 9
push dword [esi]
call ebx
push dword [esi]
call dword [sym.imp.user32.dll_GetLastActivePopup]
mov edi, eax
push edi
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je 0x100ee08
push 0xfffffffffffffff0
push edi
call dword [sym.imp.user32.dll_GetWindowLongW]
test eax, 0x8000000
jne 0x100ee08
push 1
push edi
call dword [sym.imp.user32.dll_SwitchToThisWindow]
test byte [0x1016090], 1
je 0x100ee10
push 6
push dword [0x1015d64]
call ebx
jmp 0x100ee10
push 0
call dword [sym.imp.user32.dll_MessageBeep]
push esi
call dword [sym.imp.kernel32.dll_LocalFree]
mov edi, dword [ebp - 4]
and dword [edi + 0x10], 0
pop edi
pop esi
pop ebx
leave
ret 4
lea eax, [ebp + 8]
push eax
push dword [edi + 0x1c]
call fcn.0100e4d5
mov esi, eax
test esi, esi
je 0x100ee42
push dword [ebp + 8]
mov ecx, edi
push esi
call fcn.0100d884
push esi
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.user32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.user32.dll_TileWindows]
test esi, esi
je 0x100ee1a
push esi
call dword [sym.imp.kernel32.dll_LocalFree]
jmp 0x100ee1a