Function at 0x4d3d80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407414
mov eax, dword [ebp - 8]
call fcn.00407414
mov esi, dword [0x508a88]
xor eax, eax
push ebp
push 0x4d480a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d3deb
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4d3deb
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00406b2c
test eax, eax
je 0x4d3df4
sub eax, 4
mov eax, dword [eax]
test al, al
jbe 0x4d3e2e
mov byte [ebp - 0x29], al
mov bl, 1
push dword [ebp - 0x10]
lea eax, [ebp - 0x38]
movzx edx, bl
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + edx*2 - 2]
call fcn.00407598
push dword [ebp - 0x38]
push 0x4d4824
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004079e4
inc ebx
dec byte [ebp - 0x29]
jne 0x4d3dfd
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4d3e4b
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4d3e4b
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.00406b2c
mov ebx, eax
test ebx, ebx
je 0x4d3e56
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x10]
call fcn.00407ee0
mov word [eax + ebx*2 - 2], 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b55c8]
call fcn.004bbbd8
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.004c2100
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.004c2114
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x464b1c]
call fcn.0046a238
mov ebx, eax
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00496110
mov eax, dword [ebx + 0x64]
mov edx, 0x4d4834
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 [0x4d4840]
call fcn.004515c4
mov eax, dword [ebp - 0x1c]
call fcn.004959c4
sub eax, 0x28
cmp eax, dword [ebx + 0x48]
jge 0x4d3f05
mov edx, dword [ebx + 0x48]
add edx, 0x28
mov eax, dword [ebp - 0x1c]
call fcn.004bc850
mov eax, dword [ebp - 0x1c]
call fcn.004959c4
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fdiv dword [0x4d4844]
fild dword [ebx + 0x48]
fdiv dword [0x4d4844]
fsubp st(1)
call fcn.0040469c
mov edx, eax
mov eax, ebx
call fcn.004956b0
mov edx, 0x14
mov eax, ebx
call fcn.004956e4
mov dl, 4
mov eax, dword [ebp - 0x1c]
call fcn.004be0fc
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.004bd7e4
push 0x14
push 0x14
mov eax, dword [ebp - 0x1c]
call fcn.00495a04
push eax
mov eax, dword [ebp - 0x1c]
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 - 0x1c]
call fcn.0049f024
push eax
call sub.user32.dll_SetWindowRgn
mov edx, 0xfff4a8
mov eax, dword [ebp - 0x1c]
call fcn.00496290
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.0049d9ac
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x46f934]
call fcn.00470ae0
mov edi, eax
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x46f934]
call fcn.00470ae0
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x1b0]
mov dl, 5
call fcn.00451a98
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1b0]
mov dl, 5
call fcn.00451a98
mov eax, dword [edi + 0x1b4]
mov edx, 0xffdd69
call fcn.00451d50
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1b4]
mov edx, 0xffdd69
call fcn.00451d50
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x1c]
fild dword [eax + 0x48]
fdiv dword [0x4d4844]
call fcn.0040469c
mov edx, eax
sub edx, 2
mov eax, edi
call fcn.00495718
mov eax, dword [ebp - 0x1c]
fild dword [eax + 0x48]
fdiv dword [0x4d4844]
call fcn.0040469c
mov edx, eax
sub edx, 2
mov eax, dword [ebp - 0x28]
call fcn.00495718
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x4c]
sub edx, dword [edi + 0x4c]
mov eax, edi
call fcn.004956e4
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x4c]
sub edx, dword [edi + 0x4c]
mov eax, dword [ebp - 0x28]
call fcn.004956e4
mov eax, dword [ebp - 0x1c]
call fcn.004959c4
mov edx, eax
mov eax, dword [ebp - 0x28]
sub edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x28]
call fcn.004956b0
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x464b1c]
call fcn.0046a238
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x64]
mov edx, 0x3a2fff
call fcn.004511fc
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x64]
mov edx, 0x4d4834
call fcn.00451520
fild dword [edi + 0x44]
fdiv dword [0x4d4844]
mov eax, dword [ebp - 0x24]
fild dword [eax + 0x4c]
fdiv dword [0x4d4844]
fsubp st(1)
call fcn.0040469c
mov edx, eax
mov eax, dword [ebp - 0x24]
call fcn.004956e4
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x64]
mov edx, 0x18
call fcn.00451598
mov ecx, dword [ebp - 0x1c]
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 - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, 5
mov eax, ebx
call fcn.0049574c
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x48]
sub edx, 0x28
mov eax, ebx
call fcn.00495718
mov eax, dword [ebp - 0x1c]
call fcn.004959c4
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fdiv dword [0x4d4844]
fild dword [ebx + 0x48]
fdiv dword [0x4d4844]
fsubp st(1)
call fcn.0040469c
mov edx, eax
mov eax, ebx
call fcn.004956b0
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x24]
add edx, dword [eax + 0x4c]
mov eax, ebx
call fcn.004956e4
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x464b1c]
call fcn.0046a238
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x464b1c]
call fcn.0046a238
mov ebx, eax
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, 0x4d4854
mov eax, ebx
call fcn.00496110
mov eax, dword [ebx + 0x64]
mov edx, 0x4d4834
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 [0x4d4840]
call fcn.004515c4
fild dword [edi + 0x44]
fild dword [edi + 0x4c]
fdiv dword [0x4d4844]
faddp st(1)
fild dword [ebx + 0x4c]
fdiv dword [0x4d4844]
fsubp st(1)
call fcn.0040469c
mov edx, eax
mov eax, ebx
call fcn.004956e4
fild dword [edi + 0x48]
fdiv dword [0x4d4844]
fild dword [ebx + 0x48]
fdiv dword [0x4d4844]
fsubp st(1)
call fcn.0040469c
mov edx, eax
mov eax, ebx
call fcn.004956b0
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x464b1c]
call fcn.0046a238
mov ebx, eax
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, 0x4d4868
mov eax, ebx
call fcn.00496110
mov eax, dword [ebx + 0x64]
mov edx, 0x4d4834
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 [0x4d4840]
call fcn.004515c4
fild dword [edi + 0x44]
fild dword [edi + 0x4c]
fdiv dword [0x4d4844]
faddp st(1)
fild dword [ebx + 0x4c]
fdiv dword [0x4d4844]
fsubp st(1)
call fcn.0040469c
mov edx, eax
mov eax, ebx
call fcn.004956e4
mov eax, dword [ebp - 0x28]
fild dword [eax + 0x40]
mov eax, dword [ebp - 0x28]
fild dword [eax + 0x48]
fdiv dword [0x4d4844]
faddp st(1)
fild dword [ebx + 0x48]
fdiv dword [0x4d4844]
fsubp st(1)
call fcn.0040469c
mov edx, eax
mov eax, ebx
call fcn.004956b0
mov eax, dword [ebp - 0x1c]
call fcn.004c16dc
xor ebx, ebx
add bl, 2
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004c2114
push 1
call sub.kernel32.dll_Sleep_1
mov eax, dword [esi]
call fcn.004c6084
cmp bl, 0xfa
jb 0x4d4306
jmp 0x4d4799
mov eax, dword [ebp - 0x1c]
call fcn.00496380
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
call fcn.00496110
mov eax, dword [ebp - 0x1c]
call fcn.004959c4
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fdiv dword [0x4d4844]
mov eax, dword [ebp - 0x24]
fild dword [eax + 0x48]
fdiv dword [0x4d4844]
fsubp st(1)
call fcn.0040469c
mov edx, eax
mov eax, dword [ebp - 0x24]
call fcn.004956b0
mov bx, 0x41
movzx eax, bx
push eax
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d439f
lea eax, [ebp - 0x40]
mov edx, ebx
call fcn.00407598
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0xc]
call fcn.00407840
jmp 0x4d439f
mov eax, dword [esi]
call fcn.004c6084
movzx eax, bx
push eax
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4d4398
inc ebx
cmp bx, 0x5b
jne 0x4d4373
mov bx, 0x30
movzx eax, bx
push eax
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d43e4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00407598
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0xc]
call fcn.00407840
jmp 0x4d43e4
mov eax, dword [esi]
call fcn.004c6084
movzx eax, bx
push eax
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4d43dd
inc ebx
cmp bx, 0x3a
jne 0x4d43b8
push 0x20
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d441b
lea eax, [ebp - 0xc]
mov edx, 0x4d4824
call fcn.00407840
jmp 0x4d441b
mov eax, dword [esi]
call fcn.004c6084
push 0x20
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4d4414
push 8
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d4489
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4d4459
mov eax, dword [ebp - 0x30]
sub eax, 0xa
cmp word [eax], 2
je 0x4d4459
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00406b2c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4d4470
mov eax, dword [ebp - 0x34]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [ebp - 0x34]
call fcn.00407c3c
jmp 0x4d4489
mov eax, dword [esi]
call fcn.004c6084
push 8
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4d4482
lea ecx, [ebp - 0x54]
xor edx, edx
xor eax, eax
call fcn.004321e4
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x4c]
mov eax, edi
call fcn.00495ad4
mov ebx, dword [ebp - 0x4c]
lea edx, [ebp - 0x54]
mov eax, dword [0x508c20]
mov eax, dword [eax]
call fcn.004a4eac
cmp ebx, dword [ebp - 0x54]
jg 0x4d45ea
lea ecx, [ebp - 0x64]
mov eax, dword [edi + 0x48]
xor edx, edx
call fcn.004321e4
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x5c]
mov eax, edi
call fcn.00495ad4
mov ebx, dword [ebp - 0x5c]
lea edx, [ebp - 0x64]
mov eax, dword [0x508c20]
mov eax, dword [eax]
call fcn.004a4eac
cmp ebx, dword [ebp - 0x64]
jl 0x4d45ea
lea ecx, [ebp - 0x74]
xor edx, edx
xor eax, eax
call fcn.004321e4
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x6c]
mov eax, edi
call fcn.00495ad4
mov ebx, dword [ebp - 0x68]
lea edx, [ebp - 0x74]
mov eax, dword [0x508c20]
mov eax, dword [eax]
call fcn.004a4eac
cmp ebx, dword [ebp - 0x70]
jg 0x4d45ea
lea ecx, [ebp - 0x84]
mov edx, dword [edi + 0x4c]
xor eax, eax
call fcn.004321e4
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x7c]
mov eax, edi
call fcn.00495ad4
mov ebx, dword [ebp - 0x78]
lea edx, [ebp - 0x84]
mov eax, dword [0x508c20]
mov eax, dword [eax]
call fcn.004a4eac
cmp ebx, dword [ebp - 0x80]
jl 0x4d45ea
jmp 0x4d4599
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 [esi]
call fcn.004c6084
mov eax, dword [edi + 0x1b4]
call fcn.00451d48
call fcn.0040cb34
cmp al, 0xbe
ja 0x4d456e
push 1
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d45fe
mov byte [ebp - 0x1d], 1
jmp 0x4d45fe
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 [esi]
call fcn.004c6084
mov eax, dword [edi + 0x1b4]
call fcn.00451d48
call fcn.0040cb34
cmp al, 0xdd
jb 0x4d45bf
lea ecx, [ebp - 0x54]
xor edx, edx
xor eax, eax
call fcn.004321e4
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x28]
call fcn.00495ad4
mov ebx, dword [ebp - 0x4c]
lea edx, [ebp - 0x54]
mov eax, dword [0x508c20]
mov eax, dword [eax]
call fcn.004a4eac
cmp ebx, dword [ebp - 0x54]
jg 0x4d477b
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x48]
xor edx, edx
call fcn.004321e4
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x28]
call fcn.00495ad4
mov ebx, dword [ebp - 0x5c]
lea edx, [ebp - 0x64]
mov eax, dword [0x508c20]
mov eax, dword [eax]
call fcn.004a4eac
cmp ebx, dword [ebp - 0x64]
jl 0x4d477b
lea ecx, [ebp - 0x74]
xor edx, edx
xor eax, eax
call fcn.004321e4
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp - 0x28]
call fcn.00495ad4
mov ebx, dword [ebp - 0x68]
lea edx, [ebp - 0x74]
mov eax, dword [0x508c20]
mov eax, dword [eax]
call fcn.004a4eac
cmp ebx, dword [ebp - 0x70]
jg 0x4d477b
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x4c]
xor eax, eax
call fcn.004321e4
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x7c]
mov eax, dword [ebp - 0x28]
call fcn.00495ad4
mov ebx, dword [ebp - 0x78]
lea edx, [ebp - 0x84]
mov eax, dword [0x508c20]
mov eax, dword [eax]
call fcn.004a4eac
cmp ebx, dword [ebp - 0x80]
jl 0x4d477b
jmp 0x4d4716
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1b4]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub edx, 0x100
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1b4]
call fcn.00451d50
push 5
call sub.kernel32.dll_Sleep_1
mov eax, dword [esi]
call fcn.004c6084
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1b4]
call fcn.00451d48
call fcn.0040cb34
cmp al, 0xbe
ja 0x4d46e5
push 1
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4d4792
mov byte [ebp - 0x1d], 1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00407480
jmp 0x4d4792
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1b4]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add edx, 0x100
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1b4]
call fcn.00451d50
push 5
call sub.kernel32.dll_Sleep_1
mov eax, dword [esi]
call fcn.004c6084
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1b4]
call fcn.00451d48
call fcn.0040cb34
cmp al, 0xdd
jb 0x4d474a
mov eax, dword [esi]
call fcn.004c6084
cmp byte [ebp - 0x1d], 0
je 0x4d432b
mov bl, 0xfa
sub bl, 2
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.004c2114
push 1
call sub.kernel32.dll_Sleep_1
mov eax, dword [esi]
call fcn.004c6084
cmp bl, 2
ja 0x4d47a5
mov dl, 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.0040742c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4811
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00407424
lea eax, [ebp - 0x38]
call fcn.0040741c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00407424
ret