Function at 0x5f781c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5f81f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5c7f20]
call fcn.005d078c
mov dword [ebp - 0xc], eax
mov dl, 4
mov eax, dword [ebp - 0xc]
call fcn.005d34c0
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.005d2ac4
push 0x14
push 0x14
mov eax, dword [ebp - 0xc]
call fcn.0053c9e8
push eax
mov eax, dword [ebp - 0xc]
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 - 0xc]
call fcn.00546ec8
push eax
call sub.user32.dll_SetWindowRgn
mov edx, 0xfff4a8
mov eax, dword [ebp - 0xc]
call fcn.0053d4cc
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.005454cc
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.005d7f30
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.005d7f44
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x575a0c]
call fcn.00577458
mov esi, eax
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x575a0c]
call fcn.00577458
mov edi, eax
mov eax, dword [esi + 0x1d8]
mov dl, 5
call fcn.00510350
mov eax, dword [edi + 0x1d8]
mov dl, 5
call fcn.00510350
mov eax, dword [esi + 0x1dc]
mov edx, 0xffdd69
call fcn.00510610
mov eax, dword [edi + 0x1dc]
mov edx, 0xffdd69
call fcn.00510610
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov edx, dword [ebp - 0xc]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov eax, dword [ebp - 0xc]
fild dword [eax + 0x58]
fdiv dword [0x5f8204]
call fcn.00407b1c
mov edx, eax
sub edx, 2
mov eax, esi
call fcn.0053c6f4
mov eax, dword [ebp - 0xc]
fild dword [eax + 0x58]
fdiv dword [0x5f8204]
call fcn.00407b1c
mov edx, eax
sub edx, 2
mov eax, edi
call fcn.0053c6f4
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x5c]
sub edx, dword [esi + 0x5c]
mov eax, esi
call fcn.0053c6bc
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x5c]
sub edx, dword [esi + 0x5c]
mov eax, edi
call fcn.0053c6bc
mov eax, dword [ebp - 0xc]
call fcn.0053c9a8
mov edx, eax
sub edx, dword [edi + 0x58]
mov eax, edi
call fcn.0053c688
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x54f9f0]
call fcn.005575c0
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov edx, 0x3a2fff
call fcn.0050fa90
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov edx, 0x5f8214
call fcn.0050fd80
fild dword [esi + 0x54]
fdiv dword [0x5f8204]
mov eax, dword [ebp - 0x14]
fild dword [eax + 0x5c]
fdiv dword [0x5f8204]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.0053c6bc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x74]
mov edx, 0x18
call fcn.0050fdf8
mov edx, 0x5f822c
mov eax, dword [ebp - 0x14]
call fcn.0053d350
mov ecx, dword [ebp - 0xc]
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 - 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov edx, 5
mov eax, ebx
call fcn.0053c728
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x58]
mov eax, ebx
call fcn.0053c6f4
mov eax, dword [ebp - 0xc]
call fcn.0053c9a8
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fdiv dword [0x5f8204]
fild dword [ebx + 0x58]
fdiv dword [0x5f8204]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, ebx
call fcn.0053c688
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x54]
mov eax, dword [ebp - 0x14]
add edx, dword [eax + 0x5c]
mov eax, ebx
call fcn.0053c6bc
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x54f9f0]
call fcn.005575c0
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x54f9f0]
call fcn.005575c0
mov ebx, eax
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov edx, 0x5f8254
mov eax, ebx
call fcn.0053d350
mov eax, dword [ebx + 0x74]
mov edx, 0x5f8214
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 [0x5f8264]
call fcn.0050fe24
fild dword [esi + 0x5c]
fdiv dword [0x5f8204]
fild dword [esi + 0x54]
faddp st(1)
fild dword [ebx + 0x5c]
fdiv dword [0x5f8204]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, ebx
call fcn.0053c6bc
fild dword [esi + 0x58]
fdiv dword [0x5f8204]
fild dword [ebx + 0x58]
fdiv dword [0x5f8204]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, ebx
call fcn.0053c688
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x54f9f0]
call fcn.005575c0
mov ebx, eax
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov edx, 0x5f8274
mov eax, ebx
call fcn.0053d350
mov eax, dword [ebx + 0x74]
mov edx, 0x5f8214
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 [0x5f8264]
call fcn.0050fe24
fild dword [esi + 0x5c]
fdiv dword [0x5f8204]
fild dword [esi + 0x54]
faddp st(1)
fild dword [ebx + 0x5c]
fdiv dword [0x5f8204]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, ebx
call fcn.0053c6bc
fild dword [edi + 0x58]
fdiv dword [0x5f8204]
fild dword [edi + 0x50]
faddp st(1)
fild dword [ebx + 0x58]
fdiv dword [0x5f8204]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, ebx
call fcn.0053c688
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x54f9f0]
call fcn.005575c0
mov ebx, eax
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov edx, 0x5f8298
mov eax, ebx
call fcn.0053d350
mov eax, dword [ebx + 0x74]
mov edx, 0x5f8214
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 [0x5f8264]
call fcn.0050fe24
mov eax, dword [ebp - 0xc]
call fcn.0053c9a8
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fdiv dword [0x5f8204]
fild dword [ebx + 0x58]
fdiv dword [0x5f8204]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, ebx
call fcn.0053c688
mov edx, 0x14
mov eax, ebx
call fcn.0053c6bc
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0053d350
mov eax, dword [ebp - 0xc]
call fcn.005d742c
xor ebx, ebx
add bl, 2
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.005d7f44
push 1
call sub.kernel32.dll_Sleep
mov eax, dword [0x635850]
mov eax, dword [eax]
call fcn.005dc46c
cmp bl, 0xfa
jb 0x5f7ce2
jmp 0x5f8189
mov eax, dword [ebp - 0xc]
call fcn.0053d5c0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0053d350
mov eax, dword [ebp - 0xc]
call fcn.0053c9a8
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fdiv dword [0x5f8204]
mov eax, dword [ebp - 0x14]
fild dword [eax + 0x58]
fdiv dword [0x5f8204]
fsubp st(1)
call fcn.00407b1c
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.0053c688
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x5f7d67
mov eax, dword [ebp - 0x18]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xb
jg 0x5f7e38
mov bx, 0x41
movzx eax, bx
push eax
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f7da6
lea eax, [ebp - 0x34]
mov edx, ebx
call fcn.0040c5f0
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 4]
call fcn.0040c7dc
jmp 0x5f7da6
mov eax, dword [0x635850]
mov eax, dword [eax]
call fcn.005dc46c
movzx eax, bx
push eax
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x5f7d9a
inc ebx
cmp bx, 0x5b
jne 0x5f7d75
mov bx, 0x30
movzx eax, bx
push eax
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f7df0
lea eax, [ebp - 0x38]
mov edx, ebx
call fcn.0040c5f0
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 4]
call fcn.0040c7dc
jmp 0x5f7df0
mov eax, dword [0x635850]
mov eax, dword [eax]
call fcn.005dc46c
movzx eax, bx
push eax
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x5f7de4
inc ebx
cmp bx, 0x3a
jne 0x5f7dbf
push 0x20
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f7e2c
lea eax, [ebp - 4]
mov edx, 0x5f82d4
call fcn.0040c7dc
jmp 0x5f7e2c
mov eax, dword [0x635850]
mov eax, dword [eax]
call fcn.005dc46c
push 0x20
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x5f7e20
push 8
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f7e79
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5f7e5b
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [ebp - 0x1c]
call fcn.0040c9ec
jmp 0x5f7e79
mov eax, dword [0x635850]
mov eax, dword [eax]
call fcn.005dc46c
push 8
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x5f7e6d
lea ecx, [ebp - 0x48]
xor edx, edx
xor eax, eax
call fcn.0049aeb0
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x40]
mov eax, esi
call fcn.0053ca58
mov ebx, dword [ebp - 0x40]
lea edx, [ebp - 0x48]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
cmp ebx, dword [ebp - 0x48]
jg 0x5f7fe5
lea ecx, [ebp - 0x58]
mov eax, dword [esi + 0x58]
xor edx, edx
call fcn.0049aeb0
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x50]
mov eax, esi
call fcn.0053ca58
mov ebx, dword [ebp - 0x50]
lea edx, [ebp - 0x58]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
cmp ebx, dword [ebp - 0x58]
jl 0x5f7fe5
lea ecx, [ebp - 0x68]
xor edx, edx
xor eax, eax
call fcn.0049aeb0
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x60]
mov eax, esi
call fcn.0053ca58
mov ebx, dword [ebp - 0x5c]
lea edx, [ebp - 0x68]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
cmp ebx, dword [ebp - 0x64]
jg 0x5f7fe5
lea ecx, [ebp - 0x78]
mov edx, dword [esi + 0x5c]
xor eax, eax
call fcn.0049aeb0
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x70]
mov eax, esi
call fcn.0053ca58
mov ebx, dword [ebp - 0x6c]
lea edx, [ebp - 0x78]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
cmp ebx, dword [ebp - 0x74]
jl 0x5f7fe5
jmp 0x5f7f8a
mov eax, dword [esi + 0x1dc]
call fcn.00510608
mov edx, eax
sub edx, 0x100
mov eax, dword [esi + 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 [esi + 0x1dc]
call fcn.00510608
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
shr eax, 8
cmp al, 0xbe
ja 0x5f7f59
push 1
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f7ffd
mov byte [ebp - 0xd], 1
jmp 0x5f7ffd
mov eax, dword [esi + 0x1dc]
call fcn.00510608
mov edx, eax
add edx, 0x100
mov eax, dword [esi + 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 [esi + 0x1dc]
call fcn.00510608
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
shr eax, 8
cmp al, 0xdd
jb 0x5f7fb4
lea ecx, [ebp - 0x48]
xor edx, edx
xor eax, eax
call fcn.0049aeb0
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x40]
mov eax, edi
call fcn.0053ca58
mov ebx, dword [ebp - 0x40]
lea edx, [ebp - 0x48]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
cmp ebx, dword [ebp - 0x48]
jg 0x5f8165
lea ecx, [ebp - 0x58]
mov eax, dword [edi + 0x58]
xor edx, edx
call fcn.0049aeb0
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x50]
mov eax, edi
call fcn.0053ca58
mov ebx, dword [ebp - 0x50]
lea edx, [ebp - 0x58]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
cmp ebx, dword [ebp - 0x58]
jl 0x5f8165
lea ecx, [ebp - 0x68]
xor edx, edx
xor eax, eax
call fcn.0049aeb0
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x60]
mov eax, edi
call fcn.0053ca58
mov ebx, dword [ebp - 0x5c]
lea edx, [ebp - 0x68]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
cmp ebx, dword [ebp - 0x64]
jg 0x5f8165
lea ecx, [ebp - 0x78]
mov edx, dword [edi + 0x5c]
xor eax, eax
call fcn.0049aeb0
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x70]
mov eax, edi
call fcn.0053ca58
mov ebx, dword [ebp - 0x6c]
lea edx, [ebp - 0x78]
mov eax, dword [0x635a88]
mov eax, dword [eax]
call fcn.0054d530
cmp ebx, dword [ebp - 0x74]
jl 0x5f8165
jmp 0x5f8102
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 [0x635850]
mov eax, dword [eax]
call fcn.005dc46c
mov eax, dword [edi + 0x1dc]
call fcn.00510608
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
shr eax, 8
cmp al, 0xbe
ja 0x5f80d1
push 1
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5f817d
mov byte [ebp - 0xd], 1
lea eax, [ebp - 4]
call fcn.0040bac8
jmp 0x5f817d
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 [0x635850]
mov eax, dword [eax]
call fcn.005dc46c
mov eax, dword [edi + 0x1dc]
call fcn.00510608
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
shr eax, 8
cmp al, 0xdd
jb 0x5f8134
mov eax, dword [0x635850]
mov eax, dword [eax]
call fcn.005dc46c
cmp byte [ebp - 0xd], 0
je 0x5f7d0c
mov bl, 0xfa
sub bl, 2
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.005d7f44
push 1
call sub.kernel32.dll_Sleep
mov eax, dword [0x635850]
mov eax, dword [eax]
call fcn.005dc46c
cmp bl, 2
ja 0x5f8195
mov dl, 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040beb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f81fb
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0040bb28
lea eax, [ebp - 4]
call fcn.0040bac8
pop eax
jmp eax