Function at 0x417cf0
Capabilities:
Persist via com hijack
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x258
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
call fcn.00445884
push 0x258
mov edi, eax
call fcn.00445884
add esp, 8
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x20], 0x258
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov edx, dword [esp + 0x14]
push edx
push str.CLSID_sInprocServer32
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 1
push ebp
push edi
push SysReAllocString
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], ebp
call ebx
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push esi
lea edx, [esp + 0x2c]
push edx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.ScrAuthInProcServer32
push eax
mov dword [esp + 0x3c], 1
call ebp
test eax, eax
jne 0x417d98
mov dword [esp + 0x20], 1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x417f6a
lea edx, [esp + 0x10]
push edx
push 3
push 0
push edi
push SysReAllocString
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x417f42
lea ecx, [esp + 0x18]
push ecx
push esi
lea edx, [esp + 0x28]
push edx
push 0
push str.ScrAuthInProcServer32
push eax
mov dword [esp + 0x38], 1
call ebp
test eax, eax
jne 0x417e78
push 0x320
call fcn.00445884
mov edx, dword [esp + 0x14]
add esp, 4
mov ebx, eax
lea eax, [esp + 0x24]
push eax
push ebx
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push edx
mov dword [esp + 0x3c], 0x190
call ebp
test eax, eax
jne 0x417e69
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push str.PinkShirtFix
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x10]
push edx
push esi
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esp + 0x1c], 1
push ebx
call fcn.00445979
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push edx
push str.SoftwareClassesCLSID_sInprocServer32
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 3
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x417f6a
lea ecx, [esp + 0x18]
push ecx
push esi
lea edx, [esp + 0x2c]
push edx
push 0
push str.ScrAuthInProcServer32
push eax
mov dword [esp + 0x3c], 1
call ebp
test eax, eax
jne 0x417f35
push 0x320
call fcn.00445884
mov edx, dword [esp + 0x14]
add esp, 4
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push ebx
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push edx
mov dword [esp + 0x40], 0x190
call ebp
test eax, eax
jne 0x417f2c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esp + 0x1c], 1
push ebx
call fcn.00445979
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x417f6a
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00417c00
add esp, 0x10
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push esi
call fcn.00445979
push edi
call fcn.00445979
mov eax, dword [esp + 0x24]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret