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

Disassembly:
push ebp
lea ebp, [esp - 0x38cc]
mov eax, 0x38cc
call fcn.00476b40
push 0xffffffffffffffff
push 0x4afd6e
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.004027fb
mov ebx, 0x800
xor edi, edi
push ebx
lea eax, [ebp]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.00475420
add esp, 0xc
push 0x2711
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], ebx
call fcn.004024e0
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 1
call fcn.0045f2f3
mov ecx, eax
call fcn.0043ce30
test eax, eax
jne 0x438838
mov ecx, dword [esi + 4]
call fcn.0045f2f3
mov ecx, eax
call fcn.0043ce3c
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x20]
push eax
call fcn.00461557
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00401c3e
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00402820
push ebx
lea eax, [ebp + 0x1000]
push edi
push eax
call fcn.00475420
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.00475420
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.00475420
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x1800]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4ba6ac
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.00475420
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.004027fb
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov byte [ebp - 4], 3
call fcn.0045f262
test eax, eax
jne 0x43895b
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401c3e
jmp 0x4389b2
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.00475420
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.00402766
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x4389c8
push str.h_refresh
lea ecx, [ebp - 0x14]
call fcn.00402766
push ebx
lea eax, [ebp + 0x800]
push 0
push eax
call fcn.00475420
push str.ipartner_s
push edi
push esi
mov dword [ebp - 0x10], ebx
call fcn.0043dc8f
add esp, 0x18
mov dword [ebp - 0x38], eax
test eax, eax
je 0x438a0c
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.00475420
mov dword [ebp - 0x10], ebx
mov ebx, str.PartnerName_bk
push ebx
push edi
push esi
call fcn.0043dc8f
add esp, 0x18
mov dword [ebp - 0x34], eax
test eax, eax
je 0x438a4d
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.00475ebe
pop ecx
test eax, eax
jne 0x438a83
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 0x438ae2
push str._Installed
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00403a39
lea ecx, [ebp + 0x3000]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call fcn.00403a39
mov ecx, dword [ebp - 0x24]
add esp, 0x18
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00402820
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.00402820
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
call fcn.0045f2f3
mov ecx, eax
call fcn.0043ce30
test eax, eax
jne 0x438b13
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
call fcn.00460dda
test eax, eax
jne 0x438b13
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
jmp 0x438b2a
lea eax, [ebp + 0x3000]
push eax
call fcn.00475ebe
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.00475ebe
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x1800]
push eax
push 1
push 0x4ba6ac
push edi
push esi
call ebx
lea eax, [ebp + 0x2800]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004024e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004159bb
lea ecx, [ebp - 0x2c]
call fcn.00415953
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x438b93
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 0x4ba614
push str.SOFTWARE360Safe_stat
push esi
call ebx
push 0
call fcn.00476089
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 0x438bf2
cmp dword [ebp - 0x28], 0
je 0x438c17
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 0x438c3f
lea eax, [ebp + 0x800]
push eax
call fcn.00475ebe
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 0x438c67
lea eax, [ebp + 0x2000]
push eax
call fcn.00475ebe
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.00402820
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402820
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402820
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402820
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.0047549a
add ebp, 0x38cc
leave
ret