Function at 0x1003f960
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f372b
mov eax, dword fs:[0]
push eax
mov eax, 0x19b4
call fcn.10069fc0
mov eax, dword [0x10136674]
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 - 0x19b8], ecx
push str.write_path_regitery
call fcn.100399a0
add esp, 4
call fcn.10037490
mov ecx, eax
call fcn.100375a0
mov edi, eax
push edi
mov ecx, dword [edi]
call dword [ecx + 0x14]
mov esi, eax
lea eax, [ebp - 0x9b0]
push 0x800
push 0
push eax
mov dword [ebp - 0x19bc], esi
call fcn.1007bae0
mov ecx, dword [edi]
lea eax, [ebp - 0x9b0]
add esp, 0xc
push 0x400
push eax
push edi
call dword [ecx + 0x18]
cmp word [ebp - 0x9b0], 0
jne 0x1003f9f9
xor eax, eax
jmp 0x1003fb9c
push 0x800
lea eax, [ebp - 0x19b0]
push 0
push eax
call fcn.1007bae0
mov eax, dword [edi]
lea ecx, [ebp - 0x19b0]
add esp, 0xc
push 0x400
push ecx
push edi
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x19b8]
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 esi
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 - 0x19c0], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.100087f0
mov ecx, eax
test ecx, ecx
je 0x1003fbb7
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 0x100fe8e0
push eax
call fcn.10006000
mov esi, dword [ebp - 0x19b4]
add esp, 0x20
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push 0x10107008
lea eax, [ebp - 0x9b0]
push eax
push dword [ebp - 0x19bc]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x190
lea eax, [ebp - 0x1b0]
push 0
push eax
call fcn.1007bae0
mov eax, dword [edi]
lea ecx, [ebp - 0x1b0]
add esp, 0xc
push 0xc8
push ecx
push edi
call dword [eax + 0x10]
push 0x800
lea eax, [ebp - 0x11b0]
push 0
push eax
call fcn.1007bae0
add esp, 0xc
lea eax, [ebp - 0x1b0]
push eax
mov eax, dword [ebp - 0x19b8]
push dword [eax + 4]
lea eax, [ebp - 0x11b0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x11b0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1003fb47
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea eax, [ebp - 0x11b0]
push eax
push 1
push 0
lea eax, [ebp - 0x9b0]
push eax
push dword [ebp - 0x19bc]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1003fb96
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x19c0]
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.10069b58
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10005ea0
int3