Function at 0x5f65cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5f6c62
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x15], 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5c7f20]
call fcn.005d078c
mov dword [ebp - 0x14], eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.005d2ac4
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.005d7f30
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.005d7f44
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x54f9f0]
call fcn.005575c0
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov edx, 0x5f6c80
mov eax, ebx
call fcn.0053d350
mov eax, dword [ebx + 0x74]
mov edx, 0x5f6cbc
call fcn.0050fd80
mov eax, dword [ebx + 0x74]
mov edx, 0x12
call fcn.0050fdf8
mov eax, dword [ebx + 0x74]
mov edx, 0x5d2fff
call fcn.0050fa90
mov eax, dword [ebx + 0x74]
movzx edx, byte [0x5f6cc8]
call fcn.0050fe24
mov edx, dword [ebx + 0x58]
add edx, 0x28
mov eax, dword [ebp - 0x14]
call fcn.005d18c8
mov eax, dword [ebp - 0x14]
call fcn.0053c9a8
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fdiv dword [0x5f6ccc]
fild dword [ebx + 0x58]
fdiv dword [0x5f6ccc]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, ebx
call fcn.0053c688
mov edx, 0x14
mov eax, ebx
call fcn.0053c6bc
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x5f65a4]
call fcn.0040e998
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x5f657c]
call fcn.0040e998
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x5f6554]
call fcn.0040e998
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x575a0c]
call fcn.00577458
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [edx + ecx*4 - 4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [eax + edx*4 - 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov eax, dword [ebp - 0x14]
call fcn.0053c9a8
mov edx, eax
mov eax, ebx
call fcn.0053c6f4
mov eax, dword [ebx + 0x1dc]
mov edx, 0xffdd69
call fcn.00510610
mov edx, dword [ebx + 0x5c]
add edx, 5
imul edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.0053c6bc
mov eax, dword [ebx + 0x1d8]
mov dl, 5
call fcn.00510350
mov eax, dword [ebp - 0x1c]
dec eax
je 0x5f679f
dec eax
je 0x5f67b5
dec eax
je 0x5f67cb
dec eax
je 0x5f67e1
jmp 0x5f67f5
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
lea eax, [eax + edx*4 - 4]
mov edx, 0x5f6cdc
call fcn.0040beb8
jmp 0x5f67f5
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
lea eax, [eax + edx*4 - 4]
mov edx, 0x5f6cf4
call fcn.0040beb8
jmp 0x5f67f5
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
lea eax, [eax + edx*4 - 4]
mov edx, 0x5f6d10
call fcn.0040beb8
jmp 0x5f67f5
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
lea eax, [eax + edx*4 - 4]
mov edx, 0x5f6d2c
call fcn.0040beb8
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x54f9f0]
call fcn.005575c0
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov eax, dword [ebx + 0x74]
mov edx, 0x5f6cbc
call fcn.0050fd80
mov eax, dword [ebx + 0x74]
mov edx, 0x12
call fcn.0050fdf8
mov eax, dword [ebx + 0x74]
mov edx, 0xe16169
call fcn.0050fa90
mov eax, dword [ebx + 0x74]
movzx edx, byte [0x5f6cc8]
call fcn.0050fe24
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
mov esi, dword [eax + edx*4 - 4]
fild dword [esi + 0x5c]
fdiv dword [0x5f6ccc]
fild dword [esi + 0x54]
faddp st(1)
fild dword [ebx + 0x5c]
fdiv dword [0x5f6ccc]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, ebx
call fcn.0053c6bc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov edx, dword [eax + edx*4 - 4]
mov eax, ebx
call fcn.0053d350
mov eax, dword [ebp - 0x14]
fild dword [eax + 0x58]
fdiv dword [0x5f6ccc]
fild dword [ebx + 0x58]
fdiv dword [0x5f6ccc]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, ebx
call fcn.0053c688
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 5
jne 0x5f66d1
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4 - 8]
mov edx, dword [eax + 0x54]
add edx, dword [eax + 0x5c]
add edx, 0x14
mov eax, dword [ebp - 0x14]
call fcn.005d1900
mov dl, 4
mov eax, dword [ebp - 0x14]
call fcn.005d34c0
push 0x14
push 0x14
mov eax, dword [ebp - 0x14]
call fcn.0053c9e8
push eax
mov eax, dword [ebp - 0x14]
call fcn.0053c9a8
push eax
push 0
push 0
call sub.gdi32.dll_CreateRoundRectRgn
mov ebx, eax
push 0xffffffffffffffff
push ebx
mov eax, dword [ebp - 0x14]
call fcn.00546ec8
push eax
call sub.user32.dll_SetWindowRgn
mov edx, 0xfff4a8
mov eax, dword [ebp - 0x14]
call fcn.0053d4cc
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.005454cc
mov eax, dword [ebp - 0x14]
call fcn.005d742c
xor ebx, ebx
add ebx, 2
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.005d7f44
push 1
call sub.kernel32.dll_Sleep
mov eax, dword [0x635850]
mov eax, dword [eax]
call fcn.005dc46c
cmp ebx, 0xfa
jl 0x5f6935
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x5f6bea
inc eax
mov dword [ebp - 0x20], eax
xor ebx, ebx
lea ecx, [ebp - 0x34]
xor edx, edx
xor eax, eax
call fcn.0049aeb0
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4]
call fcn.0053ca58
mov eax, dword [ebp - 0x2c]
mov esi, ebx
add esi, esi
mov edx, dword [ebp - 8]
mov dword [edx + esi*8], eax
lea ecx, [ebp - 0x34]
xor edx, edx
xor eax, eax
call fcn.0049aeb0
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4]
call fcn.0053ca58
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dword [edx + esi*8 + 4], eax
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + ebx*4]
mov edx, dword [edi + 0x5c]
xor eax, eax
call fcn.0049aeb0
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x2c]
mov eax, edi
call fcn.0053ca58
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dword [edx + esi*8 + 0xc], eax
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + ebx*4]
mov eax, dword [edi + 0x58]
xor edx, edx
call fcn.0049aeb0
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x2c]
mov eax, edi
call fcn.0053ca58
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 8]
mov dword [edx + esi*8 + 8], eax
inc ebx
dec dword [ebp - 0x20]
jne 0x5f6971
jmp 0x5f6bea
mov eax, dword [ebp - 0x14]
call fcn.0053d5c0
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x5f6bde
inc eax
mov dword [ebp - 0x20], eax
xor ebx, ebx
lea edx, [ebp - 0x2c]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
mov eax, dword [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx + edx*8]
jl 0x5f6bac
lea edx, [ebp - 0x34]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
mov eax, dword [ebp - 0x34]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx + edx*8 + 8]
jg 0x5f6bac
lea edx, [ebp - 0x3c]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
mov eax, dword [ebp - 0x38]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx + edx*8 + 4]
jl 0x5f6bac
lea edx, [ebp - 0x44]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
mov eax, dword [ebp - 0x40]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx + edx*8 + 0xc]
jg 0x5f6bac
jmp 0x5f6b0b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x1dc]
call fcn.00510608
mov edx, eax
sub edx, 0x100
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x1dc]
call fcn.00510610
push 5
call sub.kernel32.dll_Sleep
mov eax, dword [0x635850]
mov eax, dword [eax]
call fcn.005dc46c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x1dc]
call fcn.00510608
mov esi, eax
mov eax, esi
shr eax, 8
cmp al, 0xbe
ja 0x5f6ace
push 1
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f6b37
mov byte [ebp - 0x15], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4]
movzx eax, word [eax]
sub ax, 0x42
je 0x5f6b5d
sub ax, 9
je 0x5f6b63
sub ax, 6
je 0x5f6b69
dec ax
jne 0x5f6bc8
mov byte [ebp - 0xd], 2
jmp 0x5f6bc8
mov byte [ebp - 0xd], 3
jmp 0x5f6bc8
mov byte [ebp - 0xd], 4
jmp 0x5f6bc8
mov byte [ebp - 0xd], 5
jmp 0x5f6bc8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x1dc]
call fcn.00510608
mov edx, eax
add edx, 0x100
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x1dc]
call fcn.00510610
push 5
call sub.kernel32.dll_Sleep
mov eax, dword [0x635850]
mov eax, dword [eax]
call fcn.005dc46c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x1dc]
call fcn.00510608
mov edi, eax
mov eax, edi
shr eax, 8
cmp al, 0xdd
jb 0x5f6b6f
mov eax, dword [0x635850]
mov eax, dword [eax]
call fcn.005dc46c
inc ebx
dec dword [ebp - 0x20]
jne 0x5f6a41
mov eax, dword [0x635850]
mov eax, dword [eax]
call fcn.005dc46c
cmp byte [ebp - 0x15], 0
je 0x5f6a25
mov ebx, 0xfa
sub ebx, 2
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.005d7f44
push 1
call sub.kernel32.dll_Sleep
mov eax, dword [0x635850]
mov eax, dword [eax]
call fcn.005dc46c
cmp ebx, 2
jg 0x5f6bf9
mov dl, 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f6c69
lea eax, [ebp - 0xc]
mov edx, dword [0x5f65a4]
call fcn.0040eabc
lea eax, [ebp - 8]
mov edx, dword [0x5f657c]
call fcn.0040eabc
lea eax, [ebp - 4]
mov edx, dword [0x5f6554]
call fcn.0040eabc
pop eax
jmp eax