Function at 0x445c10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed3ab
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x5315d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, byte [ebp + 8]
xor eax, eax
mov byte [ebp - 0x15d], bl
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov esi, 0x502510
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x168], 2
nop dword [eax]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerFileExts_
lea ecx, [ebp - 0x28]
call fcn.00446300
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x445c92
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push esi
call fcn.00414070
push 0xb
push str.UserChoice
lea ecx, [ebp - 0x28]
call fcn.00414070
mov dword [ebp - 0x180], 0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x164]
push ecx
push 0x20019
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push SysReAllocString
mov dword [ebp - 0x164], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x445f70
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x164]
cmovae eax, dword [ebp - 0x28]
push eax
push SysReAllocString
mov dword [ebp - 0x180], edi
call fcn.00412d30
add esp, 8
mov dword [ebp - 0x174], 0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov edx, str.FirePhoenixHTM
mov dword [ebp - 0x170], 0
cmovae eax, dword [ebp - 0x28]
mov ecx, 0x4f6244
push 0
push 0
push 0x2001f
push 0
test bl, bl
mov dword [ebp - 0x16c], 0
push 0
cmove ecx, edx
push eax
mov dword [ebp - 0x164], ecx
lea ecx, [ebp - 0x174]
push SysReAllocString
call fcn.00444820
mov edx, dword [ebp - 0x174]
mov ebx, eax
test ebx, ebx
jne 0x445dd4
mov ebx, dword [ebp - 0x164]
mov ecx, ebx
lea eax, [ecx + 2]
mov dword [ebp - 0x164], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445da0
sub ecx, dword [ebp - 0x164]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
push 0
push str.ProgId
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x174]
mov ebx, eax
test edx, edx
je 0x445de9
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
test ebx, ebx
je 0x445e72
push ebx
push esi
push str.set__s_failed__err:_u
call fcn.00432440
add esp, 0xc
mov byte [ebp - 4], 0
test edi, edi
je 0x445e1f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x180], 0
mov bl, byte [ebp - 0x15d]
add esi, 0x18
sub dword [ebp - 0x168], 1
jne 0x445c80
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x445f83
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445f79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445fa3
jmp 0x445f79
push 0x110
lea eax, [ebp - 0x158]
mov dword [ebp - 0x15c], 0x11c
push 0
push eax
call fcn.00471c10
mov ebx, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
xor eax, eax
mov word [ebp - 0x48], ax
mov dword [ebp - 0x46], eax
push 3
push 0x20
push 3
push 1
push 3
push 2
push eax
push eax
mov word [ebp - 0x42], ax
call ebx
push edx
push eax
call ebx
push edx
push eax
call ebx
push edx
push eax
push 0x23
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x158], 6
xor ecx, ecx
mov dword [ebp - 0x154], 3
push eax
mov word [ebp - 0x48], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov bl, byte [ebp - 0x15d]
test eax, eax
je 0x445f4e
test bl, bl
jne 0x445f4e
push str.FirePhoenixHTM
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0044ec00
add esp, 0xc
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push str.Hash
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push SysReAllocString
mov byte [ebp - 4], 2
call fcn.00446270
test eax, eax
je 0x445f46
push eax
push esi
push str.set__s_failed__err:_u
call fcn.00432440
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.0040e790
mov byte [ebp - 4], 0
test edi, edi
je 0x445e25
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x180], 0
jmp 0x445e25
mov byte [ebp - 4], 0
jmp 0x445e25
push edx
push ecx
call fcn.004654b9
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004654a8
mov esp, ebp
pop ebp
ret 4
call fcn.0048d320
int3