Function at 0x1002c670
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10033ef0
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x10048024]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
push 1
push 0
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1002c71f
call sym.Comn.dll_GetObjectLog
mov dword [ebp - 0xb0], eax
push 0x204
push 0x1003e91c
call fcn.1002c2f0
add esp, 8
push eax
push str._s:_Failed_to_RegOpenKeyExW_in_IsExistRegistry.
mov ecx, dword [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
add esp, 0xc
xor eax, eax
jmp 0x1002c969
lea edx, [ebp - 0x50]
push edx
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1003e958
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x50]
push edx
call fcn.1000f66d
add esp, 4
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push str.BootExecute
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1002c7de
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
call sym.Comn.dll_GetObjectLog
mov dword [ebp - 0xb4], eax
push 0x20f
push 0x1003e988
call fcn.1002c2f0
add esp, 8
push eax
push str._s:_Failed_to_RegQueryValueExW_in_IsExistRegistry.
mov edx, dword [ebp - 0xb4]
push edx
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
add esp, 0xc
xor eax, eax
jmp 0x1002c969
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x4c]
call fcn.10002cf0
mov dword [ebp - 4], 0
push 0x1003e9c8
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 1
mov dword [ebp - 0x74], 0
jmp 0x1002c81b
mov ecx, dword [ebp - 0x74]
add ecx, 2
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
cmp edx, dword [ebp - 0x50]
jae 0x1002c872
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x74]
movzx cx, byte [eax]
mov word [ebp - 0x78], cx
movzx edx, word [ebp - 0x78]
test edx, edx
jne 0x1002c862
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::size_void_const]
test eax, eax
je 0x1002c852
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10002db0
push 0x1003e9cc
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
jmp 0x1002c870
mov cx, word [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_]
jmp 0x1002c812
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
push str.ddmmain
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 2
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x7c], 0
jmp 0x1002c8b5
mov ecx, dword [ebp - 0x7c]
add ecx, 1
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x4c]
call fcn.10002d40
cmp dword [ebp - 0x7c], eax
jae 0x1002c931
mov edx, dword [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x4c]
call fcn.10002d80
push eax
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.ntdll.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x1002c91c
mov dword [ebp - 0x54], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x1002c931
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x1002c8ac
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.10002d20
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1000f672
mov esp, ebp
pop ebp
ret