Function at 0x4d4880
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4d5278
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 [0x4b55c8]
call fcn.004bbbd8
mov dword [ebp - 0xc], eax
mov dl, 4
mov eax, dword [ebp - 0xc]
call fcn.004be0fc
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.004bd7e4
push 0x14
push 0x14
mov eax, dword [ebp - 0xc]
call fcn.00495a04
push eax
mov eax, dword [ebp - 0xc]
call fcn.004959c4
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.0049f024
push eax
call sub.user32.dll_SetWindowRgn
mov edx, 0xfff4a8
mov eax, dword [ebp - 0xc]
call fcn.00496290
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.0049d9ac
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.004c2100
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.004c2114
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x46f934]
call fcn.00470ae0
mov esi, eax
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x46f934]
call fcn.00470ae0
mov edi, eax
mov dl, 5
mov eax, dword [esi + 0x1b0]
call fcn.00451a98
mov eax, dword [edi + 0x1b0]
mov dl, 5
call fcn.00451a98
mov edx, 0xffdd69
mov eax, dword [esi + 0x1b4]
call fcn.00451d50
mov eax, dword [edi + 0x1b4]
mov edx, 0xffdd69
call fcn.00451d50
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, dword [ebp - 0xc]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 0xc]
fild dword [eax + 0x48]
fdiv dword [0x4d5288]
call fcn.0040469c
mov edx, eax
sub edx, 2
mov eax, esi
call fcn.00495718
mov eax, dword [ebp - 0xc]
fild dword [eax + 0x48]
fdiv dword [0x4d5288]
call fcn.0040469c
mov edx, eax
sub edx, 2
mov eax, edi
call fcn.00495718
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x4c]
sub edx, dword [esi + 0x4c]
mov eax, esi
call fcn.004956e4
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x4c]
sub edx, dword [esi + 0x4c]
mov eax, edi
call fcn.004956e4
mov eax, dword [ebp - 0xc]
call fcn.004959c4
mov edx, eax
sub edx, dword [edi + 0x48]
mov eax, edi
call fcn.004956b0
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x464b1c]
call fcn.0046a238
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x64]
mov edx, 0x3a2fff
call fcn.004511fc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x64]
mov edx, 0x4d5298
call fcn.00451520
fild dword [esi + 0x44]
fdiv dword [0x4d5288]
mov eax, dword [ebp - 0x14]
fild dword [eax + 0x4c]
fdiv dword [0x4d5288]
fsubp st(1)
call fcn.0040469c
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.004956e4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x64]
mov edx, 0x18
call fcn.00451598
mov edx, 0x4d52b0
mov eax, dword [ebp - 0x14]
call fcn.00496110
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x46f934]
call fcn.00470ae0
mov ebx, eax
mov eax, dword [ebx + 0x1b0]
mov dl, 5
call fcn.00451a98
mov eax, dword [ebx + 0x1b4]
mov edx, 0x5d2fff
call fcn.00451d50
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, 5
mov eax, ebx
call fcn.0049574c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x48]
mov eax, ebx
call fcn.00495718
mov eax, dword [ebp - 0xc]
call fcn.004959c4
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fdiv dword [0x4d5288]
fild dword [ebx + 0x48]
fdiv dword [0x4d5288]
fsubp st(1)
call fcn.0040469c
mov edx, eax
mov eax, ebx
call fcn.004956b0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x14]
add edx, dword [eax + 0x4c]
mov eax, ebx
call fcn.004956e4
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x464b1c]
call fcn.0046a238
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x464b1c]
call fcn.0046a238
mov ebx, eax
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, 0x4d52d8
mov eax, ebx
call fcn.00496110
mov eax, dword [ebx + 0x64]
mov edx, 0x4d5298
call fcn.00451520
mov eax, dword [ebx + 0x64]
mov edx, 0x12
call fcn.00451598
mov eax, dword [ebx + 0x64]
mov edx, 0xe16169
call fcn.004511fc
mov eax, dword [ebx + 0x64]
movzx edx, byte [0x4d52e8]
call fcn.004515c4
fild dword [esi + 0x44]
fild dword [esi + 0x4c]
fdiv dword [0x4d5288]
faddp st(1)
fild dword [ebx + 0x4c]
fdiv dword [0x4d5288]
fsubp st(1)
call fcn.0040469c
mov edx, eax
mov eax, ebx
call fcn.004956e4
fild dword [esi + 0x48]
fdiv dword [0x4d5288]
fild dword [ebx + 0x48]
fdiv dword [0x4d5288]
fsubp st(1)
call fcn.0040469c
mov edx, eax
mov eax, ebx
call fcn.004956b0
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x464b1c]
call fcn.0046a238
mov ebx, eax
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, 0x4d52f8
mov eax, ebx
call fcn.00496110
mov eax, dword [ebx + 0x64]
mov edx, 0x4d5298
call fcn.00451520
mov eax, dword [ebx + 0x64]
mov edx, 0x12
call fcn.00451598
mov eax, dword [ebx + 0x64]
mov edx, 0xe16169
call fcn.004511fc
mov eax, dword [ebx + 0x64]
movzx edx, byte [0x4d52e8]
call fcn.004515c4
fild dword [esi + 0x44]
fild dword [esi + 0x4c]
fdiv dword [0x4d5288]
faddp st(1)
fild dword [ebx + 0x4c]
fdiv dword [0x4d5288]
fsubp st(1)
call fcn.0040469c
mov edx, eax
mov eax, ebx
call fcn.004956e4
fild dword [edi + 0x40]
fild dword [edi + 0x48]
fdiv dword [0x4d5288]
faddp st(1)
fild dword [ebx + 0x48]
fdiv dword [0x4d5288]
fsubp st(1)
call fcn.0040469c
mov edx, eax
mov eax, ebx
call fcn.004956b0
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x464b1c]
call fcn.0046a238
mov ebx, eax
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, 0x4d531c
mov eax, ebx
call fcn.00496110
mov eax, dword [ebx + 0x64]
mov edx, 0x4d5298
call fcn.00451520
mov eax, dword [ebx + 0x64]
mov edx, 0x12
call fcn.00451598
mov eax, dword [ebx + 0x64]
mov edx, 0x5d2fff
call fcn.004511fc
mov eax, dword [ebx + 0x64]
movzx edx, byte [0x4d52e8]
call fcn.004515c4
mov eax, dword [ebp - 0xc]
call fcn.004959c4
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fdiv dword [0x4d5288]
fild dword [ebx + 0x48]
fdiv dword [0x4d5288]
fsubp st(1)
call fcn.0040469c
mov edx, eax
mov eax, ebx
call fcn.004956b0
mov edx, 0x14
mov eax, ebx
call fcn.004956e4
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00496110
mov eax, dword [ebp - 0xc]
call fcn.004c16dc
xor ebx, ebx
add bl, 2
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004c2114
push 1
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x508a88]
mov eax, dword [eax]
call fcn.004c6084
cmp bl, 0xfa
jb 0x4d4d2e
jmp 0x4d520f
mov eax, dword [ebp - 0xc]
call fcn.00496380
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00496110
mov eax, dword [ebp - 0xc]
call fcn.004959c4
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fdiv dword [0x4d5288]
mov eax, dword [ebp - 0x14]
fild dword [eax + 0x48]
fdiv dword [0x4d5288]
fsubp st(1)
call fcn.0040469c
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.004956b0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4d4dc2
mov eax, dword [ebp - 0x18]
sub eax, 0xa
cmp word [eax], 2
je 0x4d4dc2
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00406b2c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4d4dd9
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xb
jg 0x4d4eaa
mov bx, 0x41
movzx eax, bx
push eax
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d4e18
lea eax, [ebp - 0x2c]
mov edx, ebx
call fcn.00407598
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.00407840
jmp 0x4d4e18
mov eax, dword [0x508a88]
mov eax, dword [eax]
call fcn.004c6084
movzx eax, bx
push eax
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4d4e0c
inc ebx
cmp bx, 0x5b
jne 0x4d4de7
mov bx, 0x30
movzx eax, bx
push eax
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d4e62
lea eax, [ebp - 0x30]
mov edx, ebx
call fcn.00407598
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 4]
call fcn.00407840
jmp 0x4d4e62
mov eax, dword [0x508a88]
mov eax, dword [eax]
call fcn.004c6084
movzx eax, bx
push eax
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4d4e56
inc ebx
cmp bx, 0x3a
jne 0x4d4e31
push 0x20
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d4e9e
lea eax, [ebp - 4]
mov edx, 0x4d5358
call fcn.00407840
jmp 0x4d4e9e
mov eax, dword [0x508a88]
mov eax, dword [eax]
call fcn.004c6084
push 0x20
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4d4e92
push 8
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d4f11
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4d4edc
mov eax, dword [ebp - 0x20]
sub eax, 0xa
cmp word [eax], 2
je 0x4d4edc
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00406b2c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4d4ef3
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [ebp - 0x24]
call fcn.00407c3c
jmp 0x4d4f11
mov eax, dword [0x508a88]
mov eax, dword [eax]
call fcn.004c6084
push 8
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4d4f05
lea ecx, [ebp - 0x40]
xor edx, edx
xor eax, eax
call fcn.004321e4
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x38]
mov eax, esi
call fcn.00495ad4
mov ebx, dword [ebp - 0x38]
lea edx, [ebp - 0x40]
mov eax, dword [0x508c20]
mov eax, dword [eax]
call fcn.004a4eac
cmp ebx, dword [ebp - 0x40]
jg 0x4d5077
lea ecx, [ebp - 0x50]
xor edx, edx
mov eax, dword [esi + 0x48]
call fcn.004321e4
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x48]
mov eax, esi
call fcn.00495ad4
mov ebx, dword [ebp - 0x48]
lea edx, [ebp - 0x50]
mov eax, dword [0x508c20]
mov eax, dword [eax]
call fcn.004a4eac
cmp ebx, dword [ebp - 0x50]
jl 0x4d5077
lea ecx, [ebp - 0x60]
xor edx, edx
xor eax, eax
call fcn.004321e4
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x58]
mov eax, esi
call fcn.00495ad4
mov ebx, dword [ebp - 0x54]
lea edx, [ebp - 0x60]
mov eax, dword [0x508c20]
mov eax, dword [eax]
call fcn.004a4eac
cmp ebx, dword [ebp - 0x5c]
jg 0x4d5077
lea ecx, [ebp - 0x70]
mov edx, dword [esi + 0x4c]
xor eax, eax
call fcn.004321e4
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x68]
mov eax, esi
call fcn.00495ad4
mov ebx, dword [ebp - 0x64]
lea edx, [ebp - 0x70]
mov eax, dword [0x508c20]
mov eax, dword [eax]
call fcn.004a4eac
cmp ebx, dword [ebp - 0x6c]
jl 0x4d5077
jmp 0x4d5021
mov eax, dword [esi + 0x1b4]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub edx, 0x100
mov eax, dword [esi + 0x1b4]
call fcn.00451d50
push 5
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x508a88]
mov eax, dword [eax]
call fcn.004c6084
mov eax, dword [esi + 0x1b4]
call fcn.00451d48
call fcn.0040cb34
cmp al, 0xbe
ja 0x4d4ff1
push 1
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d508b
mov byte [ebp - 0xd], 1
jmp 0x4d508b
mov eax, dword [esi + 0x1b4]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add edx, 0x100
mov eax, dword [esi + 0x1b4]
call fcn.00451d50
push 5
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x508a88]
mov eax, dword [eax]
call fcn.004c6084
mov eax, dword [esi + 0x1b4]
call fcn.00451d48
call fcn.0040cb34
cmp al, 0xdd
jb 0x4d5047
lea ecx, [ebp - 0x40]
xor edx, edx
xor eax, eax
call fcn.004321e4
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x38]
mov eax, edi
call fcn.00495ad4
mov ebx, dword [ebp - 0x38]
lea edx, [ebp - 0x40]
mov eax, dword [0x508c20]
mov eax, dword [eax]
call fcn.004a4eac
cmp ebx, dword [ebp - 0x40]
jg 0x4d51ef
lea ecx, [ebp - 0x50]
mov eax, dword [edi + 0x48]
xor edx, edx
call fcn.004321e4
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x48]
mov eax, edi
call fcn.00495ad4
mov ebx, dword [ebp - 0x48]
lea edx, [ebp - 0x50]
mov eax, dword [0x508c20]
mov eax, dword [eax]
call fcn.004a4eac
cmp ebx, dword [ebp - 0x50]
jl 0x4d51ef
lea ecx, [ebp - 0x60]
xor edx, edx
xor eax, eax
call fcn.004321e4
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x58]
mov eax, edi
call fcn.00495ad4
mov ebx, dword [ebp - 0x54]
lea edx, [ebp - 0x60]
mov eax, dword [0x508c20]
mov eax, dword [eax]
call fcn.004a4eac
cmp ebx, dword [ebp - 0x5c]
jg 0x4d51ef
lea ecx, [ebp - 0x70]
mov edx, dword [edi + 0x4c]
xor eax, eax
call fcn.004321e4
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x68]
mov eax, edi
call fcn.00495ad4
mov ebx, dword [ebp - 0x64]
lea edx, [ebp - 0x70]
mov eax, dword [0x508c20]
mov eax, dword [eax]
call fcn.004a4eac
cmp ebx, dword [ebp - 0x6c]
jl 0x4d51ef
jmp 0x4d518f
mov eax, dword [edi + 0x1b4]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub edx, 0x100
mov eax, dword [edi + 0x1b4]
call fcn.00451d50
push 5
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x508a88]
mov eax, dword [eax]
call fcn.004c6084
mov eax, dword [edi + 0x1b4]
call fcn.00451d48
call fcn.0040cb34
cmp al, 0xbe
ja 0x4d515f
push 1
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d5203
mov byte [ebp - 0xd], 1
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407480
jmp 0x4d5203
mov eax, dword [edi + 0x1b4]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add edx, 0x100
mov eax, dword [edi + 0x1b4]
call fcn.00451d50
push 5
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x508a88]
mov eax, dword [eax]
call fcn.004c6084
mov eax, dword [edi + 0x1b4]
call fcn.00451d48
call fcn.0040cb34
cmp al, 0xdd
jb 0x4d51bf
mov eax, dword [0x508a88]
mov eax, dword [eax]
call fcn.004c6084
cmp byte [ebp - 0xd], 0
je 0x4d4d58
mov bl, 0xfa
sub bl, 2
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004c2114
push 1
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x508a88]
mov eax, dword [eax]
call fcn.004c6084
cmp bl, 2
ja 0x4d521b
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.0040742c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d527f
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00407424
lea eax, [ebp - 4]
call fcn.0040741c
ret