Function at 0x454560
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513276
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x569f5c]
xor eax, dword [ebp + 4]
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x70]
push edi
xor edi, edi
cmp eax, edi
jne 0x45459a
xor al, al
jmp 0x454878
mov al, byte [esi + 0x491]
test al, al
je 0x4545fd
mov al, byte [esi + 0x492]
test al, al
jne 0x454593
push 1
mov ecx, esi
call fcn.0044c7c0
mov byte [esi + 0x4fc], 1
push edi
add esi, 0x4cc
push 1
mov ecx, esi
call fcn.004994d0
test eax, eax
je 0x454593
mov ecx, esi
call fcn.004995d0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, esi
call fcn.004995d0
mov edx, dword [ebp + 0x14]
push eax
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, esi
call fcn.00499610
mov al, 1
jmp 0x454878
lea ecx, [esi + 0x5c]
push ecx
lea edx, [ebp - 0x6c]
push str.SOFTWARE_
push edx
call fcn.00403b70
push eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 4], edi
call fcn.0049fa90
add esp, 0x14
cmp dword [ebp - 0x54], 0x10
jb 0x454631
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004fb06d
add esp, 4
push ebx
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
mov ebx, dword [ebp + 8]
push 1
push 0xffffffffffffffff
lea edx, [ebp - 0x14]
push edx
mov ecx, ebx
mov byte [ebp - 4], 3
mov byte [ebp - 0x14], 0x5c
call fcn.0044e0e0
mov edi, eax
cmp edi, 0xffffffff
je 0x45471e
push edi
push 0
lea eax, [ebp - 0x88]
push eax
mov ecx, ebx
call fcn.0040e8e0
push eax
lea ecx, [ebp - 0x6c]
push 0x53162c
push ecx
mov byte [ebp - 4], 4
call fcn.00403b70
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00402c30
cmp dword [ebp - 0x54], 0x10
jb 0x4546af
mov edx, dword [ebp - 0x68]
push edx
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0x70], 0x10
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 3
jb 0x4546da
mov eax, dword [ebp - 0x84]
push eax
call fcn.004fb06d
add esp, 4
push 0xffffffffffffffff
inc edi
push edi
lea ecx, [ebp - 0x88]
push ecx
mov ecx, ebx
call fcn.0040e8e0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.00402f60
mov eax, dword [ebp - 0x70]
mov edi, 0x10
cmp eax, edi
mov byte [ebp - 4], 3
jb 0x454730
mov edx, dword [ebp - 0x84]
push edx
call fcn.004fb06d
add esp, 4
jmp 0x454730
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0x34]
call fcn.00402f60
mov edi, 0x10
cmp dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x4c]
jae 0x45473b
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x454809
cmp dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x30]
jae 0x454765
lea eax, [ebp - 0x30]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push edi
push ebx
push edx
push 0
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4547fa
mov al, byte [esi + 0x490]
test al, al
je 0x4547dc
mov ecx, esi
call fcn.0044c710
push 1
add esi, 0x4cc
push 0
mov ecx, esi
call fcn.004a4a20
push 5
push 0xb
mov ecx, esi
call fcn.004a4a20
push 1
push 1
mov ecx, esi
call fcn.004a4a20
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov ecx, esi
call fcn.004a4b60
mov eax, dword [edi]
push eax
mov ecx, esi
call fcn.004a4b60
mov ecx, dword [edi]
push ecx
push ebx
mov ecx, esi
call fcn.004a4bf0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x34]
call fcn.00402220
lea ecx, [ebp - 0x50]
call fcn.00402220
mov al, 1
jmp 0x454877
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x10
mov al, byte [esi + 0x490]
test al, al
je 0x454841
mov ecx, esi
call fcn.0044c710
push 1
add esi, 0x4cc
push 0
mov ecx, esi
call fcn.004a4a20
push 5
push 0xb
mov ecx, esi
call fcn.004a4a20
push 1
push 0
mov ecx, esi
call fcn.004a4a20
cmp dword [ebp - 0x1c], edi
jb 0x454852
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004fb06d
add esp, 4
cmp dword [ebp - 0x38], edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
jb 0x454875
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004fb06d
add esp, 4
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
pop esi
call fcn.004fb7a4
mov esp, ebp
pop ebp
ret 0x10