Function at 0x43d4fa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
xor edi, edi
push 0x12
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call esi
xor ebx, ebx
inc ebx
test ax, ax
jge 0x43d51f
mov edi, ebx
push 0x10
call esi
test ax, ax
jge 0x43d52b
mov dword [ebp - 8], ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0xccc]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esi + 0xdac], 0
je 0x43d85a
mov eax, dword [esi + 0xdb4]
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
lea ecx, [eax - 5]
cmp edi, ecx
mov dword [ebp + 8], ecx
jl 0x43d5c3
lea ecx, [eax + 5]
cmp edi, ecx
jg 0x43d5c3
mov ecx, dword [esi + 0xdb8]
lea ebx, [ecx - 5]
cmp edx, ebx
jl 0x43d5c3
add ecx, 5
cmp edx, ecx
jg 0x43d5c3
mov eax, dword [esi + 0xdc4]
cmp eax, dword [0x45364c]
jne 0x43d59f
push dword [0x453620]
jmp 0x43d750
cmp eax, dword [0x453650]
jne 0x43d5b2
push dword [0x453624]
jmp 0x43d750
cmp eax, dword [0x453654]
jne 0x43d756
jmp 0x43d74a
cmp edi, dword [ebp + 8]
jge 0x43d5ff
mov ecx, dword [esi + 0xdb8]
lea ebx, [ecx - 5]
cmp edx, ebx
jl 0x43d5ff
add ecx, 5
cmp edx, ecx
jg 0x43d5ff
mov eax, dword [esi + 0xdc4]
cmp eax, dword [0x45364c]
je 0x43d842
cmp eax, dword [0x453650]
jne 0x43d73e
jmp 0x43d842
cmp edi, dword [ebp + 8]
push 5
pop ebx
jge 0x43d66e
mov ecx, dword [esi + 0xdb8]
sub ecx, ebx
cmp edx, ecx
jge 0x43d669
mov eax, dword [esi + 0xdc4]
cmp eax, dword [0x45364c]
jne 0x43d639
push dword [0x453630]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], 7
jmp 0x43d93b
cmp eax, dword [0x453650]
je 0x43d842
cmp eax, dword [0x453654]
jne 0x43d93b
push dword [0x453634]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], 8
jmp 0x43d93b
cmp edi, dword [ebp + 8]
jl 0x43d6ab
lea ecx, [eax + 5]
cmp edi, ecx
jg 0x43d6ab
mov ecx, dword [esi + 0xdb8]
sub ecx, ebx
cmp edx, ecx
jge 0x43d6ab
mov eax, dword [esi + 0xdc4]
cmp eax, dword [0x45364c]
je 0x43d651
cmp eax, dword [0x453650]
jne 0x43d645
push dword [0x453624]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], ebx
jmp 0x43d93b
lea ecx, [eax + 5]
cmp edi, ecx
jle 0x43d7a8
mov eax, dword [esi + 0xdb8]
sub eax, ebx
cmp edx, eax
jge 0x43d70c
mov eax, dword [esi + 0xdc4]
cmp eax, dword [0x45364c]
jne 0x43d6e8
push dword [0x453638]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], 9
jmp 0x43d93b
cmp eax, dword [0x453650]
jne 0x43d645
push dword [0x45363c]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], 0xa
jmp 0x43d93b
cmp edi, ecx
jle 0x43d7a8
mov eax, dword [esi + 0xdb8]
lea ebx, [eax - 5]
cmp edx, ebx
jl 0x43d762
add eax, 5
cmp edx, eax
jg 0x43d762
mov eax, dword [esi + 0xdc4]
cmp eax, dword [0x45364c]
je 0x43d6f4
cmp eax, dword [0x453650]
je 0x43d6f4
cmp eax, dword [0x453654]
jne 0x43d93b
push dword [0x453628]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], 5
jmp 0x43d93b
cmp edi, ecx
push 5
pop ebx
jle 0x43d7a8
mov eax, dword [esi + 0xdb8]
add eax, ebx
cmp edx, eax
jle 0x43d7a8
mov eax, dword [esi + 0xdc4]
cmp eax, dword [0x45364c]
jne 0x43d79b
push dword [0x453640]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], 0xb
jmp 0x43d93b
cmp eax, dword [0x453650]
jne 0x43d7d7
jmp 0x43d6f4
cmp edi, dword [ebp + 8]
jl 0x43d804
cmp edi, ecx
jg 0x43d7fb
mov eax, dword [esi + 0xdb8]
add eax, ebx
cmp edx, eax
jle 0x43d7fb
mov eax, dword [esi + 0xdc4]
cmp eax, dword [0x45364c]
je 0x43d7e3
cmp eax, dword [0x453650]
je 0x43d697
cmp eax, dword [0x453654]
jne 0x43d93b
push dword [0x453644]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], 0xc
jmp 0x43d93b
cmp edi, dword [ebp + 8]
jge 0x43d93b
mov eax, dword [esi + 0xdb8]
add eax, ebx
cmp edx, eax
jle 0x43d93b
mov eax, dword [esi + 0xdc4]
cmp eax, dword [0x45364c]
jne 0x43d83a
push dword [0x453648]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], 0xd
jmp 0x43d93b
cmp eax, dword [0x453650]
jne 0x43d7d7
push dword [0x45362c]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], 6
jmp 0x43d93b
cmp dword [esi + 0xda8], 0
je 0x43d874
push dword [0x45360c]
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x43d93b
test edi, edi
jne 0x43d93b
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
call fcn.00430481
add esp, 0xc
cmp eax, ebx
jne 0x43d8aa
mov eax, dword [esi + 0x6cc]
test byte [eax + 0xa], 0x20
jne 0x43d93b
push dword [0x453614]
jmp 0x43d69d
cmp dword [ebp - 8], 0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
jne 0x43d910
call fcn.004353f3
add esp, 0xc
test eax, eax
je 0x43d8e4
mov eax, dword [esi + 0x6cc]
test byte [eax + 8], 0x80
jne 0x43d93b
push dword [0x453610]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], 2
jmp 0x43d93b
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
call fcn.0043bdea
add esp, 0x10
test eax, eax
je 0x43d93b
push dword [0x45361c]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], 3
jmp 0x43d93b
call fcn.00430518
add esp, 0xc
test eax, eax
je 0x43d93b
mov eax, dword [esi + 0x6cc]
test byte [eax + 0xa], 0x40
jne 0x43d93b
push dword [0x453618]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], 4
mov ebx, dword [esi + 0xdb0]
cmp ebx, 3
je 0x43d94c
cmp dword [ebp - 4], 3
jne 0x43d9be
cmp dword [ebp - 4], 3
lea edi, [esi + 0xd54]
jne 0x43d9a1
push 0x18
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.0042e3d9
add esp, 0xc
test eax, eax
je 0x43d9be
cmp ebx, 3
jne 0x43d983
push 1
push dword [esi + 0xd60]
push dword [edi]
push esi
call fcn.00431470
add esp, 0x10
push 0x18
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.0042e3ac
push 1
push dword [esi + 0xd60]
push dword [edi]
push esi
call fcn.00431470
jmp 0x43d9bb
push 1
push dword [esi + 0xd60]
push dword [edi]
push esi
call fcn.00431470
push 0x18
push 0
push edi
call fcn.0042e40a
add esp, 0x1c
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret