Function at 0x46bd20
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586011
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x634384]
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 eax, dword [ebp + 8]
lea esi, [edi + 4]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x74], eax
mov dword [edi], vtable.Quarantine::CQrObjectGroup.0
mov dword [esi], 0
call fcn.00455e30
test eax, eax
je 0x46bd98
mov eax, dword [0x651df0]
and eax, 0x7fff0000
cmp eax, 0x2230000
je 0x46bd8a
cmp eax, 0x2130000
jne 0x46bd98
mov dword [ebp - 0x7c], 0xf013f
mov ebx, 0x104
jmp 0x46bda4
mov dword [ebp - 0x7c], 0xf003f
mov ebx, 4
mov dword [ebp - 0x70], vtable.Utils::ResourceHolders::resource_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__struct_Utils::ResourceHolders::puredrop_and_null_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__.0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x70], 0x5b3ea4
mov dword [ebp - 4], 1
lea eax, [ebp - 0x6c]
push eax
push ebx
push 0
push str.SoftwareDoctor_Web
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x46be0a
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], vtable.Utils::ResourceHolders::resource_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__struct_Utils::ResourceHolders::puredrop_and_null_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__.0
test eax, eax
je 0x46c100
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46c100
mov dword [ebp - 0x68], vtable.Utils::ResourceHolders::resource_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__struct_Utils::ResourceHolders::puredrop_and_null_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__.0
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x68], 0x5b3ea4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
push str.Quarantine
call fcn.00412850
mov byte [ebp - 4], 5
lea eax, [ebp - 0x64]
push 0
push eax
push 0
push ebx
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.004125d0
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [ebp - 0x64]
xor edx, edx
test eax, eax
mov dword [ebp - 0x60], eax
cmovne ecx, edx
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004100d0
cmp dword [ebp - 0x60], 0
je 0x46bea2
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x64]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x68], vtable.Utils::ResourceHolders::resource_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__struct_Utils::ResourceHolders::puredrop_and_null_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__.0
test eax, eax
je 0x46be96
push eax
call esi
mov dword [ebp - 0x64], 0
jmp 0x46c0e8
mov ebx, dword [ebp - 0x74]
lea eax, [ebp - 0x78]
push eax
push esi
push 0
push dword [ebp - 0x7c]
mov ecx, ebx
mov dword [ebp - 0x78], 0
push 1
push 0
push 0
call fcn.004125d0
push eax
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x46bed7
mov dword [esi], 0
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x46bff2
cmp dword [ebp - 0x78], 2
jne 0x46bfea
push dword [esi]
call fcn.0046c1f0
test al, al
jne 0x46bfe7
push esi
call fcn.0046c1d0
push 1
call fcn.0045e0c0
mov ecx, eax
call fcn.00462520
test al, al
je 0x46bfaa
push str.d:projectsdrweb_se_testingdrweb_se_solutiondrweb_quarantineqrobjectgroup.cpp
lea ecx, [ebp - 0x28]
call fcn.00412850
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
call fcn.0041bb10
mov byte [ebp - 4], 9
push str.__S___group_is_not_volatile.
mov dword [ebp - 0x2c], 0
call fcn.0041bea0
add esp, 4
lea ecx, [ebp - 0x44]
push eax
push str.__S___group_is_not_volatile.
call fcn.0041bc10
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x5c]
push eax
push ebx
lea ecx, [ebp - 0x44]
call fcn.00442170
mov ecx, eax
call fcn.004422d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
push 0x28
push ecx
push eax
push ecx
call fcn.0045e0c0
mov ecx, eax
call fcn.00462330
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5c]
call fcn.0041ba60
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
call fcn.0041ba60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004100d0
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x46bfc6
mov ecx, dword [ebp - 0x74]
call fcn.004125d0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, dword [ebp - 0x64]
jmp 0x46bfc8
xor eax, eax
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x46bff2
lea eax, [ebp - 0x78]
push eax
push esi
push dword [ebp - 0x7c]
push 1
push dword [ebp - 0x74]
push ebx
call fcn.0046c190
mov dword [ebp - 0x60], eax
jmp 0x46bfea
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x46c0c6
call fcn.0045e0c0
mov ecx, dword [eax]
test ecx, ecx
je 0x46c0c6
mov eax, dword [ecx]
call dword [eax]
cmp eax, 1
setge al
test al, al
je 0x46c0c6
push str.d:projectsdrweb_se_testingdrweb_se_solutiondrweb_quarantineqrobjectgroup.cpp
lea ecx, [ebp - 0x28]
call fcn.00412850
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x44]
call fcn.0041bb10
mov byte [ebp - 4], 0xe
push str.Cant_open___S___group_because__lx_.
mov dword [ebp - 0x2c], 0
call fcn.0041bea0
add esp, 4
lea ecx, [ebp - 0x44]
push eax
push str.Cant_open___S___group_because__lx_.
call fcn.0041bc10
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0x44]
call fcn.00442170
mov ecx, eax
call fcn.0044a410
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x5c]
push eax
call fcn.00432a90
push 0x35
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x80], 1
push ecx
push eax
push ecx
call fcn.0045e0c0
mov ecx, eax
call fcn.00462330
mov eax, 1
mov dword [ebp - 0x80], eax
and eax, 0xfffffffe
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x5c]
call fcn.0041ba60
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x44]
call fcn.0041ba60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004100d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x64]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x68], vtable.Utils::ResourceHolders::resource_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__struct_Utils::ResourceHolders::puredrop_and_null_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__.0
test eax, eax
je 0x46c0e1
push eax
call esi
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], vtable.Utils::ResourceHolders::resource_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__struct_Utils::ResourceHolders::puredrop_and_null_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__.0
test eax, eax
je 0x46c100
push eax
call esi
mov dword [ebp - 0x6c], 0
mov eax, edi
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.005395e6
mov esp, ebp
pop ebp
ret 8