Function at 0x1002e410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035de4
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x1004c024]
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 0x1002e4bf
call sym.Comn.dll_GetObjectLog
mov dword [ebp - 0xb0], eax
push 0x204
push 0x10041cd4
call fcn.1002e090
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 0x1002e709
lea edx, [ebp - 0x50]
push edx
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x10041d10
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x50]
push edx
call fcn.1000f6bd
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 0x1002e57e
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 0x10041d40
call fcn.1002e090
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 0x1002e709
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x4c]
call fcn.10006890
mov dword [ebp - 4], 0
push 0x10041d80
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 0x1002e5bb
mov ecx, dword [ebp - 0x74]
add ecx, 2
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
cmp edx, dword [ebp - 0x50]
jae 0x1002e612
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 0x1002e602
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 0x1002e5f2
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10002ea0
push 0x10041d84
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 0x1002e610
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 0x1002e5b2
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 0x1002e655
mov ecx, dword [ebp - 0x7c]
add ecx, 1
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x4c]
call fcn.10002e30
cmp dword [ebp - 0x7c], eax
jae 0x1002e6d1
mov edx, dword [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x4c]
call fcn.10002e70
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 0x1002e6bc
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 0x1002e6d1
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 0x1002e64c
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.10002e10
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.1000f6c2
mov esp, ebp
pop ebp
ret