Function at 0x50d30f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
mov eax, dword [ebx]
call dword [eax + 0xec]
mov edx, dword [ebp + 8]
test al, al
jne 0x50d354
mov eax, dword [edx]
sub eax, 9
cmp eax, 9
ja 0x50d354
mov ecx, dword [ebx + 0x54]
push edx
test ecx, ecx
je 0x50d348
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp 0x50d5db
mov ecx, ebx
call fcn.005097b0
jmp 0x50d5db
cmp dword [edx], 0x15
jne 0x50d365
mov byte [ebx + 0x1b1], 1
jmp 0x50d5db
cmp dword [edx], 0x14
jne 0x50d376
mov byte [ebx + 0x1b1], 0
jmp 0x50d5db
cmp dword [edx], 3
push esi
je 0x50d42c
cmp dword [edx], 0x12
jne 0x50d469
movzx eax, word [edx + 0x18]
xor ecx, ecx
sub eax, ecx
je 0x50d3db
sub eax, 1
jne 0x50d469
cmp byte [ebx + 0x6cc], cl
je 0x50d3cc
cmp byte [ebx + 0x6d4], cl
je 0x50d3cc
mov eax, dword [ebp - 4]
lea edi, [ebx + 0x6c4]
mov ebx, dword [edi]
push 1
push 1
mov esi, dword [eax]
push ecx
lea ecx, [eax + 0x6d8]
call fcn.004d5ccf
inc eax
jmp 0x50d408
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x180]
jmp 0x50d5da
cmp byte [ebx + 0x6cc], cl
je 0x50d41d
cmp byte [ebx + 0x6d4], cl
je 0x50d41d
mov eax, dword [ebp - 4]
lea edi, [ebx + 0x6c4]
mov ebx, dword [edi]
push 1
push ecx
mov esi, dword [eax]
push ecx
lea ecx, [eax + 0x6d8]
call fcn.004d5ccf
dec eax
mov ecx, dword [ebp - 4]
push eax
call dword [esi + 0x16c]
push eax
mov ecx, edi
call dword [ebx + 8]
jmp 0x50d5da
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x17c]
jmp 0x50d5da
movzx eax, word [edx + 0x14]
sub eax, 0x21
je 0x50d5d0
sub eax, 1
je 0x50d5c4
sub eax, 1
je 0x50d58b
sub eax, 1
je 0x50d565
dec eax
sub eax, 1
je 0x50d500
dec eax
sub eax, 1
je 0x50d4a9
sub eax, 0x19
je 0x50d476
push edx
mov ecx, ebx
call fcn.005097b0
jmp 0x50d5da
cmp byte [ebx + 0x6d4], 0
jne 0x50d5da
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x50d5da
lea ecx, [ebx + 0x6c4]
mov eax, dword [ecx]
call dword [eax + 0x3c]
jmp 0x50d5da
lea esi, [ebx + 0x6c4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
test eax, eax
jle 0x50d5da
mov ecx, ebx
call fcn.0050f209
mov edx, dword [esi]
inc eax
mov ecx, esi
mov dword [ebp + 8], eax
call dword [edx + 0x40]
mov ecx, dword [ebx + 0x6ec]
add ecx, 0x670
mov edx, dword [ecx]
call dword [edx + 0xc]
mov edx, dword [ebp + 8]
mov edi, dword [esi]
push 1
lea ecx, [edx + 1]
cmp ecx, eax
jle 0x50d4fa
lea ecx, [ebx + 0x670]
jmp 0x50d5b6
push edx
jmp 0x50d5bd
lea edi, [ebx + 0x6c4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x44]
test eax, eax
jle 0x50d5da
mov ecx, ebx
call fcn.0050f25a
mov ecx, dword [edi]
mov edx, dword [ecx + 0x40]
mov ecx, edi
test eax, eax
jne 0x50d54a
call edx
mov ecx, dword [ebx + 0x6ec]
mov esi, dword [edi]
add ecx, 0x670
push 1
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
mov ecx, edi
push eax
call dword [esi + 8]
jmp 0x50d5da
lea esi, [eax - 1]
call edx
mov eax, dword [edi]
mov ecx, edi
push 1
mov eax, dword [eax + 8]
test esi, esi
jle 0x50d55f
push esi
jmp 0x50d561
push 0
call eax
jmp 0x50d5da
mov ecx, dword [ebx + 0x6ec]
add ecx, 0x670
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x50d5da
lea ecx, [ebx + 0x6c4]
mov eax, dword [ecx]
push 1
push 0
call dword [eax + 8]
jmp 0x50d5da
mov ecx, dword [ebx + 0x6ec]
add ecx, 0x670
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x50d5da
mov ecx, dword [ebx + 0x6ec]
lea esi, [ebx + 0x6c4]
mov edi, dword [esi]
add ecx, 0x670
push 1
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
push eax
mov ecx, esi
call dword [edi + 8]
jmp 0x50d5da
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x188]
jmp 0x50d5da
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x184]
pop esi
pop edi
pop ebx
leave
ret 4