Function at 0x43e220
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efe26
mov eax, dword fs:[0]
push eax
mov eax, 0x19bc
call fcn.0046b4e0
mov eax, dword [0x533524]
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 - 0x19c0], ecx
push 0x501790
call fcn.004380b0
add esp, 4
call fcn.004369a0
mov ecx, eax
call fcn.00436ab0
mov esi, eax
push esi
mov dword [ebp - 0x19bc], esi
mov ecx, dword [esi]
call dword [ecx + 0x14]
mov edi, eax
lea eax, [ebp - 0x9b0]
push 0x800
push 0
push eax
mov dword [ebp - 0x19c4], edi
call fcn.00478070
mov ecx, dword [esi]
lea eax, [ebp - 0x9b0]
add esp, 0xc
push 0x400
push eax
push esi
call dword [ecx + 0x18]
cmp word [ebp - 0x9b0], 0
jne 0x43e2bf
xor eax, eax
jmp 0x43e4d6
push 0x800
lea eax, [ebp - 0x19b0]
push 0
push eax
call fcn.00478070
mov eax, dword [esi]
lea ecx, [ebp - 0x19b0]
add esp, 0xc
push 0x400
push ecx
push esi
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x19c0]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
lea eax, [ebp - 0x19b0]
push eax
lea eax, [ebp - 0x9b0]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
sbb eax, eax
inc eax
mov dword [ebp - 0x19c8], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.00408a80
mov ecx, eax
test ecx, ecx
je 0x43e4f1
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x19b4], eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
lea eax, [ebp - 0x19b4]
mov dword [ebp - 4], 0
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.00406320
mov edi, dword [ebp - 0x19b4]
add esp, 0x20
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push str.InstallDate
lea eax, [ebp - 0x9b0]
push eax
push dword [ebp - 0x19c4]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x43e419
call fcn.00408a80
mov ecx, eax
test ecx, ecx
je 0x43e4fb
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x19b8], eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x19b8]
push str.write_InstallDate_fail_:_d
push eax
call fcn.00406320
mov esi, dword [ebp - 0x19b8]
push esi
call fcn.004380b0
add esp, 0x10
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43e413
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x19bc]
push 0x190
lea eax, [ebp - 0x1b0]
push 0
push eax
call fcn.00478070
mov eax, dword [esi]
lea ecx, [ebp - 0x1b0]
add esp, 0xc
push 0xc8
push ecx
push esi
call dword [eax + 0x10]
push 0x800
lea eax, [ebp - 0x11b0]
push 0
push eax
call fcn.00478070
add esp, 0xc
lea eax, [ebp - 0x1b0]
push eax
mov eax, dword [ebp - 0x19c0]
push dword [eax + 4]
lea eax, [ebp - 0x11b0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x11b0]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e480
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x11b0]
push eax
push 1
push 0
lea eax, [ebp - 0x9b0]
push eax
push dword [ebp - 0x19c4]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43e4d0
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x19c8]
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.0046b078
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004061c0
push 0x80004005
call fcn.004061c0
int3