Function at 0x476400
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63c048
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6eed24]
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 dword [ebp - 0x68], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov ebx, eax
neg ebx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x6c], esi
sbb ebx, ebx
mov dword [ebp - 0x44], eax
and ebx, dword [ebp + 0x1c]
mov dword [ebp - 0x38], ebx
jge 0x47645e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x38], eax
neg esi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
sbb esi, esi
mov dword [ebp - 0x5c], 0
add esi, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
push 0xffffffffffffffff
push str.SoftwareTracker_SoftwareVault
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.004031a0
cmp dword [ebp + 0x14], 0
je 0x4764c5
push 0xffffffffffffffff
push 0x64d1fc
lea ecx, [ebp - 0x5c]
call fcn.004031a0
push 0xffffffffffffffff
push str._Removed
lea ecx, [ebp - 0x5c]
call fcn.004031a0
mov ebx, dword [ebp - 0x5c]
mov eax, 0x649aa0
test ebx, ebx
je 0x4764d3
mov eax, ebx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0x2011f
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x476518
movzx esi, ax
or esi, 0x83ff0000
mov dword [ebp - 4], 1
test ebx, ebx
je 0x476511
push ebx
call fcn.00446420
add esp, 4
mov eax, esi
jmp 0x476704
mov ebx, dword [ebp - 0x50]
xor esi, esi
mov eax, dword [ebx + 4]
test eax, eax
je 0x476562
xor edi, edi
test eax, eax
je 0x476560
lea ebx, [ebx]
mov eax, dword [ebx]
mov eax, dword [eax + edi*4]
add eax, 0x10
cmp dword [eax + 0x14], 8
jb 0x476540
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
test eax, eax
js 0x476551
cmp esi, eax
jae 0x476551
mov esi, eax
mov eax, dword [ebx + 4]
inc edi
cmp edi, eax
jb 0x476530
test esi, esi
je 0x476560
inc esi
jmp 0x476562
mov esi, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea edi, [eax + 1]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push esi
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x30]
push str._04d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
inc esi
push eax
push 0x20119
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4765d5
push eax
call ebx
cmp esi, 0x400
jb 0x476585
jmp 0x4766e6
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x2011f
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x47661e
movzx edi, ax
mov eax, dword [ebp - 0x34]
or edi, 0x83ff0000
test eax, eax
je 0x4766e6
push eax
call ebx
jmp 0x4766e6
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 1
jne 0x476644
mov eax, dword [ebp - 0x38]
test eax, eax
jle 0x476644
lea eax, [eax*2 + 2]
mov dword [ebp - 0x38], edi
push eax
push dword [ebp - 0x44]
push 1
jmp 0x47665e
mov ecx, dword [ebp - 0x4c]
mov eax, ecx
mov dword [ebp - 0x38], 0
cmp dword [ecx + 0x14], 0x10
jb 0x476658
mov eax, dword [ecx]
push dword [ecx + 0x10]
push eax
push 3
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0
push str.Value
push dword [ebp - 0x34]
call esi
test eax, eax
je 0x47667f
movzx edi, ax
or edi, 0x83ff0000
jmp 0x476681
xor edi, edi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
mov dword [ebp - 0x44], 0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
push 8
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push 0xb
push 0
push 0x65bc2c
push dword [ebp - 0x34]
mov dword [ebp - 0x60], ecx
call esi
push dword [ebp - 0x34]
call ebx
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x4766cc
mov eax, dword [eax]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x30]
push dword [ebp - 0x64]
push dword [ebp - 0x38]
push dword [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x50]
push edx
push eax
call fcn.00475c60
push dword [ebp - 0x3c]
call ebx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], 2
test eax, eax
je 0x476702
push eax
call fcn.00446420
add esp, 4
mov eax, edi
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.004b2558
mov esp, ebp
pop ebp
ret 0x18