Function at 0x42f146
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6989
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push esi
push edi
call fcn.0041c610
mov dword [ebp - 0x2cc], eax
lea ecx, [ebp - 0x2d0]
call fcn.00481a00
lea eax, [ebp - 0x3ec]
push eax
lea ecx, [ebp - 0x20]
call fcn.00430b50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2d8]
call fcn.00481a00
mov dword [ebp - 0x14], 0
call fcn.004307dc
mov ecx, eax
call fcn.0043078b
lea ecx, [ebp - 0x3f0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00416da0
mov edx, dword [eax]
mov dword [ebp - 0x2d0], edx
jmp 0x42f1dd
push 0
lea eax, [ebp - 0x3f4]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00416820
lea ecx, [ebp - 0x3f8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004819b0
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00441530
and eax, 0xff
test eax, eax
je 0x42f939
lea ecx, [ebp - 0x20]
call fcn.00430b90
lea ecx, [ebp - 0x2d0]
call fcn.00417430
push eax
push 0x104
lea edx, [ebp - 0x3e4]
push edx
call fcn.00409190
lea eax, [ebp - 0x3e4]
push eax
mov ecx, 0x5464d8
call fcn.00430aa0
test eax, eax
je 0x42f241
jmp 0x42f1c9
lea ecx, [ebp - 0x2d0]
call fcn.00417430
push eax
push 0x104
lea ecx, [ebp - 0x2c8]
push ecx
call fcn.004154e0
lea edx, [ebp - 0x2c8]
push edx
mov ecx, 0x55a980
call fcn.00416fb0
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0
je 0x42f292
mov eax, dword [ebp - 0x2e0]
cmp dword [eax + 0x168], 1
je 0x42f292
jmp 0x42f1c9
lea ecx, [ebp - 0x20]
push ecx
push 0xffff
lea ecx, [ebp - 0x2d0]
call fcn.00417430
push eax
mov ecx, dword [ebp - 0x2cc]
call fcn.0041e4c0
test eax, eax
jne 0x42f2bb
jmp 0x42f1c9
lea edx, [ebp - 0x3fc]
push edx
lea ecx, [ebp - 0x20]
call fcn.00416da0
mov eax, dword [eax]
mov dword [ebp - 0x2d8], eax
jmp 0x42f2e8
push 0
lea ecx, [ebp - 0x400]
push ecx
lea ecx, [ebp - 0x2d8]
call fcn.00416820
lea edx, [ebp - 0x404]
push edx
lea ecx, [ebp - 0x20]
call fcn.004819b0
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00441530
and eax, 0xff
test eax, eax
je 0x42f934
lea ecx, [ebp - 0x2d0]
call fcn.00417430
cmp dword [eax + 0xd7c], 6
jb 0x42f329
jmp 0x42f934
lea ecx, [ebp - 0x2d8]
call fcn.00417430
cmp dword [eax], 2
jne 0x42f475
push str.SOFTWAREMICROSOFTWINDOWSCURRENTVERSIONEXPLORERSHELLEXECUTEHOOKS
push 0x104
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov eax, dword [eax + 0xd7c]
imul eax, eax, 0x104
lea ecx, [esi + eax + 0x11c]
push ecx
call fcn.00409190
lea ecx, [ebp - 0x2d8]
call fcn.00417430
add eax, 4
push eax
push 0x104
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov edx, dword [eax + 0xd7c]
imul edx, edx, 0x104
lea eax, [esi + edx + 0x734]
push eax
call fcn.00409190
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov ecx, dword [eax + 0xd7c]
mov dword [esi + ecx*4 + 0xd64], 1
lea ecx, [ebp - 0x2d8]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov edi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov edx, dword [eax + 0xd7c]
mov eax, dword [esi + 0x310]
mov dword [edi + edx*4 + 0x104], eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov ecx, dword [eax + 0xd7c]
mov dword [esi + ecx*4 + 0xd4c], 0
lea ecx, [ebp - 0x2d0]
call fcn.00417430
add eax, 0xd7c
mov dword [ebp - 0x408], eax
mov edx, dword [ebp - 0x408]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp - 0x408]
mov dword [ecx], eax
jmp 0x42f92f
lea ecx, [ebp - 0x2d8]
call fcn.00417430
cmp dword [eax], 4
jne 0x42f5c3
push str.SOFTWAREMICROSOFTWINDOWSCURRENTVERSIONSHELLSERVICEOBJECTDELAYLOAD
push 0x104
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov edx, dword [eax + 0xd7c]
imul edx, edx, 0x104
lea eax, [esi + edx + 0x11c]
push eax
call fcn.00409190
lea ecx, [ebp - 0x2d8]
call fcn.00417430
add eax, 0x20c
push eax
push 0x104
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov ecx, dword [eax + 0xd7c]
imul ecx, ecx, 0x104
lea edx, [esi + ecx + 0x734]
push edx
call fcn.00409190
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov eax, dword [eax + 0xd7c]
mov dword [esi + eax*4 + 0xd64], 1
lea ecx, [ebp - 0x2d8]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov edi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov ecx, dword [eax + 0xd7c]
mov edx, dword [esi + 0x310]
mov dword [edi + ecx*4 + 0x104], edx
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov eax, dword [eax + 0xd7c]
mov dword [esi + eax*4 + 0xd4c], 0
lea ecx, [ebp - 0x2d0]
call fcn.00417430
add eax, 0xd7c
mov dword [ebp - 0x40c], eax
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 0x40c]
mov dword [eax], edx
jmp 0x42f92f
lea ecx, [ebp - 0x2d8]
call fcn.00417430
cmp dword [eax], 0x20
jne 0x42f7e8
lea ecx, [ebp - 0x2d8]
call fcn.00417430
add eax, 4
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0
jne 0x42f600
mov dword [ebp - 0x410], 0
jmp 0x42f64e
mov ecx, dword [ebp - 0x2d4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x2dc]
shl eax, 1
add eax, 3
and al, 0xfc
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x414], esp
mov edx, dword [ebp - 0x2dc]
push edx
mov eax, dword [ebp - 0x2d4]
push eax
mov ecx, dword [ebp - 0x414]
push ecx
call fcn.00415520
mov dword [ebp - 0x410], eax
mov edx, dword [ebp - 0x410]
push edx
push SysStringLen
push 5
call fcn.004307dc
mov ecx, eax
call fcn.00430230
mov dword [ebp - 0x3e8], eax
cmp dword [ebp - 0x3e8], 0
jl 0x42f6b0
lea ecx, [ebp - 0x2d0]
call fcn.00417430
push eax
mov eax, dword [ebp - 0x3e8]
push eax
call fcn.004307dc
mov ecx, eax
call fcn.004302a2
push 1
mov ecx, dword [ebp - 0x3e8]
push ecx
call fcn.004307dc
mov ecx, eax
call fcn.004305f3
jmp 0x42f2d4
push str.SYSTEMCurrentControlSetServices_
push 0x104
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov edx, dword [eax + 0xd7c]
imul edx, edx, 0x104
lea eax, [esi + edx + 0x11c]
push eax
call fcn.00409190
lea ecx, [ebp - 0x2d8]
call fcn.00417430
add eax, 4
push eax
push 0x104
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov ecx, dword [eax + 0xd7c]
imul ecx, ecx, 0x104
lea edx, [esi + ecx + 0x11c]
push edx
call fcn.00408090
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov eax, dword [eax + 0xd7c]
mov dword [esi + eax*4 + 0xd64], 0
lea ecx, [ebp - 0x2d8]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov edi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov ecx, dword [eax + 0xd7c]
mov edx, dword [esi + 0x310]
mov dword [edi + ecx*4 + 0x104], edx
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov eax, dword [eax + 0xd7c]
mov dword [esi + eax*4 + 0xd4c], 0
lea ecx, [ebp - 0x2d0]
call fcn.00417430
add eax, 0xd7c
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp - 0x418]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 0x418]
mov dword [eax], edx
jmp 0x42f92f
lea ecx, [ebp - 0x2d8]
call fcn.00417430
cmp dword [eax], 1
jne 0x42f92f
push 0x4dad18
push 0x104
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov ecx, dword [eax + 0xd7c]
imul ecx, ecx, 0x104
lea edx, [esi + ecx + 0x11c]
push edx
call fcn.00409190
lea ecx, [ebp - 0x2d8]
call fcn.00417430
add eax, 4
push eax
push 0x104
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov eax, dword [eax + 0xd7c]
imul eax, eax, 0x104
lea ecx, [esi + eax + 0x734]
push ecx
call fcn.00409190
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov edx, dword [eax + 0xd7c]
mov dword [esi + edx*4 + 0xd64], 1
lea ecx, [ebp - 0x2d8]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov edi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov eax, dword [eax + 0xd7c]
mov ecx, dword [esi + 0x310]
mov dword [edi + eax*4 + 0x104], ecx
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov esi, eax
lea ecx, [ebp - 0x2d0]
call fcn.00417430
mov edx, dword [eax + 0xd7c]
mov dword [esi + edx*4 + 0xd4c], 0
lea ecx, [ebp - 0x2d0]
call fcn.00417430
add eax, 0xd7c
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 0x41c]
mov dword [edx], ecx
jmp 0x42f2d4
jmp 0x42f1c9
call fcn.004307dc
mov ecx, eax
call fcn.004307a5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00481950
lea esp, [ebp - 0x424]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret