Function at 0x1001bea0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021734
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x1002e018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x24]
push eax
push 0x1015d3c4
call fcn.10006fe0
mov dword [ebp - 4], 0
lea ecx, [ecx]
lea ecx, [ebp - 0x30]
push ecx
push 0x1015d3c4
call fcn.10016fa0
mov esi, eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1001bf0d
mov ecx, dword [eax]
test ecx, ecx
je 0x1001bf0d
mov eax, dword [esi]
test eax, eax
je 0x1001bf09
mov eax, dword [eax]
cmp ecx, eax
je 0x1001bf67
push 0xee
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push str.vector_iterators_incompatible
call dword [sym.imp.MSVCP100D.dll_void___cdecl_std::_Debug_message_wchar_t_const___wchar_t_const___unsigned_int_]
mov edi, dword [sym.imp.MSVCR100D.dll__CrtDbgReportW]
push str._Standard_C_Libraries_Invalid_Argument___0
push 0
push 0xef
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push 2
call edi
add esp, 0x20
cmp eax, 1
jne 0x1001bf46
int3
push 0
push 0xef
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push str.std::_Vector_const_iterator_class_std::_Vector_val_struct_ITRN_LIST_INFO_class_std::allocator_struct_ITRN_LIST_INFO_____::_Compat
push str._invalid_argument_
call dword [sym.imp.MSVCR100D.dll__invalid_parameter]
add esp, 0x14
jmp 0x1001bf6d
mov edi, dword [sym.imp.MSVCR100D.dll__CrtDbgReportW]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [esi + 8]
mov byte [ebp - 4], 0
mov esi, dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
push 3
lea ecx, [ebp - 0x14]
setne bl
call esi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1001bfe1
cmp dword [eax + 4], 0
lea esi, [eax + 4]
je 0x1001bfb7
jmp 0x1001bfa0
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
cmp eax, ecx
je 0x1001bfb2
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x1001bfa0
cmp dword [esi], 0
jne 0x1001bfcf
push 0xb5
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexutility
push str.ITERATOR_LIST_CORRUPTED_
call dword [sym.imp.MSVCP100D.dll_void___cdecl_std::_Debug_message_wchar_t_const___wchar_t_const___unsigned_int_]
add esp, 0xc
mov edx, dword [ebp - 0x2c]
mov dword [esi], edx
mov esi, dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
test bl, bl
je 0x1001c2a6
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x1001c014
mov ecx, dword [edx]
test ecx, ecx
je 0x1001c014
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1001c014
cmp eax, dword [ecx + 4]
jb 0x1001c014
cmp dword [ecx + 8], eax
ja 0x1001c067
mov ebx, dword [sym.imp.MSVCP100D.dll_void___cdecl_std::_Debug_message_wchar_t_const___wchar_t_const___unsigned_int_]
push 0x46
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push str.vector_iterator_not_dereferencable
call ebx
push str._Standard_C_Libraries_Out_of_Range___0
push 0
push 0x47
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push 2
call edi
add esp, 0x20
cmp eax, 1
jne 0x1001c043
int3
push 0
push 0x47
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push 0x10023f88
push str._out_of_range_
call dword [sym.imp.MSVCR100D.dll__invalid_parameter]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add esp, 0x14
jmp 0x1001c06d
mov ebx, dword [sym.imp.MSVCP100D.dll_void___cdecl_std::_Debug_message_wchar_t_const___wchar_t_const___unsigned_int_]
cmp byte [eax], 2
jne 0x1001c0ec
mov dword [ebp - 0x10], 0
test edx, edx
je 0x1001c08d
mov ecx, dword [edx]
test ecx, ecx
je 0x1001c08d
cmp eax, dword [ecx + 4]
jb 0x1001c08d
cmp dword [ecx + 8], eax
ja 0x1001c0d5
push 0x46
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push str.vector_iterator_not_dereferencable
call ebx
push str._Standard_C_Libraries_Out_of_Range___0
push 0
push 0x47
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push 2
call edi
add esp, 0x20
cmp eax, 1
jne 0x1001c0b6
int3
push 0
push 0x47
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push 0x10023f88
push str._out_of_range_
call dword [sym.imp.MSVCR100D.dll__invalid_parameter]
mov eax, dword [ebp - 0x1c]
add esp, 0x14
lea ecx, [ebp - 0x10]
push ecx
inc eax
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp dword [ebp - 0x10], 0
jne 0x1001c15c
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x24]
call fcn.10003ba0
push 3
lea ecx, [ebp - 0x18]
call esi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x1001c14a
cmp dword [eax + 4], 0
lea esi, [eax + 4]
je 0x1001c12a
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
cmp eax, ecx
je 0x1001c125
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x1001c113
cmp dword [esi], 0
jne 0x1001c13e
push 0xb5
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexutility
push str.ITERATOR_LIST_CORRUPTED_
call ebx
add esp, 0xc
mov edx, dword [ebp - 0x38]
mov dword [esi], edx
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
jmp 0x1001bee0
mov ecx, dword [0x1015d3cc]
sub ecx, dword [0x1015d3c8]
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x1001c226
xor ebx, ebx
cmp eax, edi
ja 0x1001c1dc
push 0x3a4
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push 0x10024b4c
call dword [sym.imp.MSVCP100D.dll_void___cdecl_std::_Debug_message_wchar_t_const___wchar_t_const___unsigned_int_]
push str._Standard_C_Libraries_Out_of_Range___0
push ebx
push 0x3a5
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push 2
call dword [sym.imp.MSVCR100D.dll__CrtDbgReportW]
add esp, 0x20
cmp eax, 1
jne 0x1001c1bd
int3
push 0
push 0x3a5
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCinclude_vector
push str.std::vector_struct_ITRN_LIST_INFO_class_std::allocator_struct_ITRN_LIST_INFO___::operator___
push str._out_of_range_
call dword [sym.imp.MSVCR100D.dll__invalid_parameter]
add esp, 0x14
mov eax, dword [0x1015d3c8]
cmp byte [ebx + eax], 2
jne 0x1001c1fe
mov esi, 0x1015d3c4
call fcn.1001c330
inc eax
push eax
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ecx, dword [0x1015d3cc]
sub ecx, dword [0x1015d3c8]
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebx, 0x105
cmp eax, edi
ja 0x1001c1dc
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 6
call fcn.10006030
add esp, 0xc
or ebx, 0xffffffff
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1001c2a1
cmp dword [eax + 4], 0
lea esi, [eax + 4]
je 0x1001c27d
mov eax, dword [esi]
lea edx, [ebp - 0x24]
cmp eax, edx
je 0x1001c278
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x1001c266
cmp dword [esi], 0
jne 0x1001c295
push 0xb5
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexutility
push str.ITERATOR_LIST_CORRUPTED_
call dword [sym.imp.MSVCP100D.dll_void___cdecl_std::_Debug_message_wchar_t_const___wchar_t_const___unsigned_int_]
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [esi], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x18]
jmp 0x1001c30e
or ebx, 0xffffffff
push 3
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call esi
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1001c30b
cmp dword [eax + 4], 0
lea esi, [eax + 4]
je 0x1001c2e7
lea ebx, [ebx]
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
cmp eax, ecx
je 0x1001c2e2
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x1001c2d0
cmp dword [esi], 0
jne 0x1001c2ff
push 0xb5
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexutility
push str.ITERATOR_LIST_CORRUPTED_
call dword [sym.imp.MSVCP100D.dll_void___cdecl_std::_Debug_message_wchar_t_const___wchar_t_const___unsigned_int_]
add esp, 0xc
mov edx, dword [ebp - 0x20]
mov dword [esi], edx
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret