Function at 0x438397
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x38cc]
mov eax, 0x38cc
call fcn.004760e0
push 0xffffffffffffffff
push 0x4af2f5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x38c8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x4f8ce0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x30], esi
call fcn.004029af
mov ebx, 0x800
xor edi, edi
push ebx
lea eax, [ebp]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.00474a10
add esp, 0xc
push 0x2711
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], ebx
call fcn.00402675
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 1
call fcn.0045e466
mov ecx, eax
call fcn.0043caed
test eax, eax
jne 0x43843b
mov ecx, dword [esi + 4]
call fcn.0045e466
mov ecx, eax
call fcn.0043caf9
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x20]
push eax
call fcn.0046069a
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00401df2
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004029d4
push ebx
lea eax, [ebp + 0x1000]
push edi
push eax
call fcn.00474a10
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x1000]
push eax
lea eax, [ebp - 0x18]
push eax
push str.PrePartner
mov edi, str.SOFTWARE360SafeCoop
push edi
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push ebx
lea eax, [ebp + 0x3000]
push 0
push eax
call fcn.00474a10
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x3000]
push eax
lea eax, [ebp - 0x18]
push eax
push str.PartnerName
push edi
push esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push ebx
lea eax, [ebp + 0x1800]
push 0
push eax
call fcn.00474a10
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x1800]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4ba164
push edi
push esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push ebx
lea eax, [ebp + 0x2800]
push 0
push eax
call fcn.00474a10
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x2800]
push eax
lea eax, [ebp - 0x18]
push eax
push str.registtime
mov dword [ebp - 0x10], ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0x4f8ce0
lea ecx, [ebp - 0x14]
call fcn.004029af
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov byte [ebp - 4], 3
call fcn.0045e3d5
test eax, eax
jne 0x43855e
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401df2
jmp 0x4385b5
xor eax, eax
push 0xc6
push eax
mov word [ebp + 0x3800], ax
lea eax, [ebp + 0x3802]
push eax
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0x64
call fcn.00474a10
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x3800]
push eax
lea eax, [ebp - 0x24]
push eax
push str.ipartner
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp + 0x3800]
push eax
lea ecx, [ebp - 0x14]
call fcn.004028fb
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x4385cb
push str.h_refresh
lea ecx, [ebp - 0x14]
call fcn.004028fb
push ebx
lea eax, [ebp + 0x800]
push 0
push eax
call fcn.00474a10
push str.ipartner_s
push edi
push esi
mov dword [ebp - 0x10], ebx
call fcn.0043d9e3
add esp, 0x18
mov dword [ebp - 0x38], eax
test eax, eax
je 0x43860f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x800]
push eax
lea eax, [ebp - 0x18]
push eax
push str.ipartner_s
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push ebx
lea eax, [ebp + 0x2000]
push 0
push eax
call fcn.00474a10
mov dword [ebp - 0x10], ebx
mov ebx, str.PartnerName_bk
push ebx
push edi
push esi
call fcn.0043d9e3
add esp, 0x18
mov dword [ebp - 0x34], eax
test eax, eax
je 0x438650
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x2000]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea eax, [ebp + 0x1000]
push eax
call fcn.004754ae
pop ecx
test eax, eax
jne 0x438686
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx - 0xc]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add eax, eax
push eax
push ecx
push 1
push str.PrePartner
push edi
push esi
call ebx
jmp 0x4386e5
push str._Installed
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00403a89
lea ecx, [ebp + 0x3000]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call fcn.00403a89
mov ecx, dword [ebp - 0x24]
add esp, 0x18
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.004029d4
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx - 0xc]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add eax, eax
push eax
push ecx
push 1
push str.PrePartner
push edi
push esi
call ebx
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004029d4
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
call fcn.0045e466
mov ecx, eax
call fcn.0043caed
test eax, eax
jne 0x438716
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
call fcn.0045ff1d
test eax, eax
jne 0x438716
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
jmp 0x43872d
lea eax, [ebp + 0x3000]
push eax
call fcn.004754ae
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x3000]
push eax
push 1
push str.PartnerName
push edi
push esi
call ebx
lea eax, [ebp + 0x1800]
push eax
call fcn.004754ae
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x1800]
push eax
push 1
push 0x4ba164
push edi
push esi
call ebx
lea eax, [ebp + 0x2800]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402675
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004159e2
lea ecx, [ebp - 0x2c]
call fcn.0041597a
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x438796
add eax, eax
push eax
push ecx
push 1
push str.registtime
push edi
push esi
call ebx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push str.ipartner
push edi
push esi
mov dword [ebp - 0x24], eax
call ebx
push dword [ebp - 0x24]
push dword [ebp - 0x14]
push 1
push 0x4ba0cc
push str.SOFTWARE360Safe_stat
push esi
call ebx
push 0
call fcn.00476f97
pop ecx
mov dword [ebp - 0x44], eax
xor eax, eax
push eax
lea ecx, [ebp - 0x28]
push ecx
push eax
push 2
push eax
push eax
push eax
push edi
push esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4387f5
cmp dword [ebp - 0x28], 0
je 0x43881a
push 8
lea eax, [ebp - 0x44]
push eax
push 0xb
push 0
push str.insttime
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x38], 0
je 0x438842
lea eax, [ebp + 0x800]
push eax
call fcn.004754ae
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x800]
push eax
push 1
push str.ipartner_s
push edi
push esi
call ebx
cmp dword [ebp - 0x34], 0
je 0x43886a
lea eax, [ebp + 0x2000]
push eax
call fcn.004754ae
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x2000]
push eax
push 1
push str.PartnerName_bk
push edi
push esi
call ebx
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004029d4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004029d4
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.004029d4
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004029d4
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x38c8]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0x38cc
leave
ret