Function at 0x45ee80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x5010c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x174], ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x178], 0
mov ecx, dword [ecx]
push edx
lea edx, [ebp - 0x17c]
mov dword [ebp - 0x17c], 0
call fcn.0045eb00
add esp, 4
test eax, eax
je 0x45eef6
cmp dword [ebp - 0x17c], 0
je 0x45f369
inc dword [esi]
jmp 0x45f369
inc dword [esi]
mov esi, dword [ebp - 0x174]
inc dword [edi]
mov ecx, dword [esi]
call fcn.0045f3a0
push esi
mov edx, str.XDImageShow.
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
call fcn.004624d0
mov edi, 4
mov dword [ebp - 0x178], edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x188]
mov edx, dword [esi]
xorps xmm0, xmm0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], 0
call fcn.0045f5a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x184]
mov edx, dword [esi]
call fcn.0045f640
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x188]
push eax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00462380
push fcn.00403400
push 2
push edi
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 4
push eax
call fcn.0049f6b9
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x184], ecx
cmp eax, ecx
je 0x45f276
nop word [eax + eax]
mov edi, dword [ebp - 0x18]
sub esp, 0x14
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push dword [eax]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0045d0b0
mov esi, dword [ebp - 0x30]
test eax, eax
jne 0x45f00e
test edi, edi
je 0x45f00e
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45efe6
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push 0
push str.ProgId
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x45f020
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], 0
mov eax, dword [0x516520]
mov dword [ebp - 0x2c], 0
test al, 1
jne 0x45f0ae
or eax, 1
mov dword [0x516520], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.004a15c0
add esp, 0xc
mov dword [ebp - 0x170], 0x11c
push str.RtlGetVersion
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45f080
lea ecx, [ebp - 0x170]
push ecx
call eax
mov eax, dword [ebp - 0x16c]
cmp eax, 7
jae 0x45f0a2
cmp eax, 6
jb 0x45f099
cmp dword [ebp - 0x168], 2
jae 0x45f0a2
xor eax, eax
mov dword [0x516524], eax
jmp 0x45f0b3
mov eax, 1
mov dword [0x516524], eax
jmp 0x45f0b3
mov eax, dword [0x516524]
test eax, eax
je 0x45f24f
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x40], 7
movups xmmword [ebp - 0x54], xmm0
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x174]
mov dword [ebp - 0x180], eax
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x45f0fc
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x45f114
call fcn.00404f80
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x45f384
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, dword [ebp - 0x178]
lea ecx, [ebp - 0x180]
add eax, 0x10
or edi, 2
mov dword [ebp - 0x180], eax
mov edx, 0x4e5f5c
mov eax, dword [esi]
mov dword [ebp - 0x178], edi
push dword [eax - 0xc]
push eax
push 1
call fcn.00414690
mov esi, dword [ebp - 0x180]
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00467e60
and edi, 0xfffffffd
mov byte [ebp - 4], 6
add esp, 0x10
mov dword [ebp - 0x178], edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45f187
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x40], 7
lea esi, [ebp - 0x54]
mov eax, dword [ebp - 0x17c]
cmova esi, dword [ebp - 0x54]
sub esp, 0x14
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push dword [eax]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0045d0b0
mov edi, dword [ebp - 0x24]
test eax, eax
jne 0x45f1f8
test esi, esi
je 0x45f1f8
mov eax, esi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45f1d0
sub eax, edx
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push str.Hash
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x45f20a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x20], 0
cmp ecx, 7
jbe 0x45f24f
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45f245
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f38e
push ecx
push edx
call fcn.0049f7fe
add esp, 8
mov eax, dword [ebp - 0x17c]
add eax, 4
mov dword [ebp - 0x17c], eax
cmp eax, dword [ebp - 0x184]
jne 0x45efb0
mov esi, dword [ebp - 0x174]
mov edi, dword [ebp - 0x178]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov esi, dword [esi]
mov byte [ebp - 4], 9
mov dword [ebp - 0x174], 0
call fcn.00404f80
mov ecx, eax
test ecx, ecx
je 0x45f384
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
push str.nWithProg
push esi
add eax, 0x10
or edi, 1
push str.tVersionExplorerFile
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x174]
push str.SoftwareMicrosoftWindowsCurren_sExts._sOpe_sids
push eax
mov dword [ebp - 0x178], edi
call fcn.0041f6f0
mov esi, dword [ebp - 0x174]
push esi
push ecx
lea ecx, [ebp - 0x24]
call fcn.0045d0b0
or edi, 0xffffffff
mov byte [ebp - 4], 8
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45f320
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x11]
push 0
push eax
push 0
push 0
push dword [ebp - 0x18]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x45f342
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x3c]
call fcn.00454e50
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x45f369
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049fb4b
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404d50
call fcn.004a4b9f
int3