Function at 0x100218d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6a23
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x1010445c]
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 edi, ecx
mov esi, dword [ebp + 8]
mov ecx, str.product_ex
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [esi]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10021936
test dx, dx
je 0x10021932
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10021936
add eax, 4
add ecx, 4
test dx, dx
jne 0x10021910
xor eax, eax
jmp 0x1002193b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10021ab8
push 0x100d1904
lea ecx, [ebp - 0x4c]
call fcn.10003d70
push str.product_ex
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.10003d70
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x50]
push ecx
mov ecx, edi
call dword [eax + 8]
mov edx, dword [ebp - 0x48]
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002199c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100219ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x50]
cmp dword [eax - 0xc], 0
jne 0x10021a9c
call fcn.100537a0
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10021a7b
push 0x5a
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12hookhomepage_normalconfigconfig.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.10007b10
push 3
push 0x100d658c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10007b10
mov byte [ebp - 4], 6
call fcn.100537a0
mov edi, eax
lea ecx, [ebp - 0xec]
push 0x1c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100042c0
mov esi, eax
push str.product_ex_not_exist
push esi
mov byte [ebp - 4], 7
call fcn.100053b0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xec]
call fcn.100054e0
lea ecx, [ebp - 0x28]
call fcn.10004d30
lea ecx, [ebp - 0x40]
call fcn.10004d30
mov edx, dword [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10021ae1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10021ae1
mov dword [ebp - 4], 0xffffffff
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10021ab8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
mov eax, dword [ecx - 0xc]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push dword [esi]
lea ecx, [ebp - 0x41]
call fcn.1001e360
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
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.100751d1
mov esp, ebp
pop ebp
ret 8