Function at 0x549f70
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x649470
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc0]
mov ebp, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x90]
test eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], edx
je 0x54a32b
cmp byte [ebp + 0x511], 0
je 0x54a04f
cmp byte [ebp + 0x512], 0
jne 0x54a32b
mov edi, ebp
call fcn.0054ecf0
push 0
lea esi, [ebp + 0x54c]
push 1
mov byte [ebp + 0x57c], 1
call fcn.005d66e0
test eax, eax
je 0x54a32b
mov eax, esi
call fcn.005d6800
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov eax, esi
call fcn.005d6800
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [edx], eax
mov ebx, eax
push ecx
mov eax, esi
call fcn.005d6960
mov al, 1
jmp 0x54a32d
lea edx, [ebp + 0x7c]
push edx
mov edi, str.SOFTWARE_
lea esi, [esp + 0x38]
call fcn.00445160
add esp, 4
mov edi, eax
lea eax, [esp + 0x88]
mov dword [esp + 0xb0], 0
call fcn.005b09f0
mov esi, 0x10
cmp dword [esp + 0x4c], esi
jb 0x54a095
mov eax, dword [esp + 0x38]
push eax
call fcn.0061c19a
add esp, 4
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb0], 3
push ecx
mov edi, ebx
mov byte [esp + 0x1c], 0x5c
call fcn.0045bbf0
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x54a28d
push eax
xor ecx, ecx
lea esi, [esp + 0x54]
mov edx, ebx
call fcn.0042fb60
push eax
mov edi, 0x66f784
lea esi, [esp + 0x38]
mov byte [esp + 0xb4], 4
call fcn.00445160
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xbc], 5
call fcn.0041dc70
mov edi, 0x10
cmp dword [esp + 0x4c], edi
jb 0x54a12f
mov edx, dword [esp + 0x38]
push edx
call fcn.0061c19a
add esp, 4
mov byte [esp + 0xb0], 3
cmp dword [esp + 0x68], edi
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
jb 0x54a15f
mov eax, dword [esp + 0x54]
push eax
call fcn.0061c19a
add esp, 4
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
add ecx, 1
lea esi, [esp + 0x54]
mov edx, ebx
call fcn.0042fb60
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xbc], 6
call fcn.00403e20
mov byte [esp + 0xb0], 3
cmp dword [esp + 0x68], edi
jb 0x54a1a4
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0061c19a
add esp, 4
mov esi, 0x10
cmp dword [esp + 0xa0], esi
mov eax, dword [esp + 0x8c]
jae 0x54a1c0
lea eax, [esp + 0x8c]
lea edx, [esp + 0x20]
push edx
push 0x20019
push 0
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x54a2ab
cmp dword [esp + 0x84], esi
mov eax, dword [esp + 0x70]
jae 0x54a1f1
lea eax, [esp + 0x70]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ebx
push ecx
push edx
push 0
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x54a2a0
cmp byte [ebp + 0x510], al
je 0x54a266
mov edi, ebp
call fcn.0054ec60
push 1
lea esi, [ebp + 0x54c]
push 0
call fcn.005d62e0
push 5
push 0xb
call fcn.005d62e0
push 1
push 1
call fcn.005d62e0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov edi, esi
call fcn.005d6420
mov eax, dword [ebx]
call fcn.005d6420
mov edi, dword [ebx]
mov ebx, dword [esp + 0x1c]
push esi
call fcn.005d6530
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x6c]
call fcn.00404420
lea ecx, [esp + 0x88]
call fcn.00404420
mov al, 1
jmp 0x54a32d
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [esp + 0x78]
call fcn.00403e20
jmp 0x54a1a9
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp + 0x510], 0
je 0x54a2e1
mov edi, ebp
call fcn.0054ec60
push 1
lea esi, [ebp + 0x54c]
push 0
call fcn.005d62e0
push 5
push 0xb
call fcn.005d62e0
push 1
push 0
call fcn.005d62e0
mov esi, 0x10
cmp dword [esp + 0x84], esi
jb 0x54a2f7
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0061c19a
add esp, 4
cmp dword [esp + 0xa0], esi
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
jb 0x54a32b
mov edx, dword [esp + 0x8c]
push edx
call fcn.0061c19a
add esp, 4
xor al, al
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0061efd1
add esp, 0xa0
ret 0x10