Function at 0x10038fd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e478c
mov eax, dword fs:[0]
push eax
mov eax, 0x19e8
call fcn.1005a4d0
mov eax, dword [0x101237f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x19c4], edi
push str.write_path_regitery
call fcn.100350d0
add esp, 4
call fcn.100310d0
mov ecx, eax
call fcn.10031200
mov esi, eax
push esi
mov dword [ebp - 0x19b8], esi
mov ecx, dword [esi]
call dword [ecx + 0x14]
push 0x800
mov dword [ebp - 0x19bc], eax
lea eax, [ebp - 0x9b0]
push 0
push eax
call fcn.1006a830
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 0x1003906f
xor eax, eax
jmp 0x10039400
push 0x800
lea eax, [ebp - 0x19b0]
push 0
push eax
call fcn.1006a830
mov eax, dword [esi]
lea ecx, [ebp - 0x19b0]
add esp, 0xc
push 0x400
push ecx
push esi
call dword [eax + 0x1c]
mov ecx, dword [edi + 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 dword [ebp - 0x19bc]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x19c8], eax
call fcn.10016a00
mov eax, dword [eax + 0x44]
sub eax, 0x10
push eax
call fcn.10004340
add esp, 4
lea edi, [eax + 0x10]
mov ecx, str.__fromnewinstall
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10039114
test dx, dx
je 0x10039108
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10039114
add eax, 4
add ecx, 4
test dx, dx
jne 0x100390e6
mov dword [ebp - 0x19b4], 0
jmp 0x1003911f
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x19b4], ecx
lea edx, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10039140
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x19b4], 0
jne 0x10039201
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.10004e30
mov ecx, eax
test ecx, ecx
je 0x1003941b
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], 1
push 0x100f63bc
push eax
call fcn.1000c4b0
mov esi, dword [ebp - 0x19b4]
add esp, 0x20
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.InstallDate
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
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100391fb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x19b8]
push 0x190
lea eax, [ebp - 0x1b0]
push 0
push eax
call fcn.1006a830
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.1006a830
add esp, 0xc
lea eax, [ebp - 0x1b0]
push eax
mov eax, dword [ebp - 0x19c4]
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]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10039265
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 - 0x19bc]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call fcn.10016a00
mov ecx, eax
call fcn.10011210
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10004340
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x19b8], edi
mov dword [ebp - 4], 2
call fcn.10016a00
mov ecx, eax
call fcn.10010f10
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10004340
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x19c4], esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x19c0], 0
call fcn.10016a00
mov ecx, eax
call fcn.10014210
mov ecx, dword [ebp - 0x19c0]
test eax, eax
push 4
lea eax, [ebp - 0x19c0]
mov edx, 1
push eax
push 4
push str.em_lds
push str.SOFTWAREJianDesk
cmovne ecx, edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x19c0], ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 0x19e4], edi
lea edi, [ebp - 0x19f0]
mov dword [ebp - 0x19d0], esi
mov esi, 2
mov dword [ebp - 0x19f0], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x19ec], str.SOFTWAREJianDesk
mov dword [ebp - 0x19e8], 0x100edb54
mov dword [ebp - 0x19e0], 1
mov dword [ebp - 0x19dc], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x19d8], str.SOFTWAREJianDesk
mov dword [ebp - 0x19d4], str.FROM
mov dword [ebp - 0x19cc], 1
nop word [eax + eax]
call fcn.10031050
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
add edi, 0x14
sub esi, 1
jne 0x100393a0
mov edx, dword [ebp - 0x19c4]
or esi, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
mov edi, dword [ebp - 0x19b8]
test eax, eax
jg 0x100393de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x100393fa
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.1005a0a8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100041e0
int3