Function at 0x545be0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x651230
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb8]
mov edi, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb4]
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x90]
test eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], edx
je 0x545f72
cmp byte [edi + 0x511], 0
je 0x545cb5
cmp byte [edi + 0x512], 0
jne 0x545f72
call fcn.0054aa80
push 0
lea esi, [edi + 0x54c]
push 1
mov byte [edi + 0x57c], 1
call fcn.00565a00
test eax, eax
je 0x545f72
mov eax, esi
call fcn.00565b20
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov eax, esi
call fcn.00565b20
mov edx, dword [esp + 0x1c]
mov dword [ebx], eax
mov ebx, eax
push edx
mov eax, esi
call fcn.00565c80
mov al, 1
jmp 0x545f74
lea eax, [edi + 0x7c]
push eax
lea ecx, [esp + 0x30]
push str.SOFTWARE_
push ecx
call fcn.0044cec0
add esp, 0xc
lea edx, [esp + 0x80]
push edx
mov esi, eax
mov dword [esp + 0xac], 0
call fcn.004e7770
add esp, 4
cmp dword [esp + 0x44], 0x10
jb 0x545cfc
mov eax, dword [esp + 0x30]
push eax
call fcn.0062493b
add esp, 4
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0xb4], 3
mov ecx, ebp
mov byte [esp + 0x24], 0x5c
call fcn.00443940
mov esi, eax
cmp esi, 0xffffffff
je 0x545e0b
push esi
push 0
lea edx, [esp + 0x50]
push edx
mov ecx, ebp
call fcn.00440e80
push eax
lea eax, [esp + 0x30]
push 0x679af8
push eax
mov byte [esp + 0xb4], 4
call fcn.0044cec0
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 5
call fcn.00446020
cmp dword [esp + 0x44], 0x10
jb 0x545d90
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0062493b
add esp, 4
mov byte [esp + 0xa8], 3
cmp dword [esp + 0x60], 0x10
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jb 0x545dc1
mov edx, dword [esp + 0x4c]
push edx
call fcn.0062493b
add esp, 4
push 0xffffffffffffffff
add esi, 1
push esi
lea eax, [esp + 0x50]
push eax
mov ecx, ebp
call fcn.00440e80
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xb4], 6
call fcn.00401d10
mov ebp, 0x10
mov byte [esp + 0xa8], 3
cmp dword [esp + 0x60], ebp
jb 0x545e1e
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0062493b
add esp, 4
jmp 0x545e1e
push 0xffffffffffffffff
push 0
push ebp
lea ecx, [esp + 0x70]
call fcn.00401d10
mov ebp, 0x10
cmp dword [esp + 0x98], ebp
mov eax, dword [esp + 0x84]
jae 0x545e35
lea eax, [esp + 0x84]
lea edx, [esp + 0x20]
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 0x545f02
cmp dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x68]
jae 0x545e63
lea eax, [esp + 0x68]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ebx
push ecx
push ebp
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x545ef2
cmp byte [edi + 0x510], al
je 0x545ecb
call fcn.0054a9f0
push 1
lea esi, [edi + 0x54c]
push 0
call fcn.00565600
push 5
push 0xb
call fcn.00565600
push 1
push 1
call fcn.00565600
mov eax, dword [ebp]
mov edi, esi
call fcn.00565740
mov eax, dword [ebx]
call fcn.00565740
mov edi, dword [ebx]
mov ebx, dword [esp + 0x1c]
push esi
call fcn.00565850
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x64]
call fcn.00401c70
lea ecx, [esp + 0x80]
call fcn.00401c70
mov al, 1
jmp 0x545f74
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, 0x10
cmp byte [edi + 0x510], 0
je 0x545f31
call fcn.0054a9f0
push 1
lea esi, [edi + 0x54c]
push 0
call fcn.00565600
push 5
push 0xb
call fcn.00565600
push 1
push 0
call fcn.00565600
cmp dword [esp + 0x7c], ebp
jb 0x545f44
mov edx, dword [esp + 0x68]
push edx
call fcn.0062493b
add esp, 4
cmp dword [esp + 0x98], ebp
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
jb 0x545f72
mov eax, dword [esp + 0x84]
push eax
call fcn.0062493b
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.00624940
add esp, 0x98
ret 0x10