Function at 0x49b5c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1280
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4bd040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jne 0x49b605
cmp dword [ebp + 0xc], 0
jne 0x49b605
lea ecx, [ebp + 0x14]
call fcn.0043f250
xor eax, eax
jmp 0x49be4f
mov edi, dword [0x4bd9dc]
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
test edi, edi
jns 0x49b621
mov dword [0x4bd9dc], 0
jmp 0x49b643
mov ecx, esi
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x49b640
dec eax
mov dword [0x4bd9dc], eax
mov eax, dword [ebp + 0x14]
sub esi, eax
mov eax, 0x2aaaaaab
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx ecx, ax
mov dword [ebp - 0x7c], ecx
jne 0x49b668
mov dword [0x4bd9dc], 0xffffffff
sub esp, 0x10
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0xff
movsx eax, cx
imul eax, eax, 0x19
mov dword [ebp - 0x74], eax
add eax, 5
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x32
push 0xea
push eax
mov eax, dword [ebp + 8]
add eax, 0x35
push eax
call fcn.00407780
mov eax, 0x66666667
mov esi, dword [ebp + 8]
imul dword [0x4bdd8c]
add esi, 0x36
mov dword [ebp - 0x14], 0xa00
sar edx, 2
mov eax, edx
mov dword [ebp - 0x54], 1
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x70], eax
mov eax, 0x66666667
imul dword [0x4bdd88]
mov eax, dword [ebp + 0xc]
add eax, 0x33
sar edx, 2
mov dword [ebp - 0x78], eax
mov ecx, edx
xor eax, eax
shr ecx, 0x1f
mov word [ebp - 0x22], ax
add ecx, edx
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x58], eax
movzx edi, dl
mov eax, edi
movzx ecx, cl
shl eax, 8
or eax, ecx
mov dword [ebp - 0x18], 0xa000a00
shl eax, 8
mov dword [ebp - 0x70], eax
mov eax, 0x66666667
imul dword [0x4bdd84]
mov ecx, dword [ebp - 0x70]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x78]
movzx eax, al
or ecx, eax
mov dword [ebp - 0x2c], edx
lea eax, [esi + 0xe8]
add edx, 3
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x74]
add eax, edx
mov dword [ebp - 0x1c], eax
movzx eax, cl
and ecx, 0xff00
shl ax, 8
push 1
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x58]
push 1
shl edi, 8
push eax
mov word [ebp - 0x26], cx
mov word [ebp - 0x24], di
push 2
lea eax, [ebp - 0x30]
push eax
push dword [0x4bdda4]
call dword [sym.imp.MSIMG32.dll_GradientFill]
mov ecx, dword [ebp + 0x18]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp + 0x14]
xor esi, esi
imul ecx
mov dword [ebp - 0x78], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x49be3f
xor edi, edi
mov dword [ebp - 0x74], edi
cmp si, word [ebp - 0x7c]
jge 0x49be10
mov esi, dword [ebp + 0xc]
mov edx, dword [0x4bdda8]
imul ecx, edi, 0x19
lea eax, [esi + 0x37]
add eax, ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 8]
add eax, 0x36
cmp edx, dword [0x4bddb0]
jl 0x49ba1d
cmp edx, dword [0x4bddb8]
jg 0x49ba1d
mov ecx, dword [0x4bddac]
cmp ecx, dword [0x4bddb4]
jl 0x49ba1a
cmp ecx, dword [0x4bddbc]
jg 0x49ba1a
sub edx, dword [0x4bddb0]
cmp edx, eax
jl 0x49ba1a
add eax, 0xe8
cmp edx, eax
jg 0x49ba1a
sub ecx, dword [0x4bddb4]
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jl 0x49ba1a
add eax, 0x14
cmp ecx, eax
jg 0x49ba1a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x4bdd94]
jne 0x49b922
cmp dword [0x4bddc8], 0
jne 0x49b922
cmp dword [0x4bddcc], 0
jne 0x49b922
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call esi
bt ax, 0xf
jae 0x49b89b
push 0
push 0
push 0
push 0
push 4
call dword [sym.imp.USER32.dll_mouse_event]
mov dword [0x4bd9dc], edi
push 0x26
call esi
bt ax, 0xf
jae 0x49b8c3
push 0
push 2
push 0
push 0x26
call dword [sym.imp.USER32.dll_keybd_event]
mov esi, dword [0x4bd9dc]
dec esi
mov dword [0x4bd9dc], esi
jmp 0x49b8f1
push 0x28
call esi
bt ax, 0xf
jae 0x49b8eb
push 0
push 2
push 0
push 0x28
call dword [sym.imp.USER32.dll_keybd_event]
mov esi, dword [0x4bd9dc]
inc esi
mov dword [0x4bd9dc], esi
jmp 0x49b8f1
mov esi, dword [0x4bd9dc]
test esi, esi
jns 0x49b901
mov dword [0x4bd9dc], 0
jmp 0x49b922
mov ecx, dword [ebp + 0x18]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp + 0x14]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x49b922
dec eax
mov dword [0x4bd9dc], eax
mov eax, 0x92492493
mov esi, dword [ebp + 8]
imul dword [0x4bdd8c]
add esi, 0x36
mov dword [ebp - 0x14], 0xf00
add edx, dword [0x4bdd8c]
sar edx, 2
mov eax, edx
mov dword [ebp - 0x5c], 1
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x70], eax
mov eax, 0x92492493
imul dword [0x4bdd88]
mov eax, dword [ebp + 0xc]
add edx, dword [0x4bdd88]
sar edx, 2
mov ecx, edx
mov dword [ebp - 0x18], 0xf000f00
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0x6c]
add edx, 0x37
add eax, edx
mov dword [ebp - 0x54], eax
xor eax, eax
mov word [ebp - 0x22], ax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x70]
movzx edi, al
movzx eax, cl
mov edx, edi
shl edx, 8
or edx, eax
shl edi, 8
shl edx, 8
mov eax, 0x92492493
mov dword [ebp - 0x70], edx
imul dword [0x4bdd84]
mov ecx, dword [ebp - 0x70]
add edx, dword [0x4bdd84]
sar edx, 2
mov eax, edx
mov word [ebp - 0x24], di
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x54]
movzx eax, al
or ecx, eax
mov dword [ebp - 0x2c], edx
lea eax, [esi + 0xe8]
mov dword [ebp - 0x20], eax
lea eax, [edx + 0x14]
mov dword [ebp - 0x1c], eax
movzx eax, cl
and ecx, 0xff00
push 0
shl ax, 8
push 1
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x60]
push eax
push 2
lea eax, [ebp - 0x30]
mov word [ebp - 0x26], cx
push eax
push dword [0x4bdda4]
call dword [sym.imp.MSIMG32.dll_GradientFill]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
cmp dword [0x4bd9dc], edi
jne 0x49bc5c
lea eax, [ecx + 0x3c]
add eax, esi
movd xmm2, eax
mov eax, dword fs:[0x2c]
cvtdq2ps xmm2, xmm2
mov ecx, dword [eax]
mov eax, dword [0x4bea24]
movss dword [ebp - 0x6c], xmm2
cmp eax, dword [ecx + 4]
jle 0x49ba84
push 0x4bea24
call fcn.004af27e
add esp, 4
cmp dword [0x4bea24], 0xffffffff
jne 0x49ba7f
movss xmm0, dword [ebp - 0x6c]
push 0x4bea24
movss dword [0x4bea2c], xmm0
call fcn.004af22d
add esp, 4
movss xmm2, dword [ebp - 0x6c]
movss xmm1, dword [0x4bea2c]
comiss xmm2, xmm1
movss dword [ebp - 0x6c], xmm1
jbe 0x49baa8
subss xmm2, xmm1
mulss xmm2, dword [0x4b4afc]
addss xmm1, xmm2
jmp 0x49bac0
comiss xmm1, xmm2
jbe 0x49bacd
movaps xmm0, xmm1
subss xmm0, xmm2
mulss xmm0, dword [0x4b4afc]
subss xmm1, xmm0
movss dword [0x4bea2c], xmm1
movss dword [ebp - 0x6c], xmm1
mov eax, 0x2aaaaaab
mov esi, dword [ebp + 8]
imul dword [0x4bdd8c]
movaps xmm0, xmm1
subss xmm0, dword [0x4b4c08]
add esi, 0x36
mov dword [ebp - 0x34], 0xf00
mov eax, edx
mov dword [ebp - 0x64], 1
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], eax
mov eax, 0x2aaaaaab
imul dword [0x4bdd88]
xor eax, eax
mov dword [ebp - 0x38], 0xf000f00
mov word [ebp - 0x42], ax
mov ecx, edx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x54]
movzx edi, al
shr ecx, 0x1f
mov eax, edi
shl eax, 8
add ecx, edx
mov dword [ebp - 0x54], eax
movzx eax, cl
mov ecx, dword [ebp - 0x54]
or ecx, eax
shl edi, 8
mov eax, 0x2aaaaaab
shl ecx, 8
imul dword [0x4bdd84]
push 0
mov eax, edx
mov word [ebp - 0x44], di
shr eax, 0x1f
add eax, edx
cvttss2si edx, xmm0
movzx eax, al
or ecx, eax
lea eax, [esi + 0xe8]
mov dword [ebp - 0x40], eax
push 1
mov dword [ebp - 0x4c], edx
lea eax, [edx + 0x14]
mov dword [ebp - 0x3c], eax
movzx eax, cl
and ecx, 0xff00
shl ax, 8
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x68]
push eax
push 2
lea eax, [ebp - 0x50]
mov word [ebp - 0x46], cx
push eax
push dword [0x4bdda4]
call dword [sym.imp.MSIMG32.dll_GradientFill]
mov eax, dword [ebp - 0x74]
mov esi, dword [ebp + 0x14]
push ecx
push 0x258
lea edi, [eax + eax*2]
movzx eax, word [0x4bdd80]
push eax
sub esp, 0x18
shl edi, 3
mov ecx, esp
add esi, edi
push 0x4bdd68
call fcn.00440d20
sub esp, 0x10
mov eax, esp
sub esp, 0x18
mov ecx, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0xff
push esi
call fcn.00440d20
cvttss2si eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp + 8]
add eax, 0x42
push eax
call fcn.00407920
movzx eax, word [0x4bdd80]
mov esi, dword [ebp + 0x14]
push ecx
push 0x258
push eax
sub esp, 0x18
add esi, edi
mov ecx, esp
push 0x4bdd68
call fcn.00440d20
movups xmm0, xmmword [0x4bdd84]
sub esp, 0x10
mov eax, esp
sub esp, 0x18
mov ecx, esp
push esi
movups xmmword [eax], xmm0
call fcn.00440d20
movss xmm0, dword [ebp - 0x6c]
subss xmm0, dword [0x4b4b04]
cvttss2si eax, xmm0
jmp 0x49be03
movzx eax, word [0x4bdd80]
lea ecx, [edi + edi*2]
mov esi, dword [ebp + 0x14]
shl ecx, 3
push ecx
push 0x190
push eax
sub esp, 0x18
mov dword [ebp - 0x74], ecx
add esi, ecx
mov ecx, esp
push 0x4bdd68
call fcn.00440d20
sub esp, 0x10
mov eax, esp
sub esp, 0x18
mov ecx, esp
push esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0xff
call fcn.00440d20
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp + 0xc]
add edx, 0x3c
add eax, edx
push eax
mov eax, dword [ebp + 8]
add eax, 0x42
push eax
call fcn.00407920
mov esi, dword [ebp + 0x14]
add esi, dword [ebp - 0x74]
mov ecx, esi
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x6c], eax
cmp eax, 0xf
jbe 0x49bcdf
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov edx, eax
push 4
push str.None
mov dword [ebp - 0x70], eax
call fcn.004aee90
add esp, 8
test al, al
jne 0x49bda7
cmp dword [ebp - 0x6c], 0xf
jbe 0x49bd06
mov esi, dword [esi]
mov edx, dword [ebp - 0x70]
mov ecx, esi
push 4
push str.none
call fcn.004aee90
add esp, 8
test al, al
jne 0x49bda7
mov ecx, dword [ebp - 0x74]
mov esi, dword [ebp + 0x14]
add ecx, esi
cmp dword [ebp - 0x6c], 0xf
jbe 0x49bd32
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x70]
push 4
push str.NONE
call fcn.004aee90
add esp, 8
test al, al
jne 0x49bda7
lea eax, [edi + edi*2]
cmp dword [esi + eax*8 + 0x14], 0xf
lea edx, [esi + eax*8]
mov ecx, edx
jbe 0x49bd59
mov ecx, dword [edx]
mov edx, dword [edx + 0x10]
push 4
push str.NULL
call fcn.004aee90
add esp, 8
test al, al
jne 0x49bda7
movzx eax, word [0x4bdd80]
push ecx
push 0x190
push eax
sub esp, 0x18
mov ecx, esp
push 0x4bdd68
call fcn.00440d20
sub esp, 0x10
mov eax, esp
mov dword [eax], 0xc8
mov dword [eax + 4], 0xc8
mov dword [eax + 8], 0xc8
jmp 0x49bddd
movzx eax, word [0x4bdd80]
push ecx
push 0x190
push eax
sub esp, 0x18
mov ecx, esp
push 0x4bdd68
call fcn.00440d20
sub esp, 0x10
mov eax, esp
mov dword [eax], 0x50
mov dword [eax + 4], 0x50
mov dword [eax + 8], 0x50
mov dword [eax + 0xc], 0xff
lea ecx, [edi + edi*2]
mov eax, dword [ebp + 0x14]
sub esp, 0x18
lea eax, [eax + ecx*8]
mov ecx, esp
push eax
call fcn.00440d20
mov eax, dword [ebp + 0xc]
imul ecx, edi, 0x19
add eax, 0x3b
add eax, ecx
push eax
mov eax, dword [ebp + 8]
add eax, 0x41
push eax
call fcn.00407920
mov ecx, dword [ebp + 0x18]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp + 0x14]
mov edi, dword [ebp - 0x78]
imul ecx
inc edi
sar edx, 2
mov eax, edx
mov dword [ebp - 0x78], edi
mov esi, dword [ebp - 0x78]
shr eax, 0x1f
movsx edi, di
add eax, edx
mov dword [ebp - 0x74], edi
cmp edi, eax
jb 0x49b7b4
mov esi, dword [0x4bd9dc]
lea ecx, [ebp + 0x14]
call fcn.0043f250
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af21a
mov esp, ebp
pop ebp
ret 0x20