Function at 0x100585b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ef1b3
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x101302a0]
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
call fcn.10005810
mov ecx, eax
test ecx, ecx
je 0x10058828
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x50], 1
mov ecx, 1
mov dword [ebp - 0x4c], 0x104
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 4], 0
jge 0x10058631
push 0x104
lea ecx, [ebp - 0x44]
call fcn.100061d0
mov esi, dword [ebp - 0x44]
cmp dword [esi - 8], 0x104
jl 0x10058832
xor eax, eax
mov dword [esi - 0xc], 0x104
mov word [esi + 0x208], ax
lea eax, [ebp - 0x4c]
push eax
push esi
lea eax, [ebp - 0x50]
push eax
push str.lite
push str.SOFTWARELudashi
push SysStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0x100fed04
push esi
call fcn.100c5c72
push dword [esi - 8]
xor ebx, ebx
test eax, eax
push esi
sete bl
mov dword [ebp - 0x48], ebx
call fcn.100c608e
add esp, 0x10
test eax, eax
js 0x10058832
cmp eax, dword [esi - 8]
jg 0x10058832
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
call fcn.100832b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100587eb
push 0x66
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashi_srcconfig_mgrconfig_mgr.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.10006560
push 3
push 0x100f9f78
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10006560
mov byte [ebp - 4], 2
call fcn.100832b0
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x16a
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007140
mov edi, eax
push str.ConfigMgr::IsLitePackage:
push edi
mov byte [ebp - 4], 3
call fcn.10006700
add esp, 8
mov ecx, edi
push dword [ebp - 0x48]
call fcn.10010360
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.10007fa0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x10058790
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10058786
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005883c
push edx
push ecx
call fcn.10083fa7
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x100587d6
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100587cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10058841
push edx
push ecx
call fcn.10083fa7
add esp, 8
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1005880a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.10084321
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10005530
push 0x80070057
call fcn.10005530
call fcn.100c29f9
call fcn.100c29f9
int3