Function at 0x4a3b70
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
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x7c], esi
jne 0x4a3bbb
cmp dword [ebp + 0xc], 0
jne 0x4a3bbb
lea ecx, [ebp + 0x14]
call fcn.0043f250
xor eax, eax
jmp 0x4a43ce
cmp dword [esi], 0
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
jge 0x4a3bce
mov dword [esi], 0
jmp 0x4a3bed
mov ecx, edi
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esi], eax
jb 0x4a3bea
dec eax
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
sub edi, eax
mov eax, 0x2aaaaaab
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4a3c08
mov dword [esi], 0xffffffff
sub esp, 0x10
mov eax, esp
push 0x2a8
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0xff
mov eax, dword [ebp + 0xc]
add eax, 0x50
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 - 0x6c], eax
mov eax, 0x66666667
imul dword [0x4bdd88]
mov eax, dword [ebp + 0xc]
add eax, 0x51
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 - 0x6c]
mov dword [ebp - 0x58], eax
movzx edi, dl
movzx ecx, cl
mov eax, edi
shl eax, 8
or eax, ecx
shl edi, 8
shl eax, 8
mov dword [ebp - 0x6c], eax
mov eax, 0x66666667
imul dword [0x4bdd84]
mov ecx, dword [ebp - 0x6c]
sar edx, 2
mov eax, edx
mov word [ebp - 0x24], di
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], 0xa000a00
mov edx, dword [ebp - 0x78]
movzx eax, al
or ecx, eax
mov dword [ebp - 0x2c], edx
lea eax, [esi + 0xe8]
mov dword [ebp - 0x20], eax
lea eax, [edx + 0x2a6]
mov dword [ebp - 0x1c], eax
movzx eax, cl
and ecx, 0xff00
push 1
shl ax, 8
push 1
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x58]
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]
xor esi, esi
mov dword [ebp - 0x78], esi
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
je 0x4a43bf
xor edi, edi
mov dword [ebp - 0x74], edi
nop word [eax + eax]
cmp si, 0x1b
jge 0x4a4390
mov esi, dword [ebp + 0xc]
mov edx, dword [0x4bdda8]
imul eax, edi, 0x19
add eax, 0x55
add eax, esi
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
add eax, 0x36
cmp edx, dword [0x4bddb0]
jl 0x4a3f9c
cmp edx, dword [0x4bddb8]
jg 0x4a3f9c
mov ecx, dword [0x4bddac]
cmp ecx, dword [0x4bddb4]
jl 0x4a3f9c
cmp ecx, dword [0x4bddbc]
jg 0x4a3f9c
sub edx, dword [0x4bddb0]
cmp edx, eax
jl 0x4a3f9c
add eax, 0xe8
cmp edx, eax
jg 0x4a3f9c
sub ecx, dword [0x4bddb4]
mov eax, dword [ebp - 0x6c]
cmp ecx, eax
jl 0x4a3f9c
add eax, 0x14
cmp ecx, eax
jg 0x4a3f9c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x4bdd94]
jne 0x4a3ea1
cmp dword [0x4bddc8], 0
jne 0x4a3ea1
cmp dword [0x4bddcc], 0
jne 0x4a3ea1
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x4a3e33
push 0
push 0
push 0
push 0
push 4
call dword [sym.imp.USER32.dll_mouse_event]
mov esi, dword [ebp - 0x7c]
mov dword [esi], edi
jmp 0x4a3e36
mov esi, dword [ebp - 0x7c]
push 0x26
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x4a3e57
push 0
push 2
push 0
push 0x26
call dword [sym.imp.USER32.dll_keybd_event]
dec dword [esi]
jmp 0x4a3e76
push 0x28
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x4a3e76
push 0
push 2
push 0
push 0x28
call dword [sym.imp.USER32.dll_keybd_event]
inc dword [esi]
cmp dword [esi], 0
jge 0x4a3e83
mov dword [esi], 0
jmp 0x4a3ea1
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 dword [esi], eax
jb 0x4a3ea1
dec eax
mov dword [esi], eax
mov eax, 0x92492493
imul ecx, edi, 0x19
imul dword [0x4bdd8c]
mov esi, dword [ebp + 8]
add edx, dword [0x4bdd8c]
add esi, 0x36
sar edx, 2
mov eax, edx
mov dword [ebp - 0x14], 0xf00
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x6c], eax
mov eax, 0x92492493
imul dword [0x4bdd88]
push 0
add edx, dword [0x4bdd88]
sar edx, 2
mov eax, edx
mov dword [ebp - 0x30], esi
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], 0xf000f00
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xc]
add eax, 0x55
add eax, ecx
mov dword [ebp - 0x54], eax
xor eax, eax
mov word [ebp - 0x22], ax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
movzx edi, al
mov eax, dword [ebp - 0x70]
mov ecx, edi
movzx eax, al
shl ecx, 8
or ecx, eax
shl edi, 8
mov eax, 0x92492493
shl ecx, 8
imul dword [0x4bdd84]
mov dword [ebp - 0x6c], ecx
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
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 eax, dword [ebp - 0x7c]
imul ecx, edi, 0x19
add ecx, 0x5a
mov dword [ebp - 0x54], ecx
cmp dword [eax], edi
jne 0x4a41e1
lea eax, [ecx + esi]
movd xmm2, eax
mov eax, dword fs:[0x2c]
cvtdq2ps xmm2, xmm2
mov ecx, dword [eax]
mov eax, dword [0x4beb5c]
movss dword [ebp - 0x70], xmm2
cmp eax, dword [ecx + 4]
jle 0x4a4009
push 0x4beb5c
call fcn.004af27e
add esp, 4
cmp dword [0x4beb5c], 0xffffffff
jne 0x4a4004
movss xmm0, dword [ebp - 0x70]
push 0x4beb5c
movss dword [0x4be994], xmm0
call fcn.004af22d
add esp, 4
movss xmm2, dword [ebp - 0x70]
movss xmm1, dword [0x4be994]
comiss xmm2, xmm1
movss dword [ebp - 0x70], xmm1
jbe 0x4a402d
subss xmm2, xmm1
mulss xmm2, dword [0x4b4afc]
addss xmm1, xmm2
jmp 0x4a4045
comiss xmm1, xmm2
jbe 0x4a4052
movaps xmm0, xmm1
subss xmm0, xmm2
mulss xmm0, dword [0x4b4afc]
subss xmm1, xmm0
movss dword [0x4be994], xmm1
movss dword [ebp - 0x70], 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 - 0x70]
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 - 0x70]
subss xmm0, dword [0x4b4b04]
cvttss2si eax, xmm0
jmp 0x4a4383
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 eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp + 8]
add eax, 0x42
push eax
call fcn.00407920
mov esi, dword [ebp - 0x74]
add esi, dword [ebp + 0x14]
mov ecx, esi
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x70], eax
cmp eax, 0xf
jbe 0x4a425f
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov edx, eax
push 4
push str.None
mov dword [ebp - 0x6c], eax
call fcn.004aee90
add esp, 8
test al, al
jne 0x4a4327
cmp dword [ebp - 0x70], 0xf
jbe 0x4a4286
mov esi, dword [esi]
mov edx, dword [ebp - 0x6c]
mov ecx, esi
push 4
push str.none
call fcn.004aee90
add esp, 8
test al, al
jne 0x4a4327
mov ecx, dword [ebp - 0x74]
mov esi, dword [ebp + 0x14]
add ecx, esi
cmp dword [ebp - 0x70], 0xf
jbe 0x4a42b2
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x6c]
push 4
push str.NONE
call fcn.004aee90
add esp, 8
test al, al
jne 0x4a4327
lea eax, [edi + edi*2]
cmp dword [esi + eax*8 + 0x14], 0xf
lea edx, [esi + eax*8]
mov ecx, edx
jbe 0x4a42d9
mov ecx, dword [edx]
mov edx, dword [edx + 0x10]
push 4
push str.NULL
call fcn.004aee90
add esp, 8
test al, al
jne 0x4a4327
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 0x4a435d
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, 0x59
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 0x4a3d50
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp + 0x14]
mov esi, dword [eax]
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