Function at 0x10012620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e0f09
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10104008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x101080e9
mov edi, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], 0
call fcn.100de193
cmp dword [edi + 0x10], 0
jne 0x1001271f
cmp dword [0x101063a0], 0
je 0x10012718
push 0
mov ecx, 0x101063a0
call fcn.10034e30
mov eax, dword [0x101063a0]
cmp byte [eax + 0x54], 0
je 0x10012718
cmp dword [eax + 0x58], 5
jb 0x10012718
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x65], al
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push 0x17
push str.Reg_ValueName_Is_Empty_
call fcn.10004bc0
push 0x1a2
push str.RC::RCRestartDelFileApi::ReadRegDelFileInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_virusscan_srcgdoperate_rcrestartdelfileapi.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push eax
push 5
call fcn.100357b0
cmp byte [ebp - 0x65], 0
je 0x10012709
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push eax
call fcn.10035ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004b60
mov al, 1
jmp 0x10012cde
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x10012729
mov ecx, dword [edi]
mov edx, str.DFlag
call fcn.10027170
test al, al
je 0x100127f4
cmp dword [0x101063a0], 0
je 0x100127ed
push 0
mov ecx, 0x101063a0
call fcn.10034e30
mov eax, dword [0x101063a0]
cmp byte [eax + 0x54], 0
je 0x100127ed
cmp dword [eax + 0x58], 5
jb 0x100127ed
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x65], al
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0x18
push str.Reg_ValueName_Is_DataLK_
call fcn.10004bc0
push 0x1a8
push str.RC::RCRestartDelFileApi::ReadRegDelFileInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_virusscan_srcgdoperate_rcrestartdelfileapi.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push eax
push 5
call fcn.100357b0
cmp byte [ebp - 0x65], 0
je 0x100127de
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push eax
call fcn.10035ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004b60
xor al, al
jmp 0x10012cde
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
call fcn.1002ade0
mov dword [ebp - 4], 2
xor eax, eax
push 0x37
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.SYSTEMCurrentControlSet_services2345DumpBlockSection
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10004bc0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x70], 1
mov eax, dword [esi + 4]
test eax, eax
je 0x1001289a
push 0x100f082c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001289a
mov edx, dword [esi]
lea ecx, [ebp - 0x28]
or edx, 0x20019
lea esi, [ebp - 0x64]
cmp dword [ebp - 0x14], 8
push esi
cmovae ecx, dword [ebp - 0x28]
push edx
push 0
push ecx
push 0x80000002
call eax
mov esi, dword [ebp - 0x2c]
test eax, eax
jne 0x1001289a
cmp dword [ebp - 0x64], 0
mov byte [ebp - 0x65], 0
jne 0x1001289e
mov byte [ebp - 0x65], 1
mov dword [ebp - 4], 2
mov eax, 1
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x28]
and eax, 0xfffffffe
mov dword [ebp - 0x70], eax
call fcn.10004b60
cmp byte [ebp - 0x65], 0
je 0x10012953
push 5
mov ecx, 0x101063a0
call fcn.10035760
mov edi, eax
test edi, edi
je 0x1001294a
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
push 0x12
push str.OpenRegKey_Failed_
call fcn.10004bc0
push 0x1b0
push str.RC::RCRestartDelFileApi::ReadRegDelFileInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_virusscan_srcgdoperate_rcrestartdelfileapi.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push eax
push 5
call fcn.100357b0
cmp edi, 1
jbe 0x1001293e
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push eax
call fcn.10035ae0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.10004b60
mov byte [ebp - 0x65], 0
jmp 0x10012cc2
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0x288
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x44], vtable.RC::RCBuffer_unsigned_char_.0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
push dword [ebp - 0x34]
call fcn.10013a30
push dword [ebp - 0x40]
push 0
push dword [ebp - 0x3c]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x60], 3
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100129ad
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x60]
push ecx
push 0
push eax
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10012a79
cmp dword [ebp - 0x64], 0
je 0x100129de
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1002b220
push 5
mov ecx, 0x101063a0
call fcn.10035760
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10012a70
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 6
cmp dword [edi + 0x14], 8
jb 0x10012a1f
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x28]
push str.Reg_Query_ValueName___s_Failed_
push eax
call fcn.10035c70
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push 0x1c1
push str.RC::RCRestartDelFileApi::ReadRegDelFileInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_virusscan_srcgdoperate_rcrestartdelfileapi.cpp
push eax
push 5
call fcn.100357b0
cmp dword [ebp - 0x30], 1
jbe 0x10012a64
lea eax, [ebp - 0x28]
mov ecx, 0x101063a0
push eax
call fcn.10035ae0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.10004b60
mov byte [ebp - 0x65], 0
jmp 0x10012ca0
push 0x1e
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.XhY3UnE17A92w5d3J6eo8_4rw_qph
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100059b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
call fcn.10025cb0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10025d50
push dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
push edi
call fcn.10025df0
push dword [ebp - 0x34]
push edi
mov edi, dword [ebp - 0x6c]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [edi], 0x32333435
je 0x10012b93
push 5
mov ecx, 0x101063a0
call fcn.10035760
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x10012b8c
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x5c]
push dword [edi]
push str.Reg_Data_Signature___d_Check_Failed_
push eax
call fcn.10035c70
add esp, 0xc
lea eax, [ebp - 0x5c]
mov ecx, 0x101063a0
push 0x1cf
push str.RC::RCRestartDelFileApi::ReadRegDelFileInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_virusscan_srcgdoperate_rcrestartdelfileapi.cpp
push eax
push 5
call fcn.100357b0
cmp dword [ebp - 0x6c], 1
jbe 0x10012b80
lea eax, [ebp - 0x5c]
mov ecx, 0x101063a0
push eax
call fcn.10035ae0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5c]
call fcn.10004b60
mov dword [edi + 0xc], 3
cmp dword [edi + 4], 1
je 0x10012c30
push 5
mov ecx, 0x101063a0
call fcn.10035760
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x10012c29
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x5c]
push dword [edi + 4]
push str.Reg_Data_DataVer___d_Check_Failed_
push eax
call fcn.10035c70
add esp, 0xc
lea eax, [ebp - 0x5c]
mov ecx, 0x101063a0
push 0x1d6
push str.RC::RCRestartDelFileApi::ReadRegDelFileInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_virusscan_srcgdoperate_rcrestartdelfileapi.cpp
push eax
push 5
call fcn.100357b0
cmp dword [ebp - 0x6c], 1
jbe 0x10012c1d
lea eax, [ebp - 0x5c]
mov ecx, 0x101063a0
push eax
call fcn.10035ae0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5c]
call fcn.10004b60
mov dword [edi + 0xc], 4
cmp dword [ebp - 0x64], 0
je 0x10012c42
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1002b220
mov byte [ebp - 0x65], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.10025cf0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10012c8e
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10012c84
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10012c84
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dcba6
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], vtable.RC::RCBuffer_unsigned_char_.0
test eax, eax
je 0x10012cc2
push eax
call fcn.100dcb71
add esp, 4
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
push 8
push esi
call fcn.100dcba6
mov al, byte [ebp - 0x65]
add esp, 8
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100dcb60
mov esp, ebp
pop ebp
ret 8