Function at 0x4071e0
Capabilities:
Delete file
Delete registry value
Persist via windows service
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ceee0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov al, byte [0x4feb95]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov byte [esp + 0x10], al
cmp al, bl
je 0x407520
push 1
lea eax, [esp + 0x24]
push eax
call fcn.00406c90
mov dword [esp + 0x70], ebx
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x40723e
mov eax, dword [esi]
cmp eax, ebx
je 0x40723e
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
call ebp
cmp eax, ebx
jne 0x4072f3
lea ecx, [esp + 0x1c]
push ecx
mov edi, 0x4d96c0
call fcn.00406720
lea edx, [esp + 0x28]
push edx
mov edi, str.PROCMON20.SYS
mov byte [esp + 0x74], 1
call fcn.00406720
push eax
lea eax, [esp + 0x28]
push eax
mov edi, 0x4d9698
mov byte [esp + 0x78], 2
call fcn.004068a0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x7c], 3
call fcn.00406830
lea edi, [esp + 0x24]
call fcn.00401010
lea edi, [esp + 0x28]
call fcn.00401010
lea edi, [esp + 0x1c]
call fcn.00401010
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4072b2
mov eax, dword [eax]
jmp 0x4072b4
xor eax, eax
push 0x10
push 0x4d9784
push eax
mov eax, dword [esp + 0x84]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea edi, [esp + 0x18]
call fcn.00401010
lea edi, [esp + 0x20]
call fcn.00401010
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 4
lea ecx, [esp + 0x14]
push ecx
push str.SystemCurrentControlSetServicesPROCMON20
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4074f1
mov dword [esp + 0x18], ebx
cmp byte [0x4fe8a8], bl
je 0x40733f
mov eax, dword [esp + 0x78]
mov ecx, dword [0x4fe8b8]
lea edx, [esp + 0x18]
push edx
push 0x45efa0
push eax
push str.BOOTLOG_OPTIONS
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x407396
lea esi, [esp + 0x28]
call fcn.00406bb0
lea edx, [esp + 0x24]
push edx
mov edi, 0x4d97c8
mov byte [esp + 0x74], 4
call fcn.00406720
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x407368
mov eax, dword [eax]
jmp 0x40736a
xor eax, eax
push 0x40
push 0x4d9784
push eax
mov eax, dword [esp + 0x84]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea edi, [esp + 0x24]
call fcn.00401010
lea edi, [esp + 0x28]
mov byte [esp + 0x70], bl
call fcn.00401010
mov ecx, 0xd
mov esi, str.FSFilter_Activity_Monitor
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
push str.DeleteFlag
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 1
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [esp + 0x30]
push edx
push 4
push ebx
push str.Start
push eax
call esi
mov edx, dword [esp + 0x14]
push 0x34
lea ecx, [esp + 0x38]
push ecx
push 1
push ebx
push str.Group
push edx
call esi
mov ecx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x34]
push eax
push 4
push ebx
push str.Type
push ecx
call esi
lea edx, [esp + 0x78]
push edx
mov edi, str.PROCMON20.SYS
call fcn.00406720
push eax
lea eax, [esp + 0x20]
push eax
mov edi, 0x4d98a8
mov byte [esp + 0x78], 5
call fcn.004068a0
lea edi, [esp + 0x78]
call fcn.00401010
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x407458
mov eax, dword [ecx]
cmp eax, ebx
je 0x407454
push eax
call ebp
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x40745a
mov ecx, dword [ecx]
jmp 0x40745c
xor eax, eax
jmp 0x40744c
xor eax, eax
xor ecx, ecx
lea edx, [eax + eax]
mov eax, dword [esp + 0x14]
push edx
push ecx
push 2
push ebx
push str.ImagePath
push eax
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x18], ebx
je 0x4074cd
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x78]
push ecx
push str.Parameters
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4074cd
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x4074ac
mov eax, 0x989680
xor edx, edx
div ecx
mov dword [esp + 0x18], eax
jmp 0x4074b0
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x78]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push ebx
push str.ThreadProfiling
push ecx
call esi
mov edx, dword [esp + 0x78]
push edx
call edi
mov ecx, dword [esp + 0x14]
call fcn.00406bf0
mov eax, dword [esp + 0x14]
push eax
call edi
lea edi, [esp + 0x1c]
call fcn.00401010
lea edi, [esp + 0x20]
call fcn.00401010
jmp 0x407525
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x78]
push 0x10
push 0x4d9784
push 0x4d98ec
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea edi, [esp + 0x20]
mov byte [esp + 0x10], bl
call fcn.00401010
jmp 0x407525
call fcn.00407060
mov ecx, dword [esp + 0x68]
mov al, byte [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4