Function at 0x472260
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b12b0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
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 0x4722a5
cmp dword [ebp + 0xc], 0
jne 0x4722a5
lea ecx, [ebp + 0x14]
call fcn.0043f250
xor eax, eax
jmp 0x472adf
mov edi, dword [0x4bdea0]
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
test edi, edi
jns 0x4722c1
mov dword [0x4bdea0], 0
jmp 0x4722e3
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 0x4722e0
dec eax
mov dword [0x4bdea0], 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
jne 0x472302
mov dword [0x4bdea0], 0xffffffff
sub esp, 0x10
mov eax, esp
push 0x118
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, 0x14
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, 0x15
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
movzx ecx, cl
mov eax, edi
shl eax, 8
or eax, ecx
shl edi, 8
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
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 + 0x116]
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 0x472acf
xor edi, edi
mov dword [ebp - 0x74], edi
cmp si, 0xb
jge 0x472aa0
mov esi, dword [ebp + 0xc]
mov edx, dword [0x4bdda8]
imul ecx, edi, 0x19
lea eax, [esi + 0x19]
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 0x4726ad
cmp edx, dword [0x4bddb8]
jg 0x4726ad
mov ecx, dword [0x4bddac]
cmp ecx, dword [0x4bddb4]
jl 0x4726aa
cmp ecx, dword [0x4bddbc]
jg 0x4726aa
sub edx, dword [0x4bddb0]
cmp edx, eax
jl 0x4726aa
add eax, 0xe8
cmp edx, eax
jg 0x4726aa
sub ecx, dword [0x4bddb4]
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jl 0x4726aa
add eax, 0x14
cmp ecx, eax
jg 0x4726aa
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x4bdd94]
jne 0x4725b2
cmp dword [0x4bddc8], 0
jne 0x4725b2
cmp dword [0x4bddcc], 0
jne 0x4725b2
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call esi
bt ax, 0xf
jae 0x47252b
push 0
push 0
push 0
push 0
push 4
call dword [sym.imp.USER32.dll_mouse_event]
mov dword [0x4bdea0], edi
push 0x26
call esi
bt ax, 0xf
jae 0x472553
push 0
push 2
push 0
push 0x26
call dword [sym.imp.USER32.dll_keybd_event]
mov esi, dword [0x4bdea0]
dec esi
mov dword [0x4bdea0], esi
jmp 0x472581
push 0x28
call esi
bt ax, 0xf
jae 0x47257b
push 0
push 2
push 0
push 0x28
call dword [sym.imp.USER32.dll_keybd_event]
mov esi, dword [0x4bdea0]
inc esi
mov dword [0x4bdea0], esi
jmp 0x472581
mov esi, dword [0x4bdea0]
test esi, esi
jns 0x472591
mov dword [0x4bdea0], 0
jmp 0x4725b2
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 0x4725b2
dec eax
mov dword [0x4bdea0], 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, 0x19
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 [0x4bdea0], edi
jne 0x4728ec
lea eax, [ecx + 0x1e]
add eax, esi
movd xmm2, eax
mov eax, dword fs:[0x2c]
cvtdq2ps xmm2, xmm2
mov ecx, dword [eax]
mov eax, dword [0x4bea88]
movss dword [ebp - 0x6c], xmm2
cmp eax, dword [ecx + 4]
jle 0x472714
push 0x4bea88
call fcn.004af27e
add esp, 4
cmp dword [0x4bea88], 0xffffffff
jne 0x47270f
movss xmm0, dword [ebp - 0x6c]
push 0x4bea88
movss dword [0x4bebec], xmm0
call fcn.004af22d
add esp, 4
movss xmm2, dword [ebp - 0x6c]
movss xmm1, dword [0x4bebec]
comiss xmm2, xmm1
movss dword [ebp - 0x6c], xmm1
jbe 0x472738
subss xmm2, xmm1
mulss xmm2, dword [0x4b4afc]
addss xmm1, xmm2
jmp 0x472750
comiss xmm1, xmm2
jbe 0x47275d
movaps xmm0, xmm1
subss xmm0, xmm2
mulss xmm0, dword [0x4b4afc]
subss xmm1, xmm0
movss dword [0x4bebec], 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 0x472a93
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, 0x1e
add eax, edx
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 - 0x6c], eax
cmp eax, 0xf
jbe 0x47296f
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 0x472a37
cmp dword [ebp - 0x6c], 0xf
jbe 0x472996
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 0x472a37
mov ecx, dword [ebp - 0x74]
mov esi, dword [ebp + 0x14]
add ecx, esi
cmp dword [ebp - 0x6c], 0xf
jbe 0x4729c2
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x70]
push 4
push str.NONE
call fcn.004aee90
add esp, 8
test al, al
jne 0x472a37
lea eax, [edi + edi*2]
cmp dword [esi + eax*8 + 0x14], 0xf
lea edx, [esi + eax*8]
mov ecx, edx
jbe 0x4729e9
mov ecx, dword [edx]
mov edx, dword [edx + 0x10]
push 4
push str.NULL
call fcn.004aee90
add esp, 8
test al, al
jne 0x472a37
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 0x472a6d
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, 0x1d
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 0x472444
mov esi, dword [0x4bdea0]
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