Function at 0x1002d17e
Capabilities:
Log keystrokes via polling
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100628b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002d56b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x40], 0x6d4e
mov dword [ebp - 0xa0], str.tjz_rppwo_tjrplv_rertlxsbv_bcqo_ykfspzwp_cpdcvytlp_evbejotxq_sbplzqve_avqqeoyq
cmp dword [ebp - 0x40], 0x7014
jle 0x1002d275
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
and dword [ebp - 0x24], 0
jmp 0x1002d1f3
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2091
jge 0x1002d26b
and dword [ebp - 0x38], 0
jmp 0x1002d209
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x50e0
jge 0x1002d269
and dword [ebp - 0x1c], 0
jmp 0x1002d21f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7b6f
jge 0x1002d267
and dword [ebp - 0x34], 0
jmp 0x1002d235
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x317e
jge 0x1002d265
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
sar eax, cl
or eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, 0x1007d858
call fcn.1000bb8e
jmp 0x1002d22e
jmp 0x1002d218
jmp 0x1002d202
jmp 0x1002d1ec
push 0
push 0
call dword [sym.imp.GDI32.dll_CopyEnhMetaFileA]
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0x6a8d
jge 0x1002d298
mov edx, dword [ebp - 0xa0]
mov ecx, 0x1007d858
call fcn.1000dfd7
jmp 0x1002d2b4
or dword [ebp - 4], 0xffffffff
jmp 0x1002d2be
lea eax, [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x1002d416
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x1002d411
mov dword [ebp - 0x44], 0x7323
mov dword [ebp - 0x68], str.ykqpqdyp_nhoev_dhfvvn_dpuby_ixksoinu
cmp dword [ebp - 0x44], 0x761f
jle 0x1002d3b9
and dword [ebp - 0x14], 0
jmp 0x1002d314
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x7e97
jge 0x1002d3aa
and dword [ebp - 0x3c], 0
jmp 0x1002d32e
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x15df
jge 0x1002d3a5
and dword [ebp - 0x2c], 0
jmp 0x1002d344
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x6971
jge 0x1002d3a3
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
shl eax, cl
cdq
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
lea ecx, [ebp - 0xb8]
call fcn.1000260d
pop ecx
pop ecx
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
call fcn.1000bb0c
push eax
call fcn.1004ae5e
pop ecx
lea ecx, [ebp - 0xb8]
call fcn.1000bb02
jmp 0x1002d33d
jmp 0x1002d327
jmp 0x1002d30d
push 0
push 0x194d
push 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
push 0x97e
push 0x8fc
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
call dword [sym.imp.USER32.dll_GetMessageA]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x44], 0x7087
jge 0x1002d3eb
push dword [ebp - 0x68]
call fcn.1004ae5e
pop ecx
jmp 0x1002d407
or dword [ebp - 4], 0xffffffff
jmp 0x1002d411
jmp 0x1002d569
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], 0x278
mov dword [ebp - 0x6c], str.knvmhvn_czh_ygpivwxn_xbvnqql_ibgn_aabeeuj_qriykqniw_ouelpu_xvqorxvzj_mowf_odtigygg_mdf
cmp dword [ebp - 0x48], 0x654
jle 0x1002d512
and dword [ebp - 0x28], 0
jmp 0x1002d44d
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x2961
jge 0x1002d50a
and dword [ebp - 0x30], 0
jmp 0x1002d467
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x48ac
jge 0x1002d505
and dword [ebp - 0x18], 0
jmp 0x1002d481
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4d64
jge 0x1002d500
and dword [ebp - 0x20], 0
jmp 0x1002d497
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7f60
jge 0x1002d4fb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
shl eax, cl
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
and eax, ecx
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
lea ecx, [ebp - 0xd0]
call fcn.1000260d
pop ecx
pop ecx
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
call fcn.1000bb0c
push eax
call fcn.1004ae5e
pop ecx
lea ecx, [ebp - 0xd0]
call fcn.1000bb02
jmp 0x1002d490
jmp 0x1002d47a
jmp 0x1002d460
jmp 0x1002d446
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, word [eax]
push eax
mov ecx, dword [ebp - 0x64]
call fcn.1000bd2b
mov dword [ebp - 4], 4
cmp dword [ebp - 0x48], 0xffffff9e
jge 0x1002d543
push dword [ebp - 0x6c]
call fcn.1004ae5e
pop ecx
jmp 0x1002d55f
or dword [ebp - 4], 0xffffffff
jmp 0x1002d569
jmp 0x1002d58d
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
push 0x5055
push 0x533e
push dword [ebp - 0x74]
push 0x39cc
push 0
call fcn.10038e4f
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret