Function at 0x4354c0
Capabilities:
Persist via active setup registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fad50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1120
call fcn.004f2630
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push 0x100
mov dword [ebp - 4], esi
call fcn.004f266a
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x20]
mov dword [0xe56dfc], esi
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftActive_SetupInstalled_Components
push closesocket
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x930], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x435750
mov dword [ebp - 0x14], esi
jmp 0x435536
xor esi, esi
mov edx, dword [ebp - 0x14]
push esi
push esi
mov eax, 0x80
push esi
lea ecx, [ebp - 0x28]
push esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
push ecx
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
mov dword [ebp - 0x2c], eax
je 0x43573b
push ebx
lea ecx, [ebp - 0x130]
push str.SOFTWAREMicrosoftActive_SetupInstalled_Components_s
push ecx
call fcn.004f175f
add esp, 0xc
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x130]
push edx
push 0x20019
push esi
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x1130]
push ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push edx
push eax
push esi
push str.StubPath
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, esi
jne 0x435731
lea edi, [ebp - 0x1130]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x930]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.regsvr32.exe__s__n__i:U_shell32.dll
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x930]
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x43573b
lea edx, [ebp - 0x930]
push str.RunDLL32_IEDKCS32.DLL_BrandIE4_SIGNUP
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x43573b
lea eax, [ebp - 0x930]
push str.Outlook_Express_setup50.exe
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x43573b
lea ecx, [ebp - 0x930]
push str.rundll32.exe_advpack.dll
push ecx
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x43573b
lea edx, [ebp - 0x930]
push str.initpki.dll
push edx
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x43573b
mov eax, dword [ebp - 0x18]
mov esi, eax
shl esi, 4
sub esi, eax
shl esi, 4
sub esi, eax
lea eax, [ebp - 0x930]
push eax
shl esi, 2
call fcn.004fa6c0
push eax
lea ecx, [esi + 0xd0a2bc]
push 0x50d39c
push ecx
call fcn.004f175f
push ebx
lea edx, [esi + 0xd0a174]
push str.HKLMSOFTWAREMicrosoftActive_SetupInstalled_Components_s
push edx
call fcn.004f175f
push ebx
lea eax, [esi + 0xd0a218]
push 0x50d39c
push eax
call fcn.004f175f
push ebx
lea ecx, [esi + 0xd0a0d0]
push str.HKLMSOFTWAREMicrosoftActive_SetupInstalled_Components_sStubPath
push ecx
call fcn.004f175f
mov edi, 0x51a880
or ecx, 0xffffffff
xor eax, eax
add esp, 0x34
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esi + 0xd0a360]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x18]
and ecx, 3
inc eax
cmp eax, 0xff
mov dword [ebp - 0x18], eax
rep movsb byte es:[edi], byte [esi]
jle 0x435731
mov dword [0xe56dfc], 0xff
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0x103
jne 0x435534
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
push ebx
mov dword [0xe56dfc], eax
call fcn.004f265f
add esp, 4
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret