Function at 0x414580
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ff9b0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
xor esi, esi
cmp dword [eax + 0x24], esi
je 0x4148a0
mov edx, dword [0x54d210]
mov eax, dword [edx + 0xc]
mov ecx, 0x54d210
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
push ebp
push str.SOFTWARE360SoftMgrmessage
push 0x50f944
lea edi, [esp + 0x48]
mov dword [esp + 0x3c], esi
call fcn.00404c10
mov edi, dword [esp + 0x48]
add esp, 0xc
mov eax, 4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
push ebx
push edi
mov dword [esp + 0x24], esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push SysReAllocString
call esi
test eax, eax
jne 0x414736
push eax
call fcn.004cbb5a
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
mov edi, edx
mov esi, eax
push edi
push esi
push 0x51654c
call fcn.00401f50
mov edx, str.script_CMessagePush
mov ecx, eax
call fcn.00401fd0
mov edx, dword [esp + 0x20]
xor eax, eax
add esp, 0x10
sub esi, edx
sbb edi, eax
test edi, edi
jg 0x4146c6
jl 0x41466b
cmp esi, 0x15180
jae 0x4146c6
push 0x516590
call fcn.00401f50
mov edx, str.script_CMessagePush
mov ecx, eax
call fcn.00401fd0
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4146ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 8
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jbe 0x414722
mov eax, ecx
xor edx, edx
imul eax, eax, 0x15180
cmp edi, edx
jg 0x414722
jl 0x4146e5
cmp esi, eax
jae 0x414722
push ecx
push 0x51659c
call fcn.00401f50
mov edx, str.script_CMessagePush
mov ecx, eax
call fcn.00401fd0
add esp, 8
lea ecx, [esp + 0x3c]
call fcn.004087f0
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 8
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
jmp 0x414887
lea eax, [edi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41475a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x54d210]
mov eax, dword [edx + 0xc]
mov ecx, 0x54d210
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
push ebp
push str.SOFTWARE360Safe_softmgrmessage
push 0x50f944
lea edi, [esp + 0x48]
mov dword [esp + 0x3c], 1
call fcn.00404c10
mov edi, dword [esp + 0x48]
add esp, 0xc
mov eax, 4
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push eax
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 0
call esi
test eax, eax
jne 0x41487c
push eax
call fcn.004cbb5a
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
mov edi, edx
mov esi, eax
push edi
push esi
push 0x51654c
call fcn.00401f50
mov edx, str.script_CMessagePush
mov ecx, eax
call fcn.00401fd0
mov edx, dword [esp + 0x24]
xor eax, eax
add esp, 0x10
sub esi, edx
sbb edi, eax
test edi, edi
jg 0x41484a
jl 0x41480e
cmp esi, 0x15180
jae 0x41484a
push 0x516590
call fcn.00401f50
mov edx, str.script_CMessagePush
mov ecx, eax
call fcn.00401fd0
add esp, 4
lea ecx, [esp + 0x3c]
call fcn.004087f0
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 8
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jbe 0x414871
mov eax, ecx
xor edx, edx
imul eax, eax, 0x15180
cmp edi, edx
jg 0x414871
jl 0x4146e5
cmp esi, eax
jb 0x4146e5
lea ecx, [esp + 0x3c]
call fcn.004087f0
jmp 0x4148a0
mov dword [esp + 0x30], 0xffffffff
lea eax, [edi - 0x10]
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4148a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret 8