Function at 0x40cb70
Capabilities:
Delete registry value
Get graphical window text
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4749fc
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x860]
mov dword fs:[0], eax
push 0x40e
mov edi, ecx
xor esi, esi
lea ecx, [esp + 0x44a]
xor eax, eax
push esi
push ecx
mov word [esp + 0x450], ax
call fcn.00462160
add esp, 0xc
mov eax, 1
push 0x40e
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x3a]
xor edx, edx
push esi
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], esi
mov word [esp + 0x40], dx
call fcn.00462160
mov edx, dword [edi + 0x918]
add esp, 0xc
push 0x208
lea ecx, [esp + 0x448]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x47abe4
lea eax, [esp + 0x448]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x448]
call fcn.00454940
lea ebx, [esp + 0x10]
mov dword [esp + 0x868], esi
call fcn.0044d8c0
mov ebx, eax
call fcn.0044d7d0
lea ecx, [esp + 0x10]
call fcn.0044d670
sub eax, 1
je 0x40cef4
sub eax, 1
je 0x40cec5
sub eax, 1
je 0x40ce83
mov esi, dword [esp + 0x10]
mov eax, 0x490608
call fcn.0044b520
mov eax, dword [esp + 0x10]
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 1
push str.SavePath
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call esi
mov dword [esp + 0x868], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40cce3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
cmp dword [edi + 0x574], ebx
je 0x40ccf5
mov dword [esp + 0x24], 1
push 4
lea ecx, [esp + 0x28]
push ecx
push 4
push str.SaveFile
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call esi
cmp dword [edi + 0x604], ebx
je 0x40cd21
mov dword [esp + 0x18], 1
jmp 0x40cd32
mov edx, dword [edi + 0x724]
neg edx
sbb edx, edx
and edx, 2
mov dword [esp + 0x18], edx
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push str.Silent
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call esi
cmp dword [edi + 0x6dc], ebx
je 0x40cd58
mov dword [esp + 0x20], ebx
push 4
lea ecx, [esp + 0x24]
push ecx
push 4
push str.DownAndInstall
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call esi
cmp dword [edi + 0x76c], ebx
jne 0x40cdb0
mov dword [esp + 0x14], ebx
call fcn.0040dd60
test eax, eax
je 0x40cda1
push 4
lea eax, [esp + 0x18]
push eax
push 4
push str.CloseUpdate
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call esi
cmp dword [edi + 0x7fc], ebx
je 0x40cdc5
call fcn.0044e540
jmp 0x40cdd4
cmp dword [esp + 0x14], 1
jne 0x40cd7e
call fcn.0040db80
push 4
lea edx, [esp + 0x18]
push edx
jmp 0x40cd8e
call fcn.0044b4f0
mov eax, 0x49139c
call fcn.0044b420
mov edx, dword [edi + 0x91c]
push 0x208
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [edi + 0x7b4], ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
je 0x40ce0c
lea eax, [esp + 0x34]
push eax
call edi
test eax, eax
jle 0x40ce0c
mov dword [esp + 0x1c], 1
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push str.pathtype
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call esi
cmp dword [esp + 0x1c], 1
jne 0x40ce64
lea edx, [esp + 0x34]
push edx
call edi
test eax, eax
jle 0x40ce64
lea eax, [esp + 0x34]
push eax
call edi
add eax, eax
push eax
lea ecx, [esp + 0x38]
push ecx
push 1
push str.netpath
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call esi
mov eax, 1
jmp 0x40cf6d
push str.netpath
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov eax, 1
jmp 0x40cf6d
lea edx, [esp + 0x30]
push edx
mov ecx, 0x9d8a
call fcn.00454940
mov byte [esp + 0x868], 3
mov eax, dword [eax]
push 0
push eax
call fcn.0044d520
mov byte [esp + 0x870], 0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40cf34
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x9d89
call fcn.00454940
mov byte [esp + 0x868], 1
mov eax, dword [eax]
push 0
push eax
call fcn.0044d520
mov byte [esp + 0x870], 0
mov eax, dword [esp + 0x30]
jmp 0x40cf21
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x9d88
call fcn.00454940
mov byte [esp + 0x868], 2
mov eax, dword [eax]
push 0
push eax
call fcn.0044d520
mov byte [esp + 0x870], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
add esp, 8
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40cf40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x868], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cf6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x860]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x848]
xor ecx, esp
call fcn.00460259
mov esp, ebp
pop ebp
ret