Function at 0x48e81b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x298
lea ebp, [esp - 4]
mov eax, dword [0x5466b0]
xor eax, ebp
mov dword [ebp + 0x298], eax
push 0x1c
mov eax, 0x4f5458
call fcn.004d2fb0
mov eax, dword [ebp + 0x2a8]
xor esi, esi
inc esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], esi
cmp dword [ebp + 0x2a4], esi
jne 0x48ea22
push 0xc8
xor edi, edi
lea eax, [ebp + 0x1d0]
push edi
push eax
call fcn.004d7710
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
push edi
push str.SOFTWARE360SafeLiveUp
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x48e976
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1d0]
push eax
push edi
push edi
push 0x51e4d8
push dword [ebp - 0x20]
mov dword [ebp - 0x18], 0xc6
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x48e96d
lea eax, [ebp + 0x1d0]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x48e8c5
sub eax, edx
sar eax, 1
je 0x48e96d
xor eax, eax
mov dword [ebp - 4], edi
mov word [ebp + 0x210], ax
lea eax, [ebp + 0x88]
mov dword [ebp + 0x84], eax
push 0xfde9
lea eax, [ebp + 0x1d0]
push eax
lea eax, [ebp + 0x84]
call fcn.00418470
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x48e932
mov ebx, dword [ebp + 0x84]
mov dword [esi], edi
call fcn.0040c040
jmp 0x48e934
xor esi, esi
mov ecx, dword [ebp - 0x1c]
push esi
mov byte [ebp - 4], 1
call fcn.0040ed50
lea eax, [ebp + 0x88]
cmp dword [ebp + 0x84], eax
je 0x48e95b
push dword [ebp + 0x84]
call fcn.004cc15e
pop ecx
or dword [ebp - 4], 0xffffffff
jmp 0x48e96d
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp + 0x1d0], di
jne 0x48ebfa
push 0x64
lea eax, [ebp + 0x1d0]
push eax
call fcn.004ee720
test eax, eax
je 0x48ebfa
xor eax, eax
mov word [ebp + 0x210], ax
lea eax, [ebp + 0x88]
mov dword [ebp + 0x84], eax
push 0xfde9
lea eax, [ebp + 0x1d0]
push eax
lea eax, [ebp + 0x84]
call fcn.00418470
push 0x54cfe0
push 0x10
mov dword [ebp - 4], 4
call fcn.004cba2a
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 5
cmp esi, edi
je 0x48e9f6
mov ebx, dword [ebp + 0x84]
mov dword [esi], edi
call fcn.0040c040
jmp 0x48e9f8
xor esi, esi
mov ecx, dword [ebp - 0x1c]
push esi
mov byte [ebp - 4], 4
call fcn.0040ed50
lea eax, [ebp + 0x88]
cmp dword [ebp + 0x84], eax
je 0x48ebfa
push dword [ebp + 0x84]
jmp 0x48ebee
cmp dword [ebp + 0x2a4], 2
jne 0x48ebf6
push 0xc8
xor edi, edi
lea eax, [ebp + 0x108]
push edi
push eax
call fcn.004d7710
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push esi
push edi
push str.SOFTWARE360SafeLiveUp
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x48eb46
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x108]
push eax
push edi
push edi
push 0x519194
push dword [ebp - 0x24]
mov dword [ebp - 0x18], 0xc6
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x48eb3d
lea eax, [ebp + 0x108]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x48ea9a
sub eax, edx
sar eax, 1
je 0x48eb3d
lea eax, [ebp + 0x88]
mov dword [ebp - 4], 6
mov dword [ebp + 0x84], eax
push 0xfde9
lea eax, [ebp + 0x108]
push eax
lea eax, [ebp + 0x84]
call fcn.00418470
push 0x54cfe0
push 0x10
call fcn.004cba2a
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 8
cmp esi, edi
je 0x48eb02
mov ebx, dword [ebp + 0x84]
mov dword [esi], edi
call fcn.0040c040
jmp 0x48eb04
xor esi, esi
mov ecx, dword [ebp - 0x1c]
push esi
mov byte [ebp - 4], 7
call fcn.0040ed50
lea eax, [ebp + 0x88]
cmp dword [ebp + 0x84], eax
je 0x48eb2b
push dword [ebp + 0x84]
call fcn.004cc15e
pop ecx
or dword [ebp - 4], 0xffffffff
jmp 0x48eb3d
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp + 0x108], di
jne 0x48ebfa
mov eax, dword [0x5489d0]
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x48ebfa
lea ecx, [ebp - 0x14]
push ecx
push 0x51e508
call eax
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x48ebfa
mov ecx, dword [eax]
push 0x64
lea edx, [ebp + 0x108]
push edx
push eax
call dword [ecx + 0xc]
cmp eax, edi
jl 0x48ebfa
lea eax, [ebp + 4]
mov dword [ebp], eax
push 0xfde9
lea eax, [ebp + 0x108]
push eax
lea eax, [ebp]
call fcn.00418470
push 0x54cfe0
push 0x10
mov dword [ebp - 4], 0xa
call fcn.004cba2a
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xb
cmp esi, edi
je 0x48ebd4
mov ebx, dword [ebp]
mov dword [esi], edi
call fcn.0040c040
jmp 0x48ebd6
xor esi, esi
mov ecx, dword [ebp - 0x1c]
push esi
mov byte [ebp - 4], 0xa
call fcn.0040ed50
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x48ebfa
push dword [ebp]
call fcn.004cc15e
pop ecx
jmp 0x48ebfa
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x298]
xor ecx, ebp
call fcn.004cb38b
add ebp, 0x29c
leave
ret 8