Function at 0x5f6d38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040bbbc
mov eax, dword [ebp - 8]
call fcn.0040bbbc
mov esi, dword [0x635850]
xor eax, eax
push ebp
push 0x5f77a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x5f6d92
sub eax, 4
mov eax, dword [eax]
test al, al
jbe 0x5f6dcc
mov byte [ebp - 0x25], al
mov bl, 1
push dword [ebp - 0x10]
lea eax, [ebp - 0x40]
movzx edx, bl
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + edx*2 - 2]
call fcn.0040c5f0
push dword [ebp - 0x40]
push 0x5f77c0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040c8bc
inc ebx
dec byte [ebp - 0x25]
jne 0x5f6d9b
lea eax, [ebp - 0x10]
call fcn.0040c094
mov edx, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5f6de2
sub eax, 4
mov eax, dword [eax]
mov word [edx + eax*2 - 2], 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5c7f20]
call fcn.005d078c
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.005d7f30
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.005d7f44
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x54f9f0]
call fcn.005575c0
mov ebx, eax
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.0053d350
mov eax, dword [ebx + 0x74]
mov edx, 0x5f77d0
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 [0x5f77dc]
call fcn.0050fe24
mov eax, dword [ebp - 0x18]
call fcn.0053c9a8
sub eax, 0x28
cmp eax, dword [ebx + 0x58]
jge 0x5f6e8c
mov edx, dword [ebx + 0x58]
add edx, 0x28
mov eax, dword [ebp - 0x18]
call fcn.005d18c8
mov eax, dword [ebp - 0x18]
call fcn.0053c9a8
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
fdiv dword [0x5f77e0]
fild dword [ebx + 0x58]
fdiv dword [0x5f77e0]
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 dl, 4
mov eax, dword [ebp - 0x18]
call fcn.005d34c0
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.005d2ac4
push 0x14
push 0x14
mov eax, dword [ebp - 0x18]
call fcn.0053c9e8
push eax
mov eax, dword [ebp - 0x18]
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 - 0x18]
call fcn.00546ec8
push eax
call sub.user32.dll_SetWindowRgn
mov edx, 0xfff4a8
mov eax, dword [ebp - 0x18]
call fcn.0053d4cc
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.005454cc
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x575a0c]
call fcn.00577458
mov edi, eax
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x575a0c]
call fcn.00577458
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x1d8]
mov dl, 5
call fcn.00510350
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1d8]
mov dl, 5
call fcn.00510350
mov eax, dword [edi + 0x1dc]
mov edx, 0xffdd69
call fcn.00510610
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1dc]
mov edx, 0xffdd69
call fcn.00510610
mov edx, dword [ebp - 0x18]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov eax, dword [ebp - 0x18]
fild dword [eax + 0x58]
fdiv dword [0x5f77e0]
call fcn.00407b1c
mov edx, eax
sub edx, 2
mov eax, edi
call fcn.0053c6f4
mov eax, dword [ebp - 0x18]
fild dword [eax + 0x58]
fdiv dword [0x5f77e0]
call fcn.00407b1c
mov edx, eax
sub edx, 2
mov eax, dword [ebp - 0x24]
call fcn.0053c6f4
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x5c]
sub edx, dword [edi + 0x5c]
mov eax, edi
call fcn.0053c6bc
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x5c]
sub edx, dword [edi + 0x5c]
mov eax, dword [ebp - 0x24]
call fcn.0053c6bc
mov eax, dword [ebp - 0x18]
call fcn.0053c9a8
mov edx, eax
mov eax, dword [ebp - 0x24]
sub edx, dword [eax + 0x58]
mov eax, dword [ebp - 0x24]
call fcn.0053c688
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x54f9f0]
call fcn.005575c0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x74]
mov edx, 0x3a2fff
call fcn.0050fa90
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x74]
mov edx, 0x5f77d0
call fcn.0050fd80
fild dword [edi + 0x54]
fdiv dword [0x5f77e0]
mov eax, dword [ebp - 0x20]
fild dword [eax + 0x5c]
fdiv dword [0x5f77e0]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, dword [ebp - 0x20]
call fcn.0053c6bc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x74]
mov edx, 0x18
call fcn.0050fdf8
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x575a0c]
call fcn.00577458
mov ebx, eax
mov eax, dword [ebx + 0x1d8]
mov dl, 5
call fcn.00510350
mov eax, dword [ebx + 0x1dc]
mov edx, 0x5d2fff
call fcn.00510610
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov edx, 5
mov eax, ebx
call fcn.0053c728
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x58]
sub edx, 0x28
mov eax, ebx
call fcn.0053c6f4
mov eax, dword [ebp - 0x18]
call fcn.0053c9a8
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
fdiv dword [0x5f77e0]
fild dword [ebx + 0x58]
fdiv dword [0x5f77e0]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, ebx
call fcn.0053c688
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x54]
mov eax, dword [ebp - 0x20]
add edx, dword [eax + 0x5c]
mov eax, ebx
call fcn.0053c6bc
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x54f9f0]
call fcn.005575c0
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x54f9f0]
call fcn.005575c0
mov ebx, eax
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov edx, 0x5f77f0
mov eax, ebx
call fcn.0053d350
mov eax, dword [ebx + 0x74]
mov edx, 0x5f77d0
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 [0x5f77dc]
call fcn.0050fe24
fild dword [edi + 0x5c]
fdiv dword [0x5f77e0]
fild dword [edi + 0x54]
faddp st(1)
fild dword [ebx + 0x5c]
fdiv dword [0x5f77e0]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, ebx
call fcn.0053c6bc
fild dword [edi + 0x58]
fdiv dword [0x5f77e0]
fild dword [ebx + 0x58]
fdiv dword [0x5f77e0]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, ebx
call fcn.0053c688
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x54f9f0]
call fcn.005575c0
mov ebx, eax
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov edx, 0x5f7804
mov eax, ebx
call fcn.0053d350
mov eax, dword [ebx + 0x74]
mov edx, 0x5f77d0
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 [0x5f77dc]
call fcn.0050fe24
fild dword [edi + 0x5c]
fdiv dword [0x5f77e0]
fild dword [edi + 0x54]
faddp st(1)
fild dword [ebx + 0x5c]
fdiv dword [0x5f77e0]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, ebx
call fcn.0053c6bc
mov eax, dword [ebp - 0x24]
fild dword [eax + 0x58]
fdiv dword [0x5f77e0]
mov eax, dword [ebp - 0x24]
fild dword [eax + 0x50]
faddp st(1)
fild dword [ebx + 0x58]
fdiv dword [0x5f77e0]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, ebx
call fcn.0053c688
mov eax, dword [ebp - 0x18]
call fcn.005d742c
xor ebx, ebx
add bl, 2
mov edx, ebx
mov eax, dword [ebp - 0x18]
call fcn.005d7f44
push 1
call sub.kernel32.dll_Sleep
mov eax, dword [esi]
call fcn.005dc46c
cmp bl, 0xfa
jb 0x5f72a2
jmp 0x5f7733
mov eax, dword [ebp - 0x18]
call fcn.0053d5c0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
call fcn.0053d350
mov eax, dword [ebp - 0x18]
call fcn.0053c9a8
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
fdiv dword [0x5f77e0]
mov eax, dword [ebp - 0x20]
fild dword [eax + 0x58]
fdiv dword [0x5f77e0]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, dword [ebp - 0x20]
call fcn.0053c688
mov bx, 0x41
movzx eax, bx
push eax
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f733b
lea eax, [ebp - 0x48]
mov edx, ebx
call fcn.0040c5f0
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0xc]
call fcn.0040c7dc
jmp 0x5f733b
mov eax, dword [esi]
call fcn.005dc46c
movzx eax, bx
push eax
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x5f7334
inc ebx
cmp bx, 0x5b
jne 0x5f730f
mov bx, 0x30
movzx eax, bx
push eax
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f7380
lea eax, [ebp - 0x4c]
mov edx, ebx
call fcn.0040c5f0
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0xc]
call fcn.0040c7dc
jmp 0x5f7380
mov eax, dword [esi]
call fcn.005dc46c
movzx eax, bx
push eax
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x5f7379
inc ebx
cmp bx, 0x3a
jne 0x5f7354
push 0x20
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f73b7
lea eax, [ebp - 0xc]
mov edx, 0x5f77c0
call fcn.0040c7dc
jmp 0x5f73b7
mov eax, dword [esi]
call fcn.005dc46c
push 0x20
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x5f73b0
push 8
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f73ff
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x5f73e6
mov eax, dword [ebp - 0x2c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [ebp - 0x2c]
call fcn.0040c9ec
jmp 0x5f73ff
mov eax, dword [esi]
call fcn.005dc46c
push 8
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x5f73f8
lea ecx, [ebp - 0x5c]
xor edx, edx
xor eax, eax
call fcn.0049aeb0
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x54]
mov eax, edi
call fcn.0053ca58
mov ebx, dword [ebp - 0x54]
lea edx, [ebp - 0x5c]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
cmp ebx, dword [ebp - 0x5c]
jg 0x5f7570
lea ecx, [ebp - 0x6c]
mov eax, dword [edi + 0x58]
xor edx, edx
call fcn.0049aeb0
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x64]
mov eax, edi
call fcn.0053ca58
mov ebx, dword [ebp - 0x64]
lea edx, [ebp - 0x6c]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
cmp ebx, dword [ebp - 0x6c]
jl 0x5f7570
lea ecx, [ebp - 0x7c]
xor edx, edx
xor eax, eax
call fcn.0049aeb0
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x74]
mov eax, edi
call fcn.0053ca58
mov ebx, dword [ebp - 0x70]
lea edx, [ebp - 0x7c]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
cmp ebx, dword [ebp - 0x78]
jg 0x5f7570
lea ecx, [ebp - 0x8c]
mov edx, dword [edi + 0x5c]
xor eax, eax
call fcn.0049aeb0
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x84]
mov eax, edi
call fcn.0053ca58
mov ebx, dword [ebp - 0x80]
lea edx, [ebp - 0x8c]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
cmp ebx, dword [ebp - 0x88]
jl 0x5f7570
jmp 0x5f751a
mov eax, dword [edi + 0x1dc]
call fcn.00510608
mov edx, eax
sub edx, 0x100
mov eax, dword [edi + 0x1dc]
call fcn.00510610
push 5
call sub.kernel32.dll_Sleep
mov eax, dword [esi]
call fcn.005dc46c
mov eax, dword [edi + 0x1dc]
call fcn.00510608
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
shr eax, 8
cmp al, 0xbe
ja 0x5f74ee
push 1
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f7588
mov byte [ebp - 0x19], 1
jmp 0x5f7588
mov eax, dword [edi + 0x1dc]
call fcn.00510608
mov edx, eax
add edx, 0x100
mov eax, dword [edi + 0x1dc]
call fcn.00510610
push 5
call sub.kernel32.dll_Sleep
mov eax, dword [esi]
call fcn.005dc46c
mov eax, dword [edi + 0x1dc]
call fcn.00510608
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
shr eax, 8
cmp al, 0xdd
jb 0x5f7544
lea ecx, [ebp - 0x5c]
xor edx, edx
xor eax, eax
call fcn.0049aeb0
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x24]
call fcn.0053ca58
mov ebx, dword [ebp - 0x54]
lea edx, [ebp - 0x5c]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
cmp ebx, dword [ebp - 0x5c]
jg 0x5f7711
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x58]
xor edx, edx
call fcn.0049aeb0
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x24]
call fcn.0053ca58
mov ebx, dword [ebp - 0x64]
lea edx, [ebp - 0x6c]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
cmp ebx, dword [ebp - 0x6c]
jl 0x5f7711
lea ecx, [ebp - 0x7c]
xor edx, edx
xor eax, eax
call fcn.0049aeb0
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 0x24]
call fcn.0053ca58
mov ebx, dword [ebp - 0x70]
lea edx, [ebp - 0x7c]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
cmp ebx, dword [ebp - 0x78]
jg 0x5f7711
lea ecx, [ebp - 0x8c]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x5c]
xor eax, eax
call fcn.0049aeb0
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 0x24]
call fcn.0053ca58
mov ebx, dword [ebp - 0x80]
lea edx, [ebp - 0x8c]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
cmp ebx, dword [ebp - 0x88]
jl 0x5f7711
jmp 0x5f76a7
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1dc]
call fcn.00510608
mov edx, eax
sub edx, 0x100
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1dc]
call fcn.00510610
push 5
call sub.kernel32.dll_Sleep
mov eax, dword [esi]
call fcn.005dc46c
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1dc]
call fcn.00510608
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
shr eax, 8
cmp al, 0xbe
ja 0x5f7675
push 1
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f772c
mov byte [ebp - 0x19], 1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040bf00
jmp 0x5f772c
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1dc]
call fcn.00510608
mov edx, eax
add edx, 0x100
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1dc]
call fcn.00510610
push 5
call sub.kernel32.dll_Sleep
mov eax, dword [esi]
call fcn.005dc46c
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1dc]
call fcn.00510608
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
shr eax, 8
cmp al, 0xdd
jb 0x5f76df
mov eax, dword [esi]
call fcn.005dc46c
cmp byte [ebp - 0x19], 0
je 0x5f72c7
mov bl, 0xfa
sub bl, 2
mov edx, ebx
mov eax, dword [ebp - 0x18]
call fcn.005d7f44
push 1
call sub.kernel32.dll_Sleep
mov eax, dword [esi]
call fcn.005dc46c
cmp bl, 2
ja 0x5f773f
mov dl, 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.0040beb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f77ad
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0040bb28
lea eax, [ebp - 0x40]
call fcn.0040bac8
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040bb28
pop eax
jmp eax