Function at 0x45a038
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
cmp dword [0x562c3c], 0
je 0x45a8dd
push 0
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 8]
call fcn.00521fcc
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x45a8dd
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x684], 0
je 0x45a8dd
push 0x10
call sub.USER32.dll_GetKeyState
movsx ecx, ax
and ecx, 0x8000
cmp ecx, 0x8000
jne 0x45a09a
mov dword [ebp - 0x44], 1
jmp 0x45a09f
xor eax, eax
mov dword [ebp - 0x44], eax
push 0x11
call sub.USER32.dll_GetKeyState
movsx edx, ax
and edx, 0x8000
cmp edx, 0x8000
jne 0x45a0c0
mov dword [ebp - 0x48], 1
jmp 0x45a0c5
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0xd2c]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + 0xd30]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x4c]
mov ecx, dword [edx + 0xd34]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0xd38]
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x38]
jne 0x45a109
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jle 0x45a8dd
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x38]
jl 0x45a8dd
cmp dword [ebp - 0x2c], 0
jl 0x45a8dd
cmp dword [ebp - 0x30], 0
jl 0x45a8dd
cmp dword [ebp - 0x34], 0
jl 0x45a8dd
cmp dword [ebp - 0x38], 0
jl 0x45a8dd
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + 0x6b4]
mov edx, dword [ebp - 0x4c]
sub eax, dword [edx + 0x6b8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + 0x684]
mov edi, dword [eax + 0x44]
cmp dword [ebp - 0x24], 0
jle 0x45a17b
mov eax, dword [ebp - 0x4c]
cmp edi, dword [eax + 0x684]
je 0x45a17b
mov edi, dword [edi + 0x44]
dec dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0
jg 0x45a164
test edi, edi
je 0x45a8dd
mov dword [ebp - 0x28], 0x64
push dword [ebp - 0x28]
call fcn.00559d70
pop ecx
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x45a1a8
push 0
call fcn.0042c6cc
jmp 0x45a8dd
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x99c]
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x70c], 1
je 0x45a1d2
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x70c], 2
jne 0x45a1de
cmp dword [0x56c29c], 1
jne 0x45a1de
mov edx, dword [ebp - 0x4c]
mov ecx, dword [edx + 0x99c]
dec ecx
add eax, ecx
mov edx, dword [ebp - 0x54]
sub edx, eax
dec edx
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x30]
jge 0x45a214
sub edx, eax
mov ecx, eax
neg ecx
cmp edx, ecx
jl 0x45a214
mov ecx, dword [ebp - 0x4c]
cmp edi, dword [ecx + 0x684]
je 0x45a214
mov edi, dword [edi + 0x44]
inc dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x30]
jl 0x45a1f1
mov esi, dword [edi + 8]
mov byte [0x579f7a], 0
mov eax, dword [ebp - 0x3c]
mov byte [eax], 0
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x5618dc]
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ebp - 0x18], eax
xor edx, edx
mov dword [ebp - 0x1c], edx
xor ecx, ecx
mov dword [ebp - 0x20], ecx
jmp 0x45a87b
cmp esi, dword [edi + 8]
je 0x45a27b
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov edx, dword [edi + 0x1c]
mov dword [ebp - 0x10], edx
mov ecx, dword [0x5618dc]
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ebp - 0x18], eax
xor edx, edx
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x30]
jne 0x45a4f5
mov dword [ebp - 0x1c], 1
mov eax, dword [edi]
push edi
mov edi, eax
mov esi, 0x57a361
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 0x57a361
call fcn.0054e28c
pop ecx
mov ebx, eax
cmp ebx, dword [ebp - 0x2c]
jge 0x45a2cb
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x38]
jne 0x45a309
cmp dword [0x55f2bc], 0
je 0x45a2f2
push dword [ebp - 0x34]
push 0x57a361
call fcn.00559214
add esp, 8
dec eax
jne 0x45a2f2
inc dword [ebp - 0x34]
cmp ebx, dword [ebp - 0x34]
jge 0x45a2fa
mov dword [ebp - 0x34], ebx
mov edx, dword [ebp - 0x34]
mov byte [edx + 0x57a362], 0
xor ecx, ecx
mov dword [ebp - 0x24], ecx
cmp dword [0x55f2bc], 0
je 0x45a32a
push dword [ebp - 0x2c]
push 0x57a361
call fcn.00559214
add esp, 8
cmp eax, 2
jne 0x45a32a
dec dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0
jge 0x45a335
xor eax, eax
mov dword [ebp - 0x2c], eax
mov edx, 0x57a361
add edx, dword [ebp - 0x2c]
push edi
mov edi, edx
mov esi, 0x579f7a
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 - 0x48], 0
je 0x45a645
mov ebx, edi
test ebx, ebx
je 0x45a392
mov eax, dword [ebp - 0x4c]
cmp ebx, dword [eax + 0x684]
je 0x45a392
mov ebx, dword [ebx + 0x44]
mov edx, dword [edi + 8]
cmp edx, dword [ebx + 8]
je 0x45a38e
mov ebx, dword [ebx + 0x40]
jmp 0x45a392
test ebx, ebx
jne 0x45a373
test ebx, ebx
je 0x45a39c
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x10], ecx
test ebx, ebx
je 0x45a645
xor esi, esi
push dword [ebx]
call fcn.0054e28c
pop ecx
mov dword [ebp - 0x50], eax
cmp esi, dword [ebp - 0x50]
jge 0x45a4dd
cmp edi, ebx
jne 0x45a3c7
cmp esi, dword [ebp - 0x2c]
jge 0x45a4dd
cmp dword [0x55f2bc], 0
je 0x45a3e8
push esi
push dword [ebx]
call fcn.00559214
add esp, 8
cmp eax, 1
je 0x45a3e5
cmp eax, 2
jne 0x45a3e8
inc esi
jmp 0x45a3b1
mov eax, dword [ebx]
xor edx, edx
mov dl, byte [eax + esi]
cmp edx, 0xf
jg 0x45a407
je 0x45a4af
sub edx, 2
je 0x45a416
dec edx
je 0x45a45e
jmp 0x45a4d3
sub edx, 0x16
je 0x45a448
sub edx, 9
je 0x45a42f
jmp 0x45a4d3
mov ecx, dword [ebp - 4]
cmp ecx, 1
sbb eax, eax
neg eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 1
jmp 0x45a4d3
mov edx, dword [ebp - 8]
cmp edx, 1
sbb ecx, ecx
neg ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], 1
jmp 0x45a4d3
mov eax, dword [ebp - 0xc]
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x20], 1
jmp 0x45a4d3
push dword [0x5618dc]
push dword [ebx + 0x1c]
lea ecx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebx]
add edx, esi
push edx
call fcn.004ef010
add esi, eax
cmp dword [ebp - 0x18], 0
jne 0x45a4a6
test eax, eax
jne 0x45a48c
xor ecx, ecx
mov dword [ebp - 0x18], ecx
jmp 0x45a4a6
cmp eax, 2
jg 0x45a49a
mov dword [ebp - 0x18], 1
jmp 0x45a4a6
cmp eax, 2
jle 0x45a4a6
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x20], 1
jmp 0x45a4d3
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x10], edx
mov ecx, dword [0x5618dc]
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ebp - 0x18], eax
xor edx, edx
mov dword [ebp - 0x20], edx
inc esi
cmp esi, dword [ebp - 0x50]
jl 0x45a3ba
cmp edi, ebx
je 0x45a645
mov ebx, dword [ebx + 0x40]
test ebx, ebx
jne 0x45a3a4
jmp 0x45a645
mov ecx, dword [edi]
push esi
push edi
mov edi, ecx
mov esi, 0x57a361
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 - 0x24]
cmp eax, dword [ebp - 0x38]
jne 0x45a56a
push 0x57a361
call fcn.0054e28c
pop ecx
mov ebx, eax
cmp dword [0x55f2bc], 0
je 0x45a553
push dword [ebp - 0x34]
push 0x57a361
call fcn.00559214
add esp, 8
dec eax
jne 0x45a553
inc dword [ebp - 0x34]
cmp ebx, dword [ebp - 0x34]
jge 0x45a55b
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x57a362], 0
xor edx, edx
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x44], 0
jne 0x45a622
cmp esi, dword [edi + 8]
jne 0x45a622
cmp dword [edi + 0x10], 0
jle 0x45a5f7
mov ebx, dword [edi + 0x10]
mov esi, 0x57a361
jmp 0x45a593
dec ebx
cmp al, 0x20
jne 0x45a59d
inc esi
mov al, byte [esi]
test al, al
je 0x45a59d
test ebx, ebx
jg 0x45a58d
cmp byte [esi], 0
je 0x45a5cc
push esi
push edi
mov edi, esi
mov esi, 0x579f7a
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 0x45a645
push edi
mov esi, 0x579f7a
mov edi, 0x57a361
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 0x45a645
push edi
mov esi, 0x579f7a
mov edi, 0x57a361
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 0x45a645
push edi
mov esi, 0x562c50
mov edi, 0x579f7a
mov eax, edi
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
push 0x57a361
push 0x579f7a
call fcn.0054e1b0
add esp, 8
mov edx, dword [ebp - 0x4c]
cmp edi, dword [edx + 0x69c]
jne 0x45a65d
cmp dword [edi + 0x20], 2
jne 0x45a65d
mov byte [0x579f7a], 0
cmp byte [0x579f7a], 0
je 0x45a872
cmp dword [ebp - 0x48], 0
je 0x45a80a
cmp dword [ebp - 0x1c], 0
je 0x45a816
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov byte [0x57a361], 0
cmp dword [ebp - 4], 0
je 0x45a6b1
push 2
push 0x562c54
push 0x57a361
call fcn.0054e28c
pop ecx
add eax, 0x57a361
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x45a6d8
push 0x1f
push 0x562c58
push 0x57a361
call fcn.0054e28c
pop ecx
add eax, 0x57a361
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x45a6ff
push 0x16
push 0x562c5c
push 0x57a361
call fcn.0054e28c
pop ecx
add eax, 0x57a361
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
cmp dword [ebp - 0x18], 2
jne 0x45a76b
xor eax, eax
mov al, byte [0x579f7a]
test byte [eax*2 + str.________________________________H], 4
je 0x45a742
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 3
push str._c_d__02d
push 0x57a361
call fcn.0054e28c
pop ecx
add eax, 0x57a361
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x14
jmp 0x45a7cd
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 3
push str._c_d__d
push 0x57a361
call fcn.0054e28c
pop ecx
add eax, 0x57a361
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x14
jmp 0x45a7cd
cmp dword [ebp - 0x18], 1
jne 0x45a7cd
xor edx, edx
mov dl, byte [0x579f7a]
test byte [edx*2 + str.________________________________H], 4
je 0x45a7a9
push dword [ebp - 0x10]
push 3
push str._c_02d
push 0x57a361
call fcn.0054e28c
pop ecx
add eax, 0x57a361
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x10
jmp 0x45a7cd
push dword [ebp - 0x10]
push 3
push str._c_d
push 0x57a361
call fcn.0054e28c
pop ecx
add eax, 0x57a361
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 0x579f7a
push 0x57a361
call fcn.0054e1b0
add esp, 8
push edi
mov esi, 0x579f7a
mov edi, 0x57a361
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 0x45a816
push 0xf
push 0x579f7a
call fcn.0050e7f8
push dword [ebp - 0x3c]
call fcn.0054e28c
pop ecx
mov ebx, eax
push 0x579f7a
call fcn.0054e28c
pop ecx
add ebx, eax
add ebx, 0x14
cmp ebx, dword [ebp - 0x28]
jle 0x45a862
add ebx, 0x64
mov dword [ebp - 0x28], ebx
push dword [ebp - 0x28]
push dword [ebp - 0x3c]
call fcn.0055a23c
add esp, 8
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x45a85c
push 0
call fcn.0042c6cc
jmp 0x45a8ce
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
push 0x579f7a
push dword [ebp - 0x3c]
call fcn.0054e1b0
add esp, 8
mov esi, dword [edi + 8]
mov edi, dword [edi + 0x40]
dec dword [ebp - 0x24]
test edi, edi
je 0x45a889
cmp dword [ebp - 0x24], 0
jge 0x45a252
push dword [ebp - 0x3c]
call fcn.0054e28c
pop ecx
cmp eax, 1
jbe 0x45a8ce
cmp dword [ebp - 0x20], 0
je 0x45a8b9
push 0xf
push 0x562c82
push dword [ebp - 0x3c]
call fcn.0054e28c
pop ecx
add eax, dword [ebp - 0x3c]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push dword [ebp - 0x3c]
call fcn.0042d273
test eax, eax
jne 0x45a8ce
push 0
call fcn.0042c6cc
cmp dword [ebp - 0x3c], 0
je 0x45a8dd
push dword [ebp - 0x3c]
call fcn.00559c5c
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4