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

Disassembly:
push ebp
lea ebp, [esp - 0x38cc]
mov eax, 0x38cc
call fcn.00476b30
push 0xffffffffffffffff
push 0x4afd05
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4f3bd0]
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 0x4f9e00
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x30], esi
call fcn.0040293e
mov ebx, 0x800
xor edi, edi
push ebx
lea eax, [ebp]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.00475410
add esp, 0xc
push 0x2711
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], ebx
call fcn.0040260e
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 1
call fcn.0045e7a8
mov ecx, eax
call fcn.0043cdc4
test eax, eax
jne 0x4387c3
mov ecx, dword [esi + 4]
call fcn.0045e7a8
mov ecx, eax
call fcn.0043cdd0
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x20]
push eax
call fcn.00460a28
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.00402963
push ebx
lea eax, [ebp + 0x1000]
push edi
push eax
call fcn.00475410
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.00475410
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.00475410
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x1800]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4ba684
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.00475410
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 0x4f9e00
lea ecx, [ebp - 0x14]
call fcn.0040293e
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov byte [ebp - 4], 3
call fcn.0045e717
test eax, eax
jne 0x4388e6
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401df2
jmp 0x43893d
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.00475410
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.00402894
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x438953
push str.h_refresh
lea ecx, [ebp - 0x14]
call fcn.00402894
push ebx
lea eax, [ebp + 0x800]
push 0
push eax
call fcn.00475410
push str.ipartner_s
push edi
push esi
mov dword [ebp - 0x10], ebx
call fcn.0043dc24
add esp, 0x18
mov dword [ebp - 0x38], eax
test eax, eax
je 0x438997
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.00475410
mov dword [ebp - 0x10], ebx
mov ebx, str.PartnerName_bk
push ebx
push edi
push esi
call fcn.0043dc24
add esp, 0x18
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4389d8
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.00475eae
pop ecx
test eax, eax
jne 0x438a0e
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 0x438a6d
push str._Installed
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00403a22
lea ecx, [ebp + 0x3000]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call fcn.00403a22
mov ecx, dword [ebp - 0x24]
add esp, 0x18
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00402963
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.00402963
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
call fcn.0045e7a8
mov ecx, eax
call fcn.0043cdc4
test eax, eax
jne 0x438a9e
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
call fcn.004602ab
test eax, eax
jne 0x438a9e
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
jmp 0x438ab5
lea eax, [ebp + 0x3000]
push eax
call fcn.00475eae
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.00475eae
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x1800]
push eax
push 1
push 0x4ba684
push edi
push esi
call ebx
lea eax, [ebp + 0x2800]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040260e
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00415975
lea ecx, [ebp - 0x2c]
call fcn.0041590d
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x438b1e
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 0x4ba5ec
push str.SOFTWARE360Safe_stat
push esi
call ebx
push 0
call fcn.00476079
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 0x438b7d
cmp dword [ebp - 0x28], 0
je 0x438ba2
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 0x438bca
lea eax, [ebp + 0x800]
push eax
call fcn.00475eae
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 0x438bf2
lea eax, [ebp + 0x2000]
push eax
call fcn.00475eae
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.00402963
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402963
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.0047548a
add ebp, 0x38cc
leave
ret