Function at 0x446a60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4effb5
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x560094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], edi
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x446ad0
push 0xb
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 7
push 0x4ffa64
mov word [edi], ax
call fcn.0042b3e0
jmp 0x447208
cmp dword [esi + 0x14], 8
jb 0x446ad8
mov esi, dword [esi]
push 0xfde9
push esi
lea ecx, [ebp - 0x170]
call fcn.00436660
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x446b12
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xa8]
call fcn.0042b2e0
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 2
cmp eax, ecx
je 0x446b45
push eax
call fcn.004c4deb
add esp, 4
xorps xmm0, xmm0
lea ecx, [ebp - 0x90]
movups xmmword [ebp - 0x90], xmm0
movq qword [ebp - 0x80], xmm0
call fcn.0048c590
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x90]
call fcn.0048d150
test al, al
jne 0x446b9f
push 0xc
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x4ffa7c
mov word [edi], ax
call fcn.0042b3e0
jmp 0x4471f2
push 0xa
push str.value_type
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.0042b2e0
push 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x90]
call fcn.0048c9c0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
call fcn.00429290
push 0x4ffaa4
lea ecx, [ebp - 0xac]
call fcn.0042e720
push 4
push str.hkey
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.0042b2e0
push 0xfde9
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x90]
call fcn.0048cfc0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 7
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446c60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.0042b3e0
mov edx, dword [ebp - 0xb4]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446c99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x30]
call fcn.00429290
mov edx, dword [ebp - 0xac]
mov eax, esi
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446cc2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4ffab0
lea ecx, [ebp - 0xb0]
call fcn.0042e720
push 7
push str.sub_key
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
call fcn.0042b2e0
push 0xfde9
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x90]
call fcn.0048cfc0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
lea eax, [ecx + 2]
mov dword [ebp - 0xb4], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446d51
sub ecx, dword [ebp - 0xb4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x78]
call fcn.0042b3e0
mov edx, dword [ebp - 0xb8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446d8b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xd0]
call fcn.00429290
mov edx, dword [ebp - 0xb0]
mov eax, esi
mov byte [ebp - 4], 0x12
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446db7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4ffabc
lea ecx, [ebp - 0xb4]
call fcn.0042e720
push 8
push str.key_name
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
call fcn.0042b2e0
push 0xfde9
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x90]
call fcn.0048cfc0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov word [ebp - 0x60], ax
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
lea eax, [ecx + 2]
mov dword [ebp - 0xb8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446e46
sub ecx, dword [ebp - 0xb8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.0042b3e0
mov edx, dword [ebp - 0xd4]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446e80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xec]
call fcn.00429290
mov edx, dword [ebp - 0xb4]
mov byte [ebp - 4], 0x19
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x446eaa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x48]
push 0x4ffacc
push eax
call fcn.004361b0
add esp, 8
test al, al
je 0x446ec6
mov esi, SysReAllocString
jmp 0x446f1c
lea eax, [ebp - 0x48]
push 0x4ffaf0
push eax
call fcn.004361b0
add esp, 8
test al, al
je 0x446ee2
mov esi, SysReAllocString
jmp 0x446f1c
lea eax, [ebp - 0x48]
push 0x4ffb14
push eax
call fcn.004361b0
add esp, 8
test al, al
je 0x446efe
mov esi, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x446f1c
lea eax, [ebp - 0x48]
push 0x4ffb3c
push eax
call fcn.004361b0
add esp, 8
test al, al
je 0x4471ce
mov esi, VariantInit
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xac], esi
cmp eax, 1
jne 0x446fb8
push 5
push 0x4ffb60
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
call fcn.0042b2e0
push 0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x90]
call fcn.0048c9c0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x19
mov esi, eax
call fcn.00429290
cmp dword [ebp - 0x4c], 8
lea edx, [ebp - 0x14]
push 4
push edx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x14], esi
cmovae ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x64], 8
push 4
cmovae eax, dword [ebp - 0x78]
push ecx
push eax
push dword [ebp - 0xac]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x44716e
cmp eax, 2
jne 0x447052
push 5
push 0x4ffb68
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
call fcn.0042b2e0
push 0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x90]
call fcn.0048c9c0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x19
mov esi, eax
call fcn.00429290
cmp dword [ebp - 0x4c], 8
lea edx, [ebp - 0x18]
push 8
push edx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x18], esi
cmovae ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x64], 8
push 0xb
cmovae eax, dword [ebp - 0x78]
push ecx
push eax
push dword [ebp - 0xac]
mov dword [ebp - 0x14], 0
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x44716e
cmp eax, 3
jne 0x44716e
push 0x4ffb70
lea ecx, [ebp - 0xb0]
call fcn.0042e720
push 5
push 0x4ffb74
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
call fcn.0042b2e0
push 0xfde9
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x90]
call fcn.0048cfc0
push dword [eax]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1e
call fcn.00436750
lea ecx, [ebp - 0x14]
call fcn.004291e0
lea ecx, [ebp - 0xd0]
call fcn.00429290
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x19
call fcn.004291e0
cmp dword [ebp - 0x1c], 8
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x60]
cmovae edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x78]
cmp dword [ebp - 0x4c], 8
cmovae eax, dword [ebp - 0x60]
cmp dword [ebp - 0x64], 8
mov dword [ebp - 0xb8], eax
cmovae ecx, dword [ebp - 0x78]
mov dword [ebp - 0xb0], ecx
test edx, edx
je 0x44714f
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x14], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447130
sub ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xb8]
sar ecx, 1
lea ecx, [ecx*2 + 2]
jmp 0x447154
mov ecx, 2
push ecx
push edx
push 1
push eax
push dword [ebp - 0xb0]
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0x30]
call fcn.004292e0
push 0xf
xor eax, eax
mov dword [ebp - 0x20], 0
push str._success_:_1_
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.0042b3e0
movups xmm0, xmmword [ebp - 0x30]
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x30]
mov dword [edi + 0x14], 0
xor eax, eax
movups xmmword [edi], xmm0
mov word [ebp - 0x30], ax
movq xmm0, qword [ebp - 0x20]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
call fcn.004292e0
jmp 0x4471da
push str.error
mov ecx, edi
call fcn.00436750
lea ecx, [ebp - 0x60]
call fcn.004292e0
lea ecx, [ebp - 0x78]
call fcn.004292e0
lea ecx, [ebp - 0x48]
call fcn.004292e0
lea ecx, [ebp - 0x90]
call fcn.00489da0
lea ecx, [ebp - 0xa8]
call fcn.00429290
mov eax, edi
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.004a01a0
mov esp, ebp
pop ebp
ret 8