Function at 0x402aa0
Capabilities:
Log keystrokes
Modify service
Query or enumerate registry key
Read clipboard data
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d260
push 0x42be30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ecx, ecx
cmp dword [0x42e0e0], 0x23
sete cl
mov eax, dword [str._4]
shl eax, cl
mov dword [str._4], eax
mov ecx, dword [0x42e0c8]
add ecx, 0xffffffde
xor dword [0x42e0e8], ecx
xor edx, edx
cmp eax, 0x24
setge dl
add dword [0x42e0c4], edx
xor esi, esi
mov dword [ebp - 0x24], esi
mov ebx, 1
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], reloc.Msi.dll_MsiDatabaseOpenViewW
mov dword [ebp - 4], esi
push 0x38
push esi
push esi
push 0x10000000
call fcn.004023c0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0xfffffffc
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x30], 0x378
mov dword [ebp - 0x2c], 3
push 3
push 0x378
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dword [ebp - 0x1c], 0xffffff00
mov dword [ebp - 0x1c], 0xffffff80
mov dword [ebp - 0x34], 0x911
push 0x911
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x1c], esi
push 0x1e
push 0xffffffffffffffd4
push esi
call fcn.0042baf0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x3c], 0xc14
push 0xc14
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_GetPriorityClipboardFormat]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], 0x81a
push 0xcfa
lea ecx, [ebp - 0x4c]
push ecx
push 0x1a
push esi
push esi
call sub.ADVAPI32.dll_LsaRemoveAccountRights
mov dword [ebp - 0x78], 0xf63
mov dword [ebp - 0x50], 0x68b
mov dword [ebp - 0x60], 0x43c
mov dword [ebp - 0x64], 0xad5
mov dword [ebp - 0x70], 0x115
mov dword [ebp - 0x74], 0x9cf
mov dword [ebp - 0x58], 0x944
mov dword [ebp - 0x54], 0x955
mov dword [ebp - 0x7c], 0xb47
mov dword [ebp - 0x5c], 0x49c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x50]
push edx
push 0x42e104
push 0xf63
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 0x20], ebx
push ebx
push esi
push esi
push ebx
call fcn.004023c0
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], 0x40
push 0x40
push esi
push 0x4cb
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov dword [ebp - 0x24], ebx
or esi, 0xffffffff
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xb8], 0x17b
lea eax, [ebp - 0xb4]
push eax
push 0x17b
push 0x604
push 0x89f
call dword [sym.imp.USER32.dll_SetMenuItemInfoA]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc0], 0x2f2
push 2
push 0x2f2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
jmp 0x402d1f
xor ecx, ecx
cmp eax, esi
setg cl
sar esi, cl
cmp esi, eax
jne 0x402d2e
not esi
mov edx, eax
mov ecx, eax
shl edx, cl
xor ebx, edx
mov ecx, ebx
imul ecx, eax
shl eax, cl
xor ecx, ecx
cmp esi, ebx
setge cl
shl eax, cl
mov edi, eax
xor eax, eax
cmp esi, 0xffffffc4
sete al
and esi, eax
mov dword [ebp - 0x1c], esi
mov ecx, edi
or ecx, esi
sar ebx, cl
mov dword [ebp - 0x24], ebx
mov dword [0x584124], 0
cmp dword [0x584124], 0x1ff
jge 0x403214
add edi, 0xb
mov dword [ebp - 0x20], edi
lea ecx, [ebx + edi]
test ecx, ecx
je 0x402d93
mov edx, 0xffffffc4
mov ecx, edi
shl edx, cl
and ebx, edx
mov dword [ebp - 0x24], ebx
mov eax, 0xffffffd3
sub eax, edi
je 0x402da5
mov ecx, esi
sub ecx, edi
and esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
mov edx, esi
xor edx, 0xffffffdb
je 0x402db6
mov dword [ebp - 0x20], edi
lea eax, [ebx + ebx]
test eax, eax
je 0x402dc9
xor ecx, ecx
cmp esi, ebx
setg cl
sar edi, cl
mov dword [ebp - 0x20], edi
lea ecx, [esi - 0x34]
test ecx, ecx
je 0x402dd5
add esi, edi
mov dword [ebp - 0x1c], esi
lea edx, [esi + 0x22]
test edx, edx
je 0x402de1
xor esi, esi
mov dword [ebp - 0x1c], esi
mov eax, ebx
or eax, edi
sub esi, eax
mov dword [ebp - 0x1c], esi
lea ecx, [esi - 0x24]
and esi, ecx
mov dword [ebp - 0x1c], esi
lea edx, [edi + edi*4]
shl edx, 3
je 0x402e07
xor eax, eax
cmp esi, 0xffffffca
setge al
xor esi, eax
mov dword [ebp - 0x1c], esi
mov edx, ebx
mov ecx, ebx
sar edx, cl
or ebx, edx
mov dword [ebp - 0x24], ebx
mov eax, ebx
imul eax, esi
xor esi, eax
mov dword [ebp - 0x1c], esi
mov eax, 0xffffffd9
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x20], eax
xor ecx, ecx
cmp esi, ebx
setl cl
and ecx, eax
mov edi, ecx
mov dword [ebp - 0x20], edi
xor esi, esi
mov dword [ebp - 0x1c], esi
xor edx, edx
cmp edi, 0xffffffc3
setg dl
or ebx, edx
mov dword [ebp - 0x24], ebx
mov ecx, 0x25
sub ecx, esi
sar edi, cl
mov dword [ebp - 0x20], edi
mov eax, ebx
or eax, 0xffffffd3
je 0x402e67
xor ecx, ecx
cmp edi, 0x2a
setl cl
and ebx, ecx
mov dword [ebp - 0x24], ebx
xor ecx, ecx
cmp esi, ebx
setl cl
shl edi, cl
mov dword [ebp - 0x20], edi
lea edx, [edi + esi]
and ebx, edx
mov dword [ebp - 0x24], ebx
mov eax, edi
and eax, esi
and ebx, eax
mov dword [ebp - 0x24], ebx
mov ecx, esi
or ecx, 0x3c
sub edi, ecx
mov dword [ebp - 0x20], edi
mov edx, ebx
shl edx, 5
sub edx, ebx
neg edx
shl edx, 1
je 0x402ea8
xor eax, eax
cmp edi, 0x3c
setne al
or ebx, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], esi
cmp esi, 0x37
jne 0x402eba
mov ecx, ebx
imul ecx, esi
shl edi, cl
mov dword [ebp - 0x20], edi
xor ecx, ecx
cmp edi, 0xffffffde
setne cl
sub esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xc8], 0x497
push 0
push 0x497
push 0x77
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
xor edx, edx
cmp edi, 0xffffffc5
setg dl
sub edi, edx
mov dword [ebp - 0x20], edi
xor ebx, esi
xor ebx, 0x35
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xcc], 0x4f
push 0xdbb
push 0x4f
call dword [sym.imp.USER32.dll_SetMenu]
mov eax, edi
sar eax, 0x3b
or ebx, eax
mov dword [ebp - 0x24], ebx
shl esi, 0xfe
mov dword [ebp - 0x1c], esi
push 0xca4
call dword [sym.imp.USER32.dll_SetMessageExtraInfo]
cmp ebx, 0x2c
jle 0x402f37
mov edx, esi
mov ecx, ebx
shl edx, cl
or edi, edx
mov dword [ebp - 0x20], edi
mov eax, 0x25
mov ecx, esi
shl eax, cl
add ebx, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xd0], 0xd30
push 0xd30
lea ecx, [ebp - 0x164]
push ecx
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
lea edx, [esi + esi*2]
shl edx, 3
sub edx, esi
shl edx, 1
je 0x402f79
xor ecx, ecx
cmp esi, ebx
setg cl
shl edi, cl
mov dword [ebp - 0x20], edi
mov eax, 0x3a
sub eax, edi
add esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x16c], 0xe9c
mov dword [ebp - 0x168], 2
push 2
push 0
push 0xe9c
push 0xcc
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
xor ecx, ecx
cmp esi, edi
setge cl
and edi, ecx
mov dword [ebp - 0x20], edi
mov edx, esi
and edx, 0x2f
sub ebx, edx
mov dword [ebp - 0x24], ebx
push 0xfb
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
xor ecx, ecx
cmp edi, ebx
setge cl
shl edi, cl
mov dword [ebp - 0x20], edi
sub esi, 4
mov dword [ebp - 0x1c], esi
push 0x64
call dword [sym.imp.USER32.dll_CharLowerA]
xor eax, eax
cmp ebx, 0x22
setge al
push eax
mov ecx, edi
or ecx, esi
push ecx
xor edx, edx
cmp edi, 0x3a
sete dl
push edx
xor eax, eax
cmp edi, ebx
setl al
push eax
push 0
jmp 0x58702e
xor ecx, ecx
cmp esi, 0x27
setl cl
sar esi, cl
lea ecx, [ebx*8]
sub ecx, ebx
lea edx, [ebx + ecx*4]
lea ecx, [ebx + edx*2]
shl edi, cl
mov eax, 0x34
mov ecx, ebx
shl eax, cl
xor ebx, eax
cmp esi, ebx
je 0x403249
mov edx, 0x20
mov ecx, esi
sar edx, cl
or esi, edx
mov eax, 0x2c
mov ecx, esi
shl eax, cl
mov ecx, eax
shl edi, cl
mov ecx, ebx
xor ecx, esi
or esi, ecx
mov edx, ebx
xor edx, 0xffffffd2
or ebx, edx
cmp edi, 0xffffffc7
jne 0x403268
cmp esi, 0xffffffdb
jle 0x40326f
xor ebx, ebx
lea eax, [ebx + ebx*4]
lea ecx, [ebx + eax*8]
test ecx, ecx
je 0x403282
xor ecx, ecx
cmp ebx, esi
setge cl
shl ebx, cl
lea ecx, [ebx + edi]
sar esi, cl
mov edx, edi
mov ecx, ebx
shl edx, cl
sub edi, edx
mov eax, ebx
xor eax, 0xffffffda
je 0x40329b
xor ebx, esi
xor ebx, 0x35
call fcn.00401210
cmp esi, edi
je 0x4032ae
xor ecx, ecx
cmp edi, 0x3c
setle cl
shl ebx, cl
mov ecx, ebx
imul ecx, edi
test ecx, ecx
je 0x4032bd
mov ecx, esi
sub ecx, edi
sar edi, cl
xor ecx, ecx
cmp edi, 0xffffffcb
setle cl
and ecx, edi
mov edx, ebx
sar edx, cl
mov ecx, edx
shl ebx, cl
xor ecx, ecx
cmp ebx, 0xffffffdf
setg cl
shl ebx, cl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret