Function at 0x5579b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a8
mov ecx, dword [0x711790]
push ebx
mov eax, ecx
push esi
shl eax, 4
push edi
mov edi, dword [ebp + 0xc]
add eax, ecx
xor ecx, ecx
test edi, edi
lea eax, [eax + eax*2]
push 0x208
setne cl
inc ecx
lea esi, [eax*8 + 0x710ac0]
mov edi, ecx
mov dword [esi + 8], edi
mov dword [esi + 0xc], 0x85
mov dword [esi], 0
call fcn.0050e090
mov edx, dword [ebp + 0x10]
add esp, 4
lea ebx, [esi + 0x2c]
push 0x3f
push edx
push ebx
call fcn.00567210
mov dword [esi + 0x8c], edi
mov ecx, 0x10a
xor eax, eax
lea edi, [ebp - 0x5ac]
mov dword [esi], 0
mov dword [esi + 4], 0
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp - 0x5ac]
mov eax, dword [edi]
push 0
push ecx
push edi
call dword [eax + 0x6c]
test eax, eax
jne 0x557aad
mov eax, dword [ebp - 0x194]
lea edx, [esi + 0x7c]
push 0x11
mov dword [edx], eax
mov ecx, dword [ebp - 0x190]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x18c]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x188]
mov dword [edx + 0xc], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edx, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x1a4]
push edx
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x3ac]
push eax
push ecx
push edx
push str.AddRenderer__s_:__s_is__04x__04x
call fcn.005585e0
add esp, 0x14
lea eax, [ebp - 0x3ac]
push 0x3f
push eax
push ebx
call fcn.00567210
add esp, 0xc
mov ecx, dword [edi]
lea edx, [ebp - 0xc]
push edx
push 0x598478
push edi
call dword [ecx]
test eax, eax
jne 0x557dbd
push edi
call fcn.005573c0
add esp, 4
test eax, eax
jne 0x557d9c
mov eax, dword [edi]
push 0
push 0
push 0x10
push 0x1e0
push 0x280
push edi
call dword [eax + 0x54]
test eax, eax
jne 0x557d71
mov ecx, 0x1f
lea edi, [ebp - 0x88]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
push eax
lea edx, [ebp - 8]
lea eax, [ebp - 0x88]
mov ecx, dword [edi]
push edx
mov ebx, 1
push eax
push edi
mov dword [ebp - 0x88], 0x7c
mov dword [ebp - 0x84], 0x21
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x20], 0x6218
call dword [ecx + 0x18]
test eax, eax
jne 0x557c7e
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 4]
push 0
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
push edx
push 0x5984a8
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x557c5c
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
push esi
push 0x557e00
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x184]
rep stosd dword es:[edi], eax
mov ecx, 0x3f
lea edi, [ebp - 0x6a8]
rep stosd dword es:[edi], eax
mov eax, 0xfc
lea ecx, [ebp - 0x6a8]
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x6a8], eax
mov eax, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x184]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xc]
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x110]
and edx, 0x180
neg edx
sbb edx, edx
and eax, ecx
and al, 2
neg edx
neg al
sbb eax, eax
mov dword [esi + 0x18], edx
neg eax
mov dword [esi + 0x14], eax
mov al, byte [ebp - 0x100]
test bl, al
je 0x557c05
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [ebp - 0x1a4]
push ecx
push edx
call fcn.00557e30
add esp, 8
jmp 0x557c07
xor eax, eax
cmp bx, word [ebp - 0x8a]
mov ecx, dword [ebp - 0xfc]
mov dword [esi], eax
sbb eax, eax
and ecx, 0x3003c
neg eax
neg ecx
sbb ecx, ecx
mov dword [esi + 0x1c], eax
neg ecx
mov dword [esi + 0x24], ecx
mov edx, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x1a4]
push edx
push eax
call fcn.00557e40
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 4]
add esp, 8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov edi, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x557c95
mov edx, dword [ebp + 0x10]
and eax, 0xffff
push eax
push edx
push str.AddRenderer__s____CreateDevice_failed_code__d
call fcn.00558660
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x557c95
mov edx, dword [ebp + 0x10]
and eax, 0xffff
push eax
push edx
push str.AddRenderer__s____CreateSurface_failed_code__d
call fcn.00558660
add esp, 0xc
push esi
push edi
call fcn.005574a0
mov ecx, dword [esi]
add esp, 8
test ecx, ecx
mov dword [esi + 4], eax
je 0x557ce1
test eax, eax
je 0x557cdd
mov eax, dword [0x711790]
push edi
inc eax
mov dword [0x711790], eax
mov ecx, dword [edi]
call dword [ecx + 0x4c]
mov edi, dword [ebp + 8]
push 8
push 0
push edi
mov eax, dword [edi]
call dword [eax + 0x50]
call fcn.00557480
mov eax, dword [ebp - 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x557dce
test ecx, ecx
jne 0x557d05
test eax, eax
jne 0x557cf3
lea eax, [ebp - 0x3ac]
push eax
push 0x209
jmp 0x557d11
test ecx, ecx
jne 0x557d05
lea ecx, [ebp - 0x3ac]
push ecx
push 0x20a
jmp 0x557d11
lea edx, [ebp - 0x3ac]
push edx
push 0x20b
call fcn.0050e090
add esp, 4
mov edi, 0x7117a0
or ecx, 0xffffffff
push eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x7117a0
push ecx
call fcn.00566480
mov edi, 0x7117a0
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov ax, word [0x5cde24]
mov word [edi - 1], ax
mov edi, dword [ebp + 8]
push edi
mov ecx, dword [edi]
call dword [ecx + 0x4c]
mov eax, dword [edi]
push 8
push 0
push edi
call dword [eax + 0x50]
call fcn.00557480
mov eax, dword [ebp - 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x557dce
mov edx, dword [ebp + 0x10]
push edx
push str.AddRenderer__s____SetDisplayMode_failed
call fcn.00558660
mov eax, dword [edi]
add esp, 8
push 8
push 0
push edi
call dword [eax + 0x50]
call fcn.00557480
mov eax, dword [ebp - 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x557dce
mov ecx, dword [ebp + 0x10]
push ecx
push str.AddRenderer__s____LockScreen_failed
call fcn.00558660
add esp, 8
call fcn.00557480
mov eax, dword [ebp - 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x557dce
mov eax, dword [ebp + 0x10]
push eax
push str.AddRenderer__s____QI_D3D_failed
call fcn.00558660
add esp, 8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x557dee
mov ecx, dword [eax]
add esi, 0x6c
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret