Function at 0x4331cd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402c50
push 0x45d024
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, ecx
mov eax, dword [ebp + 0xc]
sub eax, 0x200
je 0x433466
dec eax
je 0x43342e
sub eax, 3
je 0x433372
dec eax
je 0x43327d
sub eax, 5
jne 0x43335f
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x43335f
cmp dword [0x471e10], ebx
je 0x43335f
mov dword [esi + 0x40], 1
mov esi, dword [ebp + 0x10]
shr esi, 0x10
movsx eax, si
cdq
push 0x78
pop ecx
idiv ecx
cmp eax, ebx
jge 0x433254
neg eax
cmp eax, ebx
jle 0x433426
mov dword [ebp - 0x6c], eax
mov edi, 0x497860
cmp si, bx
jle 0x43326b
push 1
jmp 0x43326c
push ebx
mov ecx, edi
call fcn.0044417a
dec dword [ebp - 0x6c]
jne 0x433262
jmp 0x433426
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x43335f
mov dword [ebp - 4], ebx
mov dword [esi + 0x3c], ebx
or dword [esi + 4], 0xffffffff
cmp dword [esi + 0xc], ebx
je 0x4332b6
push reloc.KERNEL32.dll_RemoveDirectoryA
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esi + 0xc], ebx
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [esi + 0x40], ebx
je 0x4332c9
mov dword [esi + 0x40], ebx
push 1
pop ebx
jmp 0x433313
cmp dword [esi + 0x38], ebx
jne 0x433331
cmp dword [0x47368c], ebx
jne 0x433331
xor edi, edi
mov dword [ebp - 0x54], edi
lea ecx, [esi + 0x25]
mov byte [ecx], bl
mov eax, dword [esi + 0x30]
cmp dword [esi + 0x34], eax
je 0x433303
mov al, byte [eax + esi + 0x20]
mov byte [ecx + edi], al
inc edi
mov dword [ebp - 0x54], edi
mov byte [ecx + edi], bl
mov eax, dword [esi + 0x30]
inc eax
cdq
idiv dword [esi + 0x2c]
mov dword [esi + 0x30], edx
jmp 0x4332e0
cmp edi, ebx
jle 0x43331b
push 1
pop ebx
push ebx
push ecx
mov ecx, esi
call fcn.00433686
or dword [ebp - 4], 0xffffffff
mov eax, ebx
jmp 0x433361
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x204
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x43335b
mov dword [esi + 0x38], ebx
cmp dword [esi + 0x44], ebx
je 0x43333e
mov dword [esi + 0x44], ebx
jmp 0x4332c4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x204
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x433313
or dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
mov edi, dword [ebp + 8]
push edi
mov eax, dword [0x495610]
push dword [eax + 4]
call fcn.00426cd7
pop ecx
pop ecx
test eax, eax
jne 0x433399
mov eax, dword [0x495610]
cmp dword [eax + 8], edi
je 0x433399
xor ebx, ebx
mov dword [esi], ebx
jmp 0x43339d
mov dword [esi], edi
xor ebx, ebx
mov eax, dword [0x495610]
cmp edi, dword [eax + 8]
je 0x4333ab
cmp dword [esi], ebx
je 0x43335f
push edi
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [esi + 0x3c], 1
mov edi, dword [sym.imp.USER32.dll_GetMessagePos]
call edi
movsx ecx, ax
mov dword [esi + 0x18], ecx
shr eax, 0x10
movsx eax, ax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov eax, dword [0x495610]
cmp eax, ebx
je 0x43335f
cmp dword [eax + 0x10], ebx
je 0x43335f
call edi
movsx ecx, ax
mov dword [ebp - 0x60], ecx
shr eax, 0x10
movsx eax, ax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [0x495610]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x60]
push eax
mov eax, dword [0x495610]
push dword [eax + 0x10]
call fcn.004330ac
pop ecx
pop ecx
test eax, eax
je 0x43335f
push 1
pop eax
jmp 0x433361
cmp dword [esi + 0x3c], 0
je 0x43335f
push 1
pop ebx
push ebx
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
call edi
shr eax, 8
test al, al
je 0x43335f
push 2
call edi
shr eax, 8
test al, al
je 0x43335f
mov dword [esi + 0x38], ebx
jmp 0x43335f
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x43335f
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x433488
mov dword [esi + 0x3c], ebx
jmp 0x43335f
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
mov dword [ebp - 0x20], ecx
shr eax, 0x10
movsx eax, ax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.00433607
test eax, eax
je 0x43335f
push dword [ebp - 0x24]
mov ecx, esi
call fcn.004335be
cmp dword [esi + 0x38], ebx
jne 0x4334fb
cmp dword [0x47368c], ebx
jne 0x4334fb
xor ecx, ecx
lea edi, [esi + 0x25]
mov byte [edi], bl
mov edx, dword [esi + 0x30]
cmp dword [esi + 0x34], edx
je 0x4334ee
mov al, byte [esi + edx + 0x20]
mov byte [edi + ecx], al
inc ecx
mov byte [edi + ecx], bl
lea eax, [edx + 1]
cdq
idiv dword [esi + 0x2c]
jmp 0x4334d5
cmp ecx, ebx
jle 0x4334fb
push ebx
push edi
mov ecx, esi
call fcn.00433686
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x38], ebx
jne 0x433518
cmp dword [0x47368c], ebx
je 0x43335f
mov al, byte [ebp - 0x24]
cmp al, 0x55
jne 0x433523
push ebx
push ebx
jmp 0x43352a
cmp al, 0x44
jne 0x433531
push ebx
push 1
push 0x115
jmp 0x433549
cmp al, 0x4c
jne 0x433539
push ebx
push ebx
jmp 0x433544
cmp al, 0x52
jne 0x43335f
push ebx
push 1
push 0x114
mov ecx, 0x475a08
call fcn.004180a2
lea eax, [ebp - 0x50]
push eax
mov eax, dword [0x495610]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x44]
add eax, 0xffffffe8
cmp dword [ebp - 0x1c], eax
jle 0x433578
mov eax, dword [ebp - 0x4c]
add eax, 0x18
jmp 0x433583
mov ecx, dword [ebp - 0x4c]
add ecx, 0x18
cmp dword [ebp - 0x1c], ecx
jge 0x433586
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x48]
add eax, 0xffffffe8
cmp dword [ebp - 0x20], eax
jle 0x433599
mov eax, dword [ebp - 0x50]
add eax, 0x18
jmp 0x4335a4
mov ecx, dword [ebp - 0x50]
add ecx, 0x18
cmp dword [ebp - 0x20], ecx
jge 0x4335a7
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_SetCursorPos]
push 1
pop eax
mov dword [esi + 0x44], eax
jmp 0x433361