Function at 0x43397d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402c50
push 0x45db24
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 0x433c16
dec eax
je 0x433bde
sub eax, 3
je 0x433b22
dec eax
je 0x433a2d
sub eax, 5
jne 0x433b0f
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x433b0f
cmp dword [0x473ab0], ebx
je 0x433b0f
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 0x433a04
neg eax
cmp eax, ebx
jle 0x433bd6
mov dword [ebp - 0x6c], eax
mov edi, 0x499510
cmp si, bx
jle 0x433a1b
push 1
jmp 0x433a1c
push ebx
mov ecx, edi
call fcn.00444a17
dec dword [ebp - 0x6c]
jne 0x433a12
jmp 0x433bd6
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x433b0f
mov dword [ebp - 4], ebx
mov dword [esi + 0x3c], ebx
or dword [esi + 4], 0xffffffff
cmp dword [esi + 0xc], ebx
je 0x433a66
push 0x7f00
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 0x433a79
mov dword [esi + 0x40], ebx
push 1
pop ebx
jmp 0x433ac3
cmp dword [esi + 0x38], ebx
jne 0x433ae1
cmp dword [0x47532c], ebx
jne 0x433ae1
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 0x433ab3
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 0x433a90
cmp edi, ebx
jle 0x433acb
push 1
pop ebx
push ebx
push ecx
mov ecx, esi
call fcn.00433e36
or dword [ebp - 4], 0xffffffff
mov eax, ebx
jmp 0x433b11
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x204
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x433b0b
mov dword [esi + 0x38], ebx
cmp dword [esi + 0x44], ebx
je 0x433aee
mov dword [esi + 0x44], ebx
jmp 0x433a74
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x204
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x433ac3
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 [0x4972b8]
push dword [eax + 4]
call fcn.00427143
pop ecx
pop ecx
test eax, eax
jne 0x433b49
mov eax, dword [0x4972b8]
cmp dword [eax + 8], edi
je 0x433b49
xor ebx, ebx
mov dword [esi], ebx
jmp 0x433b4d
mov dword [esi], edi
xor ebx, ebx
mov eax, dword [0x4972b8]
cmp edi, dword [eax + 8]
je 0x433b5b
cmp dword [esi], ebx
je 0x433b0f
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 [0x4972b8]
cmp eax, ebx
je 0x433b0f
cmp dword [eax + 0x10], ebx
je 0x433b0f
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 [0x4972b8]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x60]
push eax
mov eax, dword [0x4972b8]
push dword [eax + 0x10]
call fcn.0043385c
pop ecx
pop ecx
test eax, eax
je 0x433b0f
push 1
pop eax
jmp 0x433b11
cmp dword [esi + 0x3c], 0
je 0x433b0f
push 1
pop ebx
push ebx
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
call edi
shr eax, 8
test al, al
je 0x433b0f
push 2
call edi
shr eax, 8
test al, al
je 0x433b0f
mov dword [esi + 0x38], ebx
jmp 0x433b0f
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x433b0f
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x433c38
mov dword [esi + 0x3c], ebx
jmp 0x433b0f
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.00433db7
test eax, eax
je 0x433b0f
push dword [ebp - 0x24]
mov ecx, esi
call fcn.00433d6e
cmp dword [esi + 0x38], ebx
jne 0x433cab
cmp dword [0x47532c], ebx
jne 0x433cab
xor ecx, ecx
lea edi, [esi + 0x25]
mov byte [edi], bl
mov edx, dword [esi + 0x30]
cmp dword [esi + 0x34], edx
je 0x433c9e
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 0x433c85
cmp ecx, ebx
jle 0x433cab
push ebx
push edi
mov ecx, esi
call fcn.00433e36
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 0x433cc8
cmp dword [0x47532c], ebx
je 0x433b0f
mov al, byte [ebp - 0x24]
cmp al, 0x55
jne 0x433cd3
push ebx
push ebx
jmp 0x433cda
cmp al, 0x44
jne 0x433ce1
push ebx
push 1
push 0x115
jmp 0x433cf9
cmp al, 0x4c
jne 0x433ce9
push ebx
push ebx
jmp 0x433cf4
cmp al, 0x52
jne 0x433b0f
push ebx
push 1
push 0x114
mov ecx, 0x4776b0
call fcn.00418491
lea eax, [ebp - 0x50]
push eax
mov eax, dword [0x4972b8]
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 0x433d28
mov eax, dword [ebp - 0x4c]
add eax, 0x18
jmp 0x433d33
mov ecx, dword [ebp - 0x4c]
add ecx, 0x18
cmp dword [ebp - 0x1c], ecx
jge 0x433d36
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x48]
add eax, 0xffffffe8
cmp dword [ebp - 0x20], eax
jle 0x433d49
mov eax, dword [ebp - 0x50]
add eax, 0x18
jmp 0x433d54
mov ecx, dword [ebp - 0x50]
add ecx, 0x18
cmp dword [ebp - 0x20], ecx
jge 0x433d57
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 0x433b11