Function at 0x5ba180
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x468
push ebx
push esi
push edi
lea eax, [esp + 0x64]
mov edi, ecx
push 0x5f7394
xor ebx, ebx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x18], 0x32
mov dword [edi + 0x84], ebx
call fcn.005c43d6
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 8
lea ecx, [esp + 0x28]
push ecx
push 0x20019
push ebx
lea edx, [edi + 0xd0]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x5ba435
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebx
push str.License
push ecx
call esi
test eax, eax
jne 0x5ba42a
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x18]
push ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x280]
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x5ba41f
jmp 0x5ba240
push 3
push 0x5f7084
lea edx, [esp + 0x274]
push edx
inc ebx
call fcn.00462850
test eax, eax
je 0x5ba275
push 1
push 0x5d49c0
lea eax, [esp + 0x274]
push eax
call fcn.00462850
test eax, eax
jne 0x5ba3d5
push 1
push 0x5d49c0
lea ecx, [esp + 0x38]
push ecx
call fcn.00462850
test eax, eax
je 0x5ba3d5
push 0
push 0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.005b9ff0
mov esi, eax
mov eax, dword [edi + 0xce0]
test eax, eax
push 0
push 0
je 0x5ba361
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.005b9ff0
test esi, esi
jl 0x5ba33e
test eax, eax
jl 0x5ba3a8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp ecx, edx
jne 0x5ba329
cmp eax, 0x4e12e
je 0x5ba3d5
cmp esi, 0x4e12e
jne 0x5ba30c
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x68]
push eax
jmp 0x5ba3cd
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x1c]
jle 0x5ba3d5
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x68]
push eax
jmp 0x5ba3cd
push edx
push ecx
call dword [edi + 0xce0]
test eax, eax
je 0x5ba3d5
jmp 0x5ba3c3
cmp esi, 0x8004e12d
je 0x5ba3d5
cmp eax, 0x8004e12d
jne 0x5ba3d5
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x68]
push eax
jmp 0x5ba3cd
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.005b9ff0
test esi, esi
jl 0x5ba3b4
test eax, eax
jl 0x5ba355
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp ecx, edx
jne 0x5ba3a6
cmp eax, 0x4e12e
je 0x5ba3d5
cmp esi, 0x4e12e
je 0x5ba3c3
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x1c]
jle 0x5ba3d5
jmp 0x5ba3c3
jae 0x5ba3d5
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x68]
push ecx
jmp 0x5ba3cd
cmp esi, 0x8004e12d
je 0x5ba3d5
cmp eax, 0x8004e12d
jne 0x5ba3d5
lea ecx, [esp + 0x30]
lea edx, [esp + 0x64]
push ecx
push edx
call fcn.005c43d6
add esp, 8
cmp ebx, 0x15
mov dword [esp + 0x18], 0x208
mov dword [esp + 0x10], 0x32
ja 0x5ba41f
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x280]
push ecx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x5ba240
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x64]
push 0x5f7394
push edx
call fcn.005c44fa
add esp, 8
test eax, eax
pop edi
pop esi
pop ebx
je 0x5ba46e
mov ecx, dword [esp + 0x46c]
lea eax, [esp + 0x58]
push eax
push ecx
call fcn.005c43d6
add esp, 8
xor eax, eax
add esp, 0x468
ret 8
mov eax, 0x8004e12d
add esp, 0x468
ret 8