Function at 0x4467b1
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 0x4467e8
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jae 0x446ceb
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 0x446ce6
mov dword [ebp - 0x21c], 0
mov edx, 1
test edx, edx
je 0x446cd9
mov dword [ebp - 0x534], 0
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 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 dword [ebp - 0x530], 0x104
mov dword [ebp - 0x538], 0x104
lea eax, [ebp - 0x538]
push eax
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x324]
push edx
push 0
lea eax, [ebp - 0x530]
push eax
lea ecx, [ebp - 0x320]
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 0x4468f5
jmp 0x446cd9
push 0x104
lea ecx, [ebp - 0x320]
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 0x446a15
cmp dword [ebp - 0x538], 0x26
jb 0x446a15
lea ecx, [ebp - 0x210]
push ecx
push 0x513be4
push 0x104
lea edx, [ebp - 0x320]
push edx
call fcn.0040a150
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
push 0x513bfc
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 0x446a15
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 0x446a08
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 0x446a08
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 0x446cc5
push str._n_FixShell_Delete_registry_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x52c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x513c28
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 0x446aa1
mov dword [ebp - 0x964], 0
jmp 0x446aef
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 0x513c2c
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 0x446b30
mov dword [ebp - 0x96c], 0
jmp 0x446b7e
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 0x513c58
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 0x446be3
mov eax, dword [ebp - 4]
jmp 0x446cee
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 0x446c14
mov dword [ebp - 0x974], 0
jmp 0x446c62
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 str.RegistryCLASSES_ws
push 0x104
lea ecx, [ebp - 0x954]
push ecx
call fcn.00415410
add esp, 0x10
push 0
lea edx, [ebp - 0x428]
push edx
push closesocket
mov ecx, dword [ebp - 0x960]
call fcn.004477f5
test eax, eax
jne 0x446ca4
mov eax, dword [ebp - 4]
jmp 0x446cee
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x513c8c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x21c]
add edx, 1
mov dword [ebp - 0x21c], edx
jmp 0x446832
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4467df
mov eax, dword [ebp - 4]
lea esp, [ebp - 0x97c]
pop edi
mov esp, ebp
pop ebp
ret 8