Function at 0x450f60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5752
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x65cc38]
cmp eax, dword [ecx + 4]
jle 0x450fe7
push 0x65cc38
call fcn.00483c2d
add esp, 4
cmp dword [0x65cc38], 0xffffffff
jne 0x450fe7
mov dword [ebp - 4], 0
call fcn.00414990
push 0x5d7c10
call fcn.00484084
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x65cc38
call fcn.00483be3
add esp, 4
mov ecx, 0x65cc40
call fcn.00412eb0
mov edi, eax
mov ecx, 0x65cc40
lea eax, [ebp - 0x1c]
push eax
call fcn.00412f90
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x65cc40
call fcn.00413210
mov ecx, dword [ebp - 0x1c]
or ebx, 0xffffffff
mov eax, dword [ebp - 0x18]
cmp dword [ecx - 0xc], 0
je 0x451602
cmp dword [eax - 0xc], 0
je 0x451602
push 0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push edi
mov dword [ebp - 0x10], 0
call esi
test eax, eax
je 0x45109f
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
test eax, eax
je 0x451070
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ebx
push edi
call esi
test eax, eax
je 0x45109c
xor edi, edi
or ebx, 0xffffffff
jmp 0x4515e8
or ebx, 0xffffffff
lea eax, [ebp - 0x28]
mov ecx, 0x65cc40
push eax
call fcn.00412720
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x28]
cmp dword [esi - 0xc], 0
jne 0x4510c1
xor edi, edi
jmp 0x4515cd
push esi
lea eax, [ebp - 0x24]
push eax
call fcn.004509a0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x451109
mov ecx, dword [ebp - 0x24]
mov edi, ecx
lea edx, [edi + 2]
mov dword [ebp - 0x20], edx
mov dx, word [edi]
add edi, 2
test dx, dx
jne 0x4510e1
sub edi, dword [ebp - 0x20]
sar edi, 1
lea edx, [edi*2 + 2]
push edx
push ecx
push 1
push 0
push dword [ebp - 0x18]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call eax
lea eax, [ebp - 0x14]
mov ecx, 0x65cc40
push eax
call fcn.00413960
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45115d
mov edx, edi
lea ecx, [edx + 2]
mov dword [ebp - 0x20], ecx
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x451130
sub edx, dword [ebp - 0x20]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push str.ProductID
push eax
call edi
jmp 0x451163
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45117d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0x63627c
push ecx
mov ecx, 0x65cc40
call fcn.00412ad0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4511ab
push 4
lea ecx, [ebp - 0x20]
push ecx
push 4
push 0
push str.versiontypes
push eax
call edi
lea eax, [ebp - 0x14]
mov ecx, 0x65cc40
push eax
call fcn.00413490
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4511fa
mov edx, edi
lea ecx, [edx + 2]
mov dword [ebp - 0x20], ecx
nop word [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4511d0
sub edx, dword [ebp - 0x20]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push edi
push 1
push 0
push str.tid1
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x451214
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov ecx, 0x65cc40
push eax
call fcn.00413590
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45125c
mov edx, edi
lea ecx, [edx + 2]
mov dword [ebp - 0x20], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x451233
sub edx, dword [ebp - 0x20]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push edi
push 1
push 0
push str.tid2
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x451276
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov ecx, 0x65cc40
push eax
call fcn.00413690
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4512be
mov edx, edi
lea ecx, [edx + 2]
mov dword [ebp - 0x20], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x451295
sub edx, dword [ebp - 0x20]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push edi
push 1
push 0
push str.tod1
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4512d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov ecx, 0x65cc40
push eax
call fcn.00413790
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x451320
mov edx, edi
lea ecx, [edx + 2]
mov dword [ebp - 0x20], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4512f7
sub edx, dword [ebp - 0x20]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push edi
push 1
push 0
push str.tod2
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45133a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov ecx, 0x65cc40
push eax
call fcn.00413890
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x451389
mov edx, edi
lea ecx, [edx + 2]
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x451360
sub edx, dword [ebp - 0x20]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push edi
push 1
push 0
push str.InstallVersion
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4513a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov ecx, 0x65cc40
push eax
call fcn.00413890
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4513eb
mov edx, edi
lea ecx, [edx + 2]
mov dword [ebp - 0x20], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4513c2
sub edx, dword [ebp - 0x20]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push edi
push 1
push 0
push str.PackageVersion
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x451405
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x451652
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x635b88
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00406c20
test al, al
jne 0x451447
push 3
push 0x635b88
lea ecx, [ebp - 0x14]
call fcn.00406ed0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
push eax
push str.lang
push 0x6360b0
lea eax, [ebp - 0x20]
mov ecx, 0x65cc40
push eax
call fcn.00412cf0
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45148c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4514c9
mov ecx, dword [ebp - 0x20]
mov edi, ecx
lea edx, [edi + 2]
mov dword [ebp - 0x2c], edx
nop
mov dx, word [edi]
add edi, 2
test dx, dx
jne 0x4514a0
sub edi, dword [ebp - 0x2c]
sar edi, 1
lea edx, [edi*2 + 2]
push edx
push ecx
push 1
push 0
push str.Lang
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4514e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov ecx, 0x65cc40
push eax
call fcn.00414b60
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45152f
mov edx, edi
lea ecx, [edx + 2]
mov dword [ebp - 0x2c], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x451506
sub edx, dword [ebp - 0x2c]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push edi
push 1
push 0
push str.guid
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x451549
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0044bd00
lea ecx, [ebp - 0x20]
call fcn.0044bf60
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x451590
mov edx, edi
lea ecx, [edx + 2]
mov dword [ebp - 0x2c], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x451567
sub edx, dword [ebp - 0x2c]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push edi
push 1
push 0
push str.uuid
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4515aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edi, 1
mov edx, dword [ebp - 0x24]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4515cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4515e8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4515f6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], 0
jmp 0x451604
xor edi, edi
lea edx, [eax - 0x10]
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45161f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45163e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405600
int3