Function at 0x45cc50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfcb8
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x5000a8]
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 ebx, ecx
mov dword [ebp - 0x184], ebx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x178], 0
mov ecx, dword [ebx]
push edx
lea edx, [ebp - 0x174]
mov dword [ebp - 0x174], 0
call fcn.0045c8e0
add esp, 4
test eax, eax
je 0x45ccc9
cmp dword [ebp - 0x174], 0
je 0x45d10e
inc dword [esi]
jmp 0x45d10e
inc dword [esi]
inc dword [edi]
mov ecx, dword [ebx]
call fcn.0045d140
push ebx
mov edx, str.XDImageShow.
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
call fcn.00460400
mov edi, 1
mov dword [ebp - 0x178], edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x180]
mov edx, dword [ebx]
xorps xmm0, xmm0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], 0
call fcn.0045d340
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x17c]
mov edx, dword [ebx]
call fcn.0045d3e0
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x180]
push eax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00460300
push fcn.004031f0
push 2
push 4
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 4
push eax
call fcn.0049ce32
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x17c], eax
cmp ebx, eax
je 0x45d017
nop
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 [ebx]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0045aec0
mov esi, dword [ebp - 0x30]
test eax, eax
jne 0x45cdce
test edi, edi
je 0x45cdce
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45cda6
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 0x45cde0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], 0
mov eax, dword [0x515420]
mov dword [ebp - 0x2c], 0
test al, 1
jne 0x45ce72
or eax, 1
mov dword [0x515420], eax
push 0x118
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.0049edd0
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 0x45ce44
lea ecx, [ebp - 0x170]
push ecx
call eax
mov eax, dword [ebp - 0x16c]
cmp eax, 7
jae 0x45ce66
cmp eax, 6
jb 0x45ce5d
cmp dword [ebp - 0x168], 2
jae 0x45ce66
xor eax, eax
mov dword [0x515424], eax
jmp 0x45ce77
mov eax, 1
mov dword [0x515424], eax
jmp 0x45ce77
mov eax, dword [0x515424]
test eax, eax
je 0x45d002
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov esi, dword [ebp - 0x184]
mov byte [ebp - 4], 7
mov dword [ebp - 0x174], eax
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x45cebe
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x45ced4
call fcn.00404d30
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x45d12a
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp - 0x178]
lea ecx, [ebp - 0x174]
add eax, 0x10
or edi, 2
mov dword [ebp - 0x174], eax
mov edx, 0x4e5d18
mov eax, dword [esi]
mov dword [ebp - 0x178], edi
push dword [eax - 0xc]
push eax
push 1
call fcn.00452d20
mov esi, dword [ebp - 0x174]
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00465e80
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 0x45cf45
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x40], 8
lea esi, [ebp - 0x54]
mov dword [ebp - 0x24], 0
cmovae esi, dword [ebp - 0x54]
sub esp, 0x14
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push dword [ebx]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0045aec0
mov edi, dword [ebp - 0x24]
test eax, eax
jne 0x45cfab
test esi, esi
je 0x45cfab
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45cf83
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 0x45cfbd
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x20], 0
cmp edx, 8
jb 0x45d002
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45cff8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d134
push edx
push ecx
call fcn.0049cf77
add esp, 8
add ebx, 4
cmp ebx, dword [ebp - 0x17c]
jne 0x45cd70
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 [ebp - 0x184]
mov esi, dword [esi]
mov byte [ebp - 4], 9
mov dword [ebp - 0x174], 0
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x45d12a
mov eax, dword [ecx]
call dword [eax + 0xc]
push str.nWithProg
push esi
add eax, 0x10
or edi, 4
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.0041fc40
mov esi, dword [ebp - 0x174]
push esi
push ecx
lea ecx, [ebp - 0x24]
call fcn.0045aec0
or ebx, 0xffffffff
mov byte [ebp - 4], 8
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45d0c5
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 0x45d0e7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x3c]
call fcn.00452cc0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45d10e
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049d3ed
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404b10
call fcn.004a1aff
int3