Function at 0x45aa4e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
cmp dword [0x560c10], 0
je 0x45b346
push 0
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 8]
call fcn.005201c7
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45b346
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x684], 0
je 0x45b346
push 0x10
call sub.USER32.dll_GetKeyState
movsx ecx, ax
and ecx, 0x8000
cmp ecx, 0x8000
jne 0x45aab0
mov dword [ebp - 4], 1
jmp 0x45aab5
xor eax, eax
mov dword [ebp - 4], eax
push 0x11
call sub.USER32.dll_GetKeyState
movsx edx, ax
and edx, 0x8000
cmp edx, 0x8000
jne 0x45aad6
mov dword [ebp - 8], 1
jmp 0x45aadb
xor ecx, ecx
mov dword [ebp - 8], ecx
mov eax, dword [0x560c00]
mov dword [0x560bf0], eax
mov edx, dword [0x560c04]
mov dword [0x560bf4], edx
mov ecx, dword [0x560c08]
mov dword [0x560bf8], ecx
mov eax, dword [0x560c0c]
mov dword [0x560bfc], eax
mov edx, dword [0x560bfc]
cmp edx, dword [0x560bf4]
jne 0x45ab27
mov ecx, dword [0x560bf8]
cmp ecx, dword [0x560bf0]
jle 0x45b346
mov eax, dword [0x560bfc]
cmp eax, dword [0x560bf4]
jg 0x45b346
cmp dword [0x560bf0], 0
jl 0x45b346
cmp dword [0x560bf4], 0
jl 0x45b346
cmp dword [0x560bf8], 0
jl 0x45b346
cmp dword [0x560bfc], 0
jl 0x45b346
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x6b4]
mov eax, dword [ebp - 0x18]
sub ecx, dword [eax + 0x6b8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x684]
mov edi, dword [ecx + 0x44]
cmp dword [ebp - 0x14], 0
jle 0x45abaa
mov eax, dword [ebp - 0x18]
cmp edi, dword [eax + 0x684]
je 0x45abaa
mov edi, dword [edi + 0x44]
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jg 0x45ab93
test edi, edi
je 0x45b346
mov dword [ebp - 0x1c], 0x64
push dword [ebp - 0x1c]
call fcn.00557db4
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45abd7
push 0
call fcn.0042c4bf
jmp 0x45b346
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x99c]
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x70c], 1
je 0x45ac01
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x70c], 2
jne 0x45ac0d
cmp dword [0x56a184], 1
jne 0x45ac0d
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x99c]
dec ecx
add eax, ecx
mov edx, dword [ebp - 0x44]
sub edx, eax
dec edx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
jmp 0x45ac35
sub edx, eax
mov ecx, eax
neg ecx
cmp edx, ecx
jl 0x45ac40
mov ecx, dword [ebp - 0x18]
cmp edi, dword [ecx + 0x684]
je 0x45ac40
mov edi, dword [edi + 0x44]
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [0x560bf4]
jl 0x45ac1a
mov esi, dword [edi + 8]
mov byte [0x577e2a], 0
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [0x55f890]
mov dword [ebp - 0x30], ecx
xor eax, eax
mov dword [ebp - 0x34], eax
xor edx, edx
mov dword [ebp - 0x38], edx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
jmp 0x45b2e4
cmp esi, dword [edi + 8]
je 0x45aca7
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov edx, dword [edi + 0x1c]
mov dword [ebp - 0x2c], edx
mov ecx, dword [0x55f890]
mov dword [ebp - 0x30], ecx
xor eax, eax
mov dword [ebp - 0x34], eax
xor edx, edx
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [0x560bf4]
jne 0x45af4d
mov dword [ebp - 0x38], 1
mov eax, dword [edi]
push edi
mov edi, eax
mov esi, 0x578211
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push 0x578211
call fcn.0054c2d0
pop ecx
mov ebx, eax
cmp ebx, dword [0x560bf0]
jge 0x45ad00
mov dword [0x560bf0], ebx
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x560bfc]
jne 0x45ad50
cmp dword [0x55d2c4], 0
je 0x45ad30
push dword [0x560bf8]
push 0x578211
call fcn.00557258
add esp, 8
dec eax
jne 0x45ad30
inc dword [0x560bf8]
cmp ebx, dword [0x560bf8]
jge 0x45ad3e
mov dword [0x560bf8], ebx
mov edx, dword [0x560bf8]
mov byte [edx + 0x578212], 0
xor ecx, ecx
mov dword [ebp - 0x14], ecx
cmp dword [0x55d2c4], 0
je 0x45ad77
push dword [0x560bf0]
push 0x578211
call fcn.00557258
add esp, 8
cmp eax, 2
jne 0x45ad77
dec dword [0x560bf0]
cmp dword [0x560bf0], 0
jge 0x45ad87
xor eax, eax
mov dword [0x560bf0], eax
mov edx, 0x578211
add edx, dword [0x560bf0]
push edi
mov edi, edx
mov esi, 0x577e2a
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
cmp dword [ebp - 8], 0
je 0x45b0ae
mov ebx, edi
test ebx, ebx
je 0x45ade7
mov eax, dword [ebp - 0x18]
cmp ebx, dword [eax + 0x684]
je 0x45ade7
mov ebx, dword [ebx + 0x44]
mov edx, dword [edi + 8]
cmp edx, dword [ebx + 8]
je 0x45ade3
mov ebx, dword [ebx + 0x40]
jmp 0x45ade7
test ebx, ebx
jne 0x45adc8
test ebx, ebx
je 0x45adf1
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x2c], ecx
test ebx, ebx
je 0x45b0ae
xor esi, esi
push dword [ebx]
call fcn.0054c2d0
pop ecx
mov dword [ebp - 0x40], eax
cmp esi, dword [ebp - 0x40]
jge 0x45af35
cmp edi, ebx
jne 0x45ae1f
cmp esi, dword [0x560bf0]
jge 0x45af35
cmp dword [0x55d2c4], 0
je 0x45ae40
push esi
push dword [ebx]
call fcn.00557258
add esp, 8
cmp eax, 1
je 0x45ae3d
cmp eax, 2
jne 0x45ae40
inc esi
jmp 0x45ae06
mov eax, dword [ebx]
xor edx, edx
mov dl, byte [eax + esi]
cmp edx, 0xf
jg 0x45ae5f
je 0x45af07
sub edx, 2
je 0x45ae6e
dec edx
je 0x45aeb6
jmp 0x45af2b
sub edx, 0x16
je 0x45aea0
sub edx, 9
je 0x45ae87
jmp 0x45af2b
mov ecx, dword [ebp - 0x20]
cmp ecx, 1
sbb eax, eax
neg eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], 1
jmp 0x45af2b
mov edx, dword [ebp - 0x24]
cmp edx, 1
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], 1
jmp 0x45af2b
mov eax, dword [ebp - 0x28]
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x3c], 1
jmp 0x45af2b
push dword [0x55f890]
push dword [ebx + 0x1c]
lea ecx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [ebx]
add edx, esi
push edx
call fcn.004edefc
add esi, eax
cmp dword [ebp - 0x34], 0
jne 0x45aefe
test eax, eax
jne 0x45aee4
xor ecx, ecx
mov dword [ebp - 0x34], ecx
jmp 0x45aefe
cmp eax, 2
jg 0x45aef2
mov dword [ebp - 0x34], 1
jmp 0x45aefe
cmp eax, 2
jle 0x45aefe
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x3c], 1
jmp 0x45af2b
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x2c], edx
mov ecx, dword [0x55f890]
mov dword [ebp - 0x30], ecx
xor eax, eax
mov dword [ebp - 0x34], eax
xor edx, edx
mov dword [ebp - 0x3c], edx
inc esi
cmp esi, dword [ebp - 0x40]
jl 0x45ae0f
cmp edi, ebx
je 0x45b0ae
mov ebx, dword [ebx + 0x40]
test ebx, ebx
jne 0x45adf9
jmp 0x45b0ae
mov ecx, dword [edi]
push esi
push edi
mov edi, ecx
mov esi, 0x578211
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x560bfc]
jne 0x45afd3
push 0x578211
call fcn.0054c2d0
pop ecx
mov ebx, eax
cmp dword [0x55d2c4], 0
je 0x45afb4
push dword [0x560bf8]
push 0x578211
call fcn.00557258
add esp, 8
dec eax
jne 0x45afb4
inc dword [0x560bf8]
cmp ebx, dword [0x560bf8]
jge 0x45afc2
mov dword [0x560bf8], ebx
mov eax, dword [0x560bf8]
mov byte [eax + 0x578212], 0
xor edx, edx
mov dword [ebp - 0x14], edx
cmp dword [ebp - 4], 0
jne 0x45b08b
cmp esi, dword [edi + 8]
jne 0x45b08b
mov eax, dword [edi + 0x10]
test eax, eax
jle 0x45b060
mov ebx, eax
mov esi, 0x578211
jmp 0x45affc
dec ebx
cmp al, 0x20
jne 0x45b006
inc esi
mov al, byte [esi]
test al, al
je 0x45b006
test ebx, ebx
jg 0x45aff6
cmp byte [esi], 0
je 0x45b035
push esi
push edi
mov edi, esi
mov esi, 0x577e2a
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x45b0ae
push edi
mov esi, 0x577e2a
mov edi, 0x578211
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
jmp 0x45b0ae
push edi
mov esi, 0x577e2a
mov edi, 0x578211
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
jmp 0x45b0ae
push edi
mov esi, 0x560c38
mov edi, 0x577e2a
mov eax, edi
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
push 0x578211
push 0x577e2a
call fcn.0054c1f4
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edi, dword [edx + 0x69c]
jne 0x45b0c6
cmp dword [edi + 0x20], 2
jne 0x45b0c6
mov byte [0x577e2a], 0
cmp byte [0x577e2a], 0
je 0x45b2db
cmp dword [ebp - 8], 0
je 0x45b273
cmp dword [ebp - 0x38], 0
je 0x45b27f
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov byte [0x578211], 0
cmp dword [ebp - 0x20], 0
je 0x45b11a
push 2
push 0x560c3c
push 0x578211
call fcn.0054c2d0
pop ecx
add eax, 0x578211
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x45b141
push 0x1f
push 0x560c40
push 0x578211
call fcn.0054c2d0
pop ecx
add eax, 0x578211
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
cmp dword [ebp - 0x28], 0
je 0x45b168
push 0x16
push 0x560c44
push 0x578211
call fcn.0054c2d0
pop ecx
add eax, 0x578211
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
cmp dword [ebp - 0x34], 2
jne 0x45b1d4
xor eax, eax
mov al, byte [0x577e2a]
test byte [eax*2 + str.________________________________H], 4
je 0x45b1ab
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push 3
push str._c_d__02d
push 0x578211
call fcn.0054c2d0
pop ecx
add eax, 0x578211
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x14
jmp 0x45b236
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push 3
push str._c_d__d
push 0x578211
call fcn.0054c2d0
pop ecx
add eax, 0x578211
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x14
jmp 0x45b236
cmp dword [ebp - 0x34], 1
jne 0x45b236
xor edx, edx
mov dl, byte [0x577e2a]
test byte [edx*2 + str.________________________________H], 4
je 0x45b212
push dword [ebp - 0x2c]
push 3
push str._c_02d
push 0x578211
call fcn.0054c2d0
pop ecx
add eax, 0x578211
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x10
jmp 0x45b236
push dword [ebp - 0x2c]
push 3
push str._c_d
push 0x578211
call fcn.0054c2d0
pop ecx
add eax, 0x578211
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 0x577e2a
push 0x578211
call fcn.0054c1f4
add esp, 8
push edi
mov esi, 0x577e2a
mov edi, 0x578211
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
jmp 0x45b27f
push 0xf
push 0x577e2a
call fcn.0050cc40
push dword [ebp - 0xc]
call fcn.0054c2d0
pop ecx
mov ebx, eax
push 0x577e2a
call fcn.0054c2d0
pop ecx
add ebx, eax
add ebx, 0x14
cmp ebx, dword [ebp - 0x1c]
jle 0x45b2cb
add ebx, 0x64
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
call fcn.00558280
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x45b2c5
push 0
call fcn.0042c4bf
jmp 0x45b337
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
push 0x577e2a
push dword [ebp - 0xc]
call fcn.0054c1f4
add esp, 8
mov esi, dword [edi + 8]
mov edi, dword [edi + 0x40]
dec dword [ebp - 0x14]
test edi, edi
je 0x45b2f2
cmp dword [ebp - 0x14], 0
jge 0x45ac7e
push dword [ebp - 0xc]
call fcn.0054c2d0
pop ecx
cmp eax, 1
jbe 0x45b337
cmp dword [ebp - 0x3c], 0
je 0x45b322
push 0xf
push 0x560c6a
push dword [ebp - 0xc]
call fcn.0054c2d0
pop ecx
add eax, dword [ebp - 0xc]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push dword [ebp - 0xc]
call fcn.0042d069
test eax, eax
jne 0x45b337
push 0
call fcn.0042c4bf
cmp dword [ebp - 0xc], 0
je 0x45b346
push dword [ebp - 0xc]
call fcn.00557ca0
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4