Function at 0x1004feea
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov ebx, dword [0x1008127a]
add ebx, 0x3c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x1004ff3e
mov dword [ebp - 4], esp
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x1004ff39
push 0x39
push 0x401779c
push 6
call fcn.100554cd
add esp, 0xc
jmp 0x1004ff6c
mov dword [ebp - 4], esp
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x1004ff6c
push 0x56
push 0x401779c
push 6
call fcn.100554cd
add esp, 0xc
mov eax, dword [0x10081222]
cdq
push edx
push eax
call fcn.10003b11
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x10050939
mov ebx, dword [0x10081282]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [0x10081286]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
fild qword [ebx]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
mov ebx, dword [ebp - 8]
fild dword [ebx]
fstp qword [ebp - 0x18]
fadd qword [ebp - 0x18]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.100011a0
push edx
push eax
call fcn.10006408
mov dword [ebp - 0x28], eax
fld dword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fcomp qword [0x10071afd]
fnstsw ax
test ah, 0x41
jne 0x100508df
mov dword [ebp - 4], esp
call dword [0x10081356]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x10050009
push 0x168
push 0x401779c
push 6
call fcn.100554cd
add esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [0x1008120a]
cmp dword [ebp - 0xc], eax
jne 0x1005003b
mov eax, dword [0x10081242]
cdq
push edx
push eax
call fcn.10003b11
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1005003b
mov eax, 1
jmp 0x10050040
mov eax, 0
test eax, eax
je 0x100508da
mov ebx, dword [0x1008127a]
add ebx, 0x38
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10050094
mov ebx, dword [0x1008127a]
add ebx, 0x40
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x10050094
mov ebx, dword [0x1008127a]
add ebx, 0x3c
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 0
jne 0x10050094
xor eax, eax
jmp 0x10050099
mov eax, 1
test eax, eax
je 0x10050799
mov ebx, dword [0x10081282]
add ebx, 0x30
mov dword [ebp - 4], ebx
xor eax, eax
mov ebx, dword [ebp - 4]
cmp dword [ebx + 4], 0
jl 0x100500c3
jg 0x100500c2
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jbe 0x100500c3
inc eax
test eax, eax
je 0x10050794
mov dword [ebp - 4], esp
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x100500f9
push 0x298
push 0x401779c
push 6
call fcn.100554cd
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10050125
mov ebx, dword [0x1008127a]
add ebx, 0x48
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
jne 0x10050125
mov eax, 1
jmp 0x1005012a
mov eax, 0
test eax, eax
jne 0x10050283
mov dword [ebp - 0x20], esp
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10050160
push 0x30f
push 0x401779c
push 6
call fcn.100554cd
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x1005018c
mov ebx, dword [0x1008127a]
add ebx, 0x48
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp dword [ebx], 1
jne 0x1005018c
mov eax, 1
jmp 0x10050191
mov eax, 0
test eax, eax
jne 0x10050283
mov dword [ebp - 0x3c], esp
push 0x45
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x100501c7
push 0x386
push 0x401779c
push 6
call fcn.100554cd
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x100501f3
mov ebx, dword [0x1008127a]
add ebx, 0x48
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp dword [ebx], 2
jne 0x100501f3
mov eax, 1
jmp 0x100501f8
mov eax, 0
test eax, eax
jne 0x10050283
mov dword [ebp - 0x58], esp
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 0x58], esp
je 0x1005022e
push 0x3f9
push 0x401779c
push 6
call fcn.100554cd
add esp, 0xc
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x1005025a
mov ebx, dword [0x1008127a]
add ebx, 0x48
mov dword [ebp - 0x68], ebx
mov ebx, dword [ebp - 0x68]
cmp dword [ebx], 3
jne 0x1005025a
mov eax, 1
jmp 0x1005025f
mov eax, 0
test eax, eax
jne 0x10050283
mov ebx, dword [0x1008127a]
add ebx, 0x48
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x74]
cmp dword [ebx], 4
je 0x10050283
xor eax, eax
jmp 0x10050288
mov eax, 1
test eax, eax
je 0x100506ba
mov ebx, dword [0x100812d2]
add ebx, 8
mov dword [ebp - 4], ebx
xor eax, eax
mov ebx, dword [ebp - 4]
cmp dword [ebx + 4], 0
jl 0x100502b2
jg 0x100502b1
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jbe 0x100502b2
inc eax
test eax, eax
je 0x100506b5
mov ebx, dword [0x10081282]
add ebx, 0x38
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0x19
jne 0x100502d2
cmp dword [ebx + 4], 0
je 0x100504c9
mov ebx, dword [0x100812d2]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
push dword [ebx + 4]
push dword [ebx]
call fcn.10019298
test eax, eax
je 0x10050352
mov ebx, dword [0x100812d2]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10050326
mov ebx, dword [0x100812d2]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 1
mov ebx, dword [0x100812d2]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x1005034d
mov ebx, dword [0x100812d2]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 1
jmp 0x10050493
mov ebx, dword [0x100812d2]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x1005037f
mov ebx, dword [0x100812d2]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov ebx, dword [0x1008124a]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10050432
mov ebx, dword [0x10081282]
add ebx, 0x38
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 5
jne 0x100503af
cmp dword [ebx + 4], 0
jne 0x100503e9
mov ebx, dword [0x10081282]
add ebx, 0x30
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
fild qword [ebx]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x10071de4]
fstp qword [ebp - 0x14]
push 0
fld qword [ebp - 0x14]
call fcn.100011a0
push edx
push eax
call fcn.100044c8
mov ebx, dword [0x1008128a]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [0x1008128a]
add ebx, 0x18
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
cdq
push edx
push eax
call fcn.10004bf1
mov ebx, dword [0x1008124a]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov ebx, dword [0x100812d2]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10050459
mov ebx, dword [0x100812d2]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov ebx, dword [0x100812d2]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10050471
cmp dword [ebx + 4], 0
je 0x10050493
mov ebx, dword [0x100812d2]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov ebx, dword [0x100812d2]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x100504c4
mov ebx, dword [0x100812d2]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
push dword [ebx + 4]
push dword [ebx]
call fcn.10050942
jmp 0x100506b5
mov ebx, dword [0x100812d2]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
push dword [ebx + 4]
push dword [ebx]
call fcn.100129a9
test eax, eax
je 0x10050543
mov ebx, dword [0x100812d2]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10050517
mov ebx, dword [0x100812d2]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 1
mov ebx, dword [0x100812d2]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x1005053e
mov ebx, dword [0x100812d2]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 1
jmp 0x10050684
mov ebx, dword [0x100812d2]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10050570
mov ebx, dword [0x100812d2]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov ebx, dword [0x1008124a]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10050623
mov ebx, dword [0x10081282]
add ebx, 0x38
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 5
jne 0x100505a0
cmp dword [ebx + 4], 0
jne 0x100505da
mov ebx, dword [0x10081282]
add ebx, 0x30
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
fild qword [ebx]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x10071de4]
fstp qword [ebp - 0x14]
push 0
fld qword [ebp - 0x14]
call fcn.100011a0
push edx
push eax
call fcn.100044c8
mov ebx, dword [0x1008128a]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [0x1008128a]
add ebx, 0x18
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
cdq
push edx
push eax
call fcn.10004bf1
mov ebx, dword [0x1008124a]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov ebx, dword [0x100812d2]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x1005064a
mov ebx, dword [0x100812d2]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov ebx, dword [0x100812d2]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10050662
cmp dword [ebx + 4], 0
je 0x10050684
mov ebx, dword [0x100812d2]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov ebx, dword [0x100812d2]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x100506b5
mov ebx, dword [0x100812d2]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
push dword [ebx + 4]
push dword [ebx]
call fcn.10050942
jmp 0x10050794
mov ebx, dword [0x100812d2]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 1
jne 0x100506e1
mov ebx, dword [0x100812d2]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov ebx, dword [0x1008124a]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10050794
mov ebx, dword [0x10081282]
add ebx, 0x38
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 5
jne 0x10050711
cmp dword [ebx + 4], 0
jne 0x1005074b
mov ebx, dword [0x10081282]
add ebx, 0x30
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
fild qword [ebx]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x10071de4]
fstp qword [ebp - 0x14]
push 0
fld qword [ebp - 0x14]
call fcn.100011a0
push edx
push eax
call fcn.100044c8
mov ebx, dword [0x1008128a]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [0x1008128a]
add ebx, 0x18
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
cdq
push edx
push eax
call fcn.10004bf1
mov ebx, dword [0x1008124a]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
jmp 0x100508da
mov ebx, dword [0x100812d2]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x100507c6
mov ebx, dword [0x100812d2]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov ebx, dword [0x1008124a]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10050879
mov ebx, dword [0x10081282]
add ebx, 0x38
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 5
jne 0x100507f6
cmp dword [ebx + 4], 0
jne 0x10050830
mov ebx, dword [0x10081282]
add ebx, 0x30
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
fild qword [ebx]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x10071de4]
fstp qword [ebp - 0x14]
push 0
fld qword [ebp - 0x14]
call fcn.100011a0
push edx
push eax
call fcn.100044c8
mov ebx, dword [0x1008128a]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [0x1008128a]
add ebx, 0x18
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
cdq
push edx
push eax
call fcn.10004bf1
mov ebx, dword [0x1008124a]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov ebx, dword [0x100812d2]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x100508a0
mov ebx, dword [0x100812d2]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov ebx, dword [0x100812d2]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x100508b8
cmp dword [ebx + 4], 0
je 0x100508da
mov ebx, dword [0x100812d2]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
mov dword [ebx], 0
mov dword [ebx + 4], 0
jmp 0x10050939
mov ebx, dword [0x10081282]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [0x10081286]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
fild qword [ebx]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
mov ebx, dword [ebp - 8]
fild dword [ebx]
fstp qword [ebp - 0x18]
fadd qword [ebp - 0x18]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.100011a0
push edx
push eax
call fcn.10006408
mov dword [ebp - 0x28], eax
fld dword [ebp - 0x28]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fcomp qword [0x10071afd]
fnstsw ax
test ah, 0x41
je 0x10050939
jmp 0x1004fef3