Function at 0x456250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561834
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x2c]
mov dword [ebp - 0x20], esi
call fcn.00402a00
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4562bb
push 0x80004005
call fcn.004027b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
lea ecx, [edi + 0x3c]
push 0x581a44
mov byte [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call fcn.004031c0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x44]
mov byte [edi + 0x40], 0
push str.BB6992A5_093C_4C18_86D8_7D7217231AE3
mov dword [ecx], 0
call fcn.004fb820
mov byte [ebp - 4], 4
lea eax, [ebp - 0x10]
push eax
push 1
push 0
push 0x583bf8
lea ebx, [edi + 0x10]
mov dword [ebp - 0x18], 4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 4
mov dword [ebx], 0x3200000
mov dword [edi + 0x18], 0x500000
mov dword [edi + 0x1c], 0x3200000
mov dword [edi + 0x20], 0x3200000
mov dword [edi + 0x24], 0x3200000
mov dword [edi + 0x28], 0xc800000
mov dword [edi + 0x14], 0x6400000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x456469
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push 0
push 0x583bd4
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x45639b
push dword [ebp - 0x10]
mov byte [edi + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x456469
lea eax, [ebp - 0x14]
push eax
lea eax, [edi + 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x583bc4
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x456389
lea eax, [ebp - 0x14]
push eax
lea eax, [edi + 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x583bb4
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x456389
lea eax, [ebp - 0x14]
push eax
lea eax, [edi + 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x583ba0
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x456400
mov byte [edi + 0x30], 0
jmp 0x456469
mov eax, dword [ebx]
lea ecx, [ebp - 0x20]
shl eax, 0x14
mov dword [ebx], eax
mov eax, dword [edi + 0x18]
shl eax, 0x14
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x1c]
shl eax, 0x14
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x14]
shl eax, 0x14
mov dword [edi + 0x14], eax
call fcn.00482490
mov byte [ebp - 4], 5
mov edx, eax
push str.qt.log
lea ecx, [ebp - 0x1c]
call fcn.00415f60
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [edi + 0x3c]
push eax
call fcn.00416320
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.00402750
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00402750
mov byte [edi + 0x30], 1
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret