Function at 0x4d31f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5faa29
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x654c54]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x160], ecx
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 0x90]
mov dword [ebp - 0xd4], ecx
cmp dword [ebp - 0xd4], 0
jne 0x4d3243
xor al, al
jmp 0x4d3703
mov edx, dword [ebp - 0x160]
movzx eax, byte [edx + 0x581]
test eax, eax
je 0x4d334e
mov ecx, dword [ebp - 0x160]
movzx edx, byte [ecx + 0x582]
test edx, edx
je 0x4d3270
xor al, al
jmp 0x4d3703
push 1
mov ecx, dword [ebp - 0x160]
call fcn.004d9ba0
mov eax, dword [ebp - 0x160]
mov byte [eax + 0x5f4], 1
push 0
push 1
mov ecx, dword [ebp - 0x160]
add ecx, 0x5bc
call fcn.0052a700
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x4d32b7
xor al, al
jmp 0x4d3703
mov ecx, dword [ebp - 0x160]
add ecx, 0x5bc
call fcn.0052a890
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov ecx, dword [ebp - 0x160]
add ecx, 0x5bc
call fcn.0052a890
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x10]
jb 0x4d3315
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x160]
add ecx, 0x5bc
call fcn.0052aae0
mov al, 1
jmp 0x4d3703
mov dword [ebp - 0x18], 0
jmp 0x4d3327
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x10]
jge 0x4d3342
mov ecx, dword [ebp - 0x160]
add ecx, 0x5bc
call fcn.0052a580
jmp 0x4d331e
xor al, al
jmp 0x4d3703
mov edx, dword [ebp - 0x160]
add edx, 0x7c
push edx
push str.SOFTWARE_
lea eax, [ebp - 0x78]
push eax
call fcn.0040f440
add esp, 0xc
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x168]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.00528860
add esp, 8
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x78]
call fcn.004079f0
lea ecx, [ebp - 0xdd]
mov dword [ebp - 0xdc], ecx
push 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.004079f0
mov byte [ebp - 4], 3
mov edx, dword [0x611c1c]
mov dword [ebp - 0xe4], edx
mov byte [ebp - 0xde], 0x5c
push 1
mov eax, dword [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xde]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406220
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4d34f3
mov edx, dword [ebp - 0x1c]
push edx
push 0
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp + 8]
call fcn.004bcd20
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x170], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x170]
push edx
push 0x6130e4
lea eax, [ebp - 0xb0]
push eax
call fcn.0040f440
add esp, 0xc
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0xe8], ecx
mov byte [ebp - 4], 5
mov edx, dword [0x611c1c]
push edx
push 0
mov eax, dword [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040ae50
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0xb0]
call fcn.004079f0
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x94]
call fcn.004079f0
mov ecx, dword [0x611c1c]
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004bcd20
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0xfc], ecx
mov byte [ebp - 4], 6
mov edx, dword [0x611c1c]
push edx
push 0
mov eax, dword [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040aae0
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0xcc]
call fcn.004079f0
jmp 0x4d3508
mov ecx, dword [0x611c1c]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x3c]
call fcn.0040aae0
cmp dword [ebp - 0x40], 0x10
jb 0x4d3519
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x17c], eax
jmp 0x4d3522
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x17c], ecx
lea edx, [ebp - 0x5c]
push edx
push 0x20019
push 0
mov eax, dword [ebp - 0x17c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
test eax, eax
jne 0x4d3678
cmp dword [ebp - 0x24], 0x10
jb 0x4d3557
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x180], edx
jmp 0x4d3560
lea eax, [ebp - 0x38]
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x180]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExA]
test eax, eax
jne 0x4d366e
mov eax, dword [ebp - 0x160]
movzx ecx, byte [eax + 0x580]
test ecx, ecx
je 0x4d362f
mov ecx, dword [ebp - 0x160]
call fcn.004d9ad0
push 1
push 0
mov ecx, dword [ebp - 0x160]
add ecx, 0x5bc
call fcn.0052a1a0
push 5
push 0xb
mov ecx, dword [ebp - 0x160]
add ecx, 0x5bc
call fcn.0052a1a0
push 1
push 1
mov ecx, dword [ebp - 0x160]
add ecx, 0x5bc
call fcn.0052a1a0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x160]
add ecx, 0x5bc
call fcn.0052a2f0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
mov ecx, dword [ebp - 0x160]
add ecx, 0x5bc
call fcn.0052a2f0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x160]
add ecx, 0x5bc
call fcn.0052a480
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov byte [ebp - 0xcd], 1
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004079f0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.004079f0
mov al, byte [ebp - 0xcd]
jmp 0x4d3703
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov edx, dword [ebp - 0x160]
movzx eax, byte [edx + 0x580]
test eax, eax
je 0x4d36d3
mov ecx, dword [ebp - 0x160]
call fcn.004d9ad0
push 1
push 0
mov ecx, dword [ebp - 0x160]
add ecx, 0x5bc
call fcn.0052a1a0
push 5
push 0xb
mov ecx, dword [ebp - 0x160]
add ecx, 0x5bc
call fcn.0052a1a0
push 1
push 0
mov ecx, dword [ebp - 0x160]
add ecx, 0x5bc
call fcn.0052a1a0
mov byte [ebp - 0xce], 0
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004079f0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.004079f0
mov al, byte [ebp - 0xce]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.005cbcb1
mov esp, ebp
pop ebp
ret 0x14