Function at 0x10079645
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x100ea441
call fcn.100c908c
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], edi
cmp dword [esi + 0x12bc], edi
je 0x10079816
call fcn.10069261
cmp byte [eax], 0
je 0x10079816
call fcn.10069261
mov byte [eax], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp + 8], eax
xor ebx, ebx
mov ecx, dword [esi + 0x12bc]
mov eax, dword [ecx + 0x84]
sub eax, dword [ecx + 0x80]
add ecx, 0x74
sar eax, 2
cmp ebx, eax
jae 0x1007970d
push ebx
call fcn.1008d01e
mov ecx, dword [eax]
mov eax, dword [ecx]
push edi
push str.typeInt
call dword [eax + 8]
test al, 1
jne 0x1007970a
mov ecx, dword [esi + 0x12bc]
push ebx
add ecx, 0x74
lea edi, [esi + 0xb8]
call fcn.1008d01e
mov ecx, dword [eax]
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
test al, al
je 0x10079708
call fcn.10069261
mov byte [eax], 1
mov ecx, dword [esi + 0x12bc]
push ebx
add ecx, 0x74
call fcn.1008d01e
push dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push edi
call dword [eax + 0x4c]
jmp 0x10079819
xor edi, edi
inc ebx
jmp 0x1007968d
cmp dword [ebp + 8], 9
jne 0x10079880
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0x100
jne 0x10079880
lea ecx, [esi + 0xf4]
call fcn.10069337
xor ebx, ebx
mov byte [ebp + 0xf], al
mov dword [ebp - 0x14], ebx
mov dword [ebp + 8], edi
mov ecx, dword [esi + 0x12bc]
mov eax, dword [ecx + 0x9c]
sub eax, dword [ecx + 0x98]
add ecx, 0x8c
sar eax, 2
cmp dword [ebp + 8], eax
jae 0x10079837
push dword [ebp + 8]
call fcn.1008d01e
cmp byte [ebp + 0xf], 0
mov edi, dword [eax]
je 0x10079788
test ebx, ebx
jne 0x10079788
push edi
lea ecx, [esi + 0xf4]
call fcn.100693cb
test al, al
je 0x10079788
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
lea ebx, [esi + 0xb8]
push ebx
mov ecx, edi
call dword [eax + 0x20]
test al, al
je 0x1007982a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x100797af
dec dword [ebp + 8]
jmp 0x100797b2
inc dword [ebp + 8]
mov ecx, dword [esi + 0x12bc]
mov eax, dword [ecx + 0x9c]
sub eax, dword [ecx + 0x98]
add ecx, 0x8c
sar eax, 2
cmp dword [ebp + 8], eax
jae 0x100797fb
push dword [ebp + 8]
call fcn.1008d01e
mov ecx, dword [eax]
mov eax, dword [ecx]
push 1
call dword [eax + 0x74]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0xc0]
call fcn.10069261
mov byte [eax], 1
xor eax, eax
jmp 0x10079819
cmp byte [ebp + 0xf], 0
je 0x1007980e
push 0
lea ecx, [esi + 0xf4]
call fcn.10069427
call fcn.10069261
mov byte [eax], 1
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
inc dword [ebp + 8]
mov ebx, dword [ebp - 0x14]
xor edi, edi
jmp 0x1007973d
mov eax, dword [esi + 0x12bc]
lea ecx, [eax + 0x8c]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
test eax, 0xfffffffc
je 0x100797ef
cmp byte [ebp + 0xf], 0
push edi
je 0x1007986e
cmp ebx, edi
je 0x10079861
mov eax, dword [ebx]
mov ecx, ebx
jmp 0x10079878
lea ecx, [esi + 0xf4]
call fcn.10069427
jmp 0x100797ef
call fcn.1008d01e
mov ecx, dword [eax]
mov eax, dword [ecx]
push edi
call dword [eax + 0x74]
jmp 0x100797ef
xor ebx, ebx
mov eax, dword [esi + 0x12bc]
lea ecx, [eax + 0x8c]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp ebx, eax
jae 0x100798d5
push ebx
lea edi, [esi + 0xb8]
call fcn.1008d01e
mov ecx, dword [eax]
mov eax, dword [ecx]
push edi
call dword [eax + 0x20]
test al, al
je 0x100798d2
call fcn.10069261
mov byte [eax], 1
mov ecx, dword [esi + 0x12bc]
push ebx
add ecx, 0x8c
call fcn.1008d01e
jmp 0x100796f8
inc ebx
jmp 0x10079882
or dword [ebp - 4], 0xffffffff
jmp 0x1007980e