Function at 0x5ad870
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x78b370
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 4]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0xa8]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xbc]
xor ebp, ebp
mov dword [esp + 0x28], edx
cmp ecx, ebp
je 0x5adb41
add eax, 0x94
push eax
mov edi, str.SOFTWARE_
lea esi, [esp + 0x4c]
call fcn.00403060
add esp, 4
mov edi, eax
lea eax, [esp + 0x80]
mov dword [esp + 0xa8], ebp
call fcn.00439630
mov esi, 0x10
cmp dword [esp + 0x60], esi
jb 0x5ad92e
mov eax, dword [esp + 0x4c]
push eax
call fcn.006441c7
add esp, 4
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebp
mov byte [esp + 0x68], 0
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 3
push ecx
mov edi, ebx
mov byte [esp + 0x18], 0x5c
call fcn.0043be00
mov ebp, eax
cmp ebp, 0xffffffff
je 0x5ada85
push ebp
xor ecx, ecx
lea esi, [esp + 0x30]
mov edx, ebx
call fcn.00401f90
push eax
mov edi, 0x81d740
lea esi, [esp + 0x4c]
mov byte [esp + 0xac], 4
call fcn.00403060
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 5
call fcn.00402720
mov edi, 0x10
cmp dword [esp + 0x60], edi
jb 0x5ad9bc
mov edx, dword [esp + 0x4c]
push edx
call fcn.006441c7
add esp, 4
mov byte [esp + 0xa8], 3
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
cmp dword [esp + 0x44], edi
jb 0x5ad9ec
mov eax, dword [esp + 0x30]
push eax
call fcn.006441c7
add esp, 4
push 0xffffffffffffffff
lea ecx, [ebp + 1]
lea esi, [esp + 0x30]
mov edx, ebx
call fcn.00401f90
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xb4], 6
call fcn.00401530
mov byte [esp + 0xa8], 3
cmp dword [esp + 0x44], edi
jb 0x5ada2d
mov ecx, dword [esp + 0x30]
push ecx
call fcn.006441c7
add esp, 4
mov esi, 0x10
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x98], esi
jae 0x5ada49
lea eax, [esp + 0x84]
lea edx, [esp + 0x18]
push edx
push 0x20019
push 0
push eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5adb00
lea ebx, [esp + 0x64]
lea eax, [esp + 0x2c]
call fcn.00438cb0
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x5ada95
mov eax, dword [eax + 4]
jmp 0x5ada98
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [esp + 0x70]
call fcn.00401530
jmp 0x5ada32
add eax, 4
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
push ecx
push 0
push eax
push edx
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
sete bl
cmp dword [esp + 0x44], edi
jb 0x5adacd
mov eax, dword [esp + 0x30]
push eax
call fcn.006441c7
add esp, 4
test bl, bl
je 0x5adaf5
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea ecx, [esp + 0x64]
call fcn.004012f0
lea ecx, [esp + 0x80]
call fcn.004012f0
mov al, 1
jmp 0x5adb43
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
cmp dword [esp + 0x7c], esi
jb 0x5adb13
mov eax, dword [esp + 0x68]
push eax
call fcn.006441c7
add esp, 4
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
cmp dword [esp + 0x98], esi
jb 0x5adb41
mov ecx, dword [esp + 0x84]
push ecx
call fcn.006441c7
add esp, 4
xor al, al
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00643db8
add esp, 0x98
ret 0x10