Function at 0x446cfb
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x978
push edi
mov dword [ebp - 0x960], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x10c], 0
mov byte [ebp - 0x210], 0
mov dword [ebp - 8], 0
jmp 0x446d32
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jae 0x447250
lea ecx, [ebp - 0x218]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x4b0090]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x44724b
mov dword [ebp - 0x21c], 0
mov edx, 1
test edx, edx
je 0x44723e
mov dword [ebp - 0x534], 0
mov byte [ebp - 0x52c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x52b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x428], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x427]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x320], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x31f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x530], 0x104
mov dword [ebp - 0x538], 0x104
lea eax, [ebp - 0x530]
push eax
lea ecx, [ebp - 0x320]
push ecx
lea edx, [ebp - 0x324]
push edx
push 0
lea eax, [ebp - 0x538]
push eax
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x446e3f
jmp 0x44723e
push 0x104
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x52c]
push edx
call dword [sym.imp.ntdll.dll_strncpy]
add esp, 0xc
movsx eax, byte [ebp - 0x210]
cmp eax, 0x7b
jne 0x446f5f
cmp dword [ebp - 0x538], 0x26
jb 0x446f5f
lea ecx, [ebp - 0x210]
push ecx
push str.CLSID_sInprocServer32
push 0x104
lea edx, [ebp - 0x320]
push edx
call fcn.0040a150
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
push str.CLSID_s
push 0x104
lea ecx, [ebp - 0x428]
push ecx
call fcn.0040a150
add esp, 0x10
lea edx, [ebp - 0x53c]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x320]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x446f5f
mov dword [ebp - 0x538], 0x104
lea ecx, [ebp - 0x538]
push ecx
lea edx, [ebp - 0x10c]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x53c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x446f52
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x960]
call fcn.00447de0
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x446f52
mov dword [ebp - 0x534], 1
mov ecx, dword [ebp - 0x53c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x534], 0
je 0x44722a
push str._FixShell2_Delete_registry
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x513cd4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x52c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x513cd8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x74c], 0
mov word [ebp - 0x954], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x952]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebp - 0x744], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x742]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x958], eax
cmp dword [ebp - 0x958], 0
jne 0x446ff6
mov dword [ebp - 0x964], 0
jmp 0x447044
mov ecx, dword [ebp - 0x958]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x95c], eax
mov eax, dword [ebp - 0x95c]
shl eax, 1
add eax, 3
and al, 0xfc
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x968], esp
mov edx, dword [ebp - 0x95c]
push edx
mov eax, dword [ebp - 0x958]
push eax
mov ecx, dword [ebp - 0x968]
push ecx
call fcn.00415370
mov dword [ebp - 0x964], eax
mov edx, dword [ebp - 0x964]
push edx
push 0x513cdc
push 0x104
lea eax, [ebp - 0x954]
push eax
call fcn.00415410
add esp, 0x10
lea ecx, [ebp - 0x52c]
mov dword [ebp - 0x958], ecx
cmp dword [ebp - 0x958], 0
jne 0x447085
mov dword [ebp - 0x96c], 0
jmp 0x4470d3
mov edx, dword [ebp - 0x958]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x95c], eax
mov eax, dword [ebp - 0x95c]
shl eax, 1
add eax, 3
and al, 0xfc
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x970], esp
mov eax, dword [ebp - 0x95c]
push eax
mov ecx, dword [ebp - 0x958]
push ecx
mov edx, dword [ebp - 0x970]
push edx
call fcn.00415370
mov dword [ebp - 0x96c], eax
mov eax, dword [ebp - 0x96c]
push eax
push 0x513d08
push 0x104
lea ecx, [ebp - 0x744]
push ecx
call fcn.00415410
add esp, 0x10
lea edx, [ebp - 0x954]
push edx
call dword [sym.imp.ntdll.dll__wcsupr]
add esp, 4
lea eax, [ebp - 0x744]
push eax
call dword [sym.imp.ntdll.dll__wcsupr]
add esp, 4
lea ecx, [ebp - 0x744]
push ecx
lea edx, [ebp - 0x954]
push edx
mov ecx, dword [ebp - 0x960]
call fcn.0044619c
test eax, eax
jne 0x447138
mov eax, dword [ebp - 4]
jmp 0x447253
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.ntdll.dll__strupr]
add esp, 4
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x958], ecx
cmp dword [ebp - 0x958], 0
jne 0x447169
mov dword [ebp - 0x974], 0
jmp 0x4471b7
mov edx, dword [ebp - 0x958]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x95c], eax
mov eax, dword [ebp - 0x95c]
shl eax, 1
add eax, 3
and al, 0xfc
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x978], esp
mov eax, dword [ebp - 0x95c]
push eax
mov ecx, dword [ebp - 0x958]
push ecx
mov edx, dword [ebp - 0x978]
push edx
call fcn.00415370
mov dword [ebp - 0x974], eax
mov eax, dword [ebp - 0x974]
push eax
push 0x513d10
push 0x104
lea ecx, [ebp - 0x954]
push ecx
call fcn.00415410
add esp, 0x10
lea edx, [ebp - 0x320]
push edx
call dword [sym.imp.ntdll.dll__strupr]
add esp, 4
push 0
lea eax, [ebp - 0x320]
push eax
push closesocket
mov ecx, dword [ebp - 0x960]
call fcn.004477f5
test eax, eax
jne 0x447209
mov eax, dword [ebp - 4]
jmp 0x447253
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x513d60
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x21c]
add eax, 1
mov dword [ebp - 0x21c], eax
jmp 0x446d7c
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x446d29
mov eax, dword [ebp - 4]
lea esp, [ebp - 0x97c]
pop edi
mov esp, ebp
pop ebp
ret 8