Function at 0x4539f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498545
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4ed018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push dword [edi]
mov dword [ebp - 0x4c], eax
push edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x48], 0
call fcn.00452d20
mov eax, dword [edi]
add esp, 8
cmp dword [ebp + 0x18], 0
mov ecx, 0x20019
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 4], eax
mov dword [edi + 4], 0
je 0x453a6e
call fcn.00452af0
test eax, eax
mov ecx, 0x20019
mov edx, 0x20119
cmovne ecx, edx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x453a78
mov eax, dword [esi]
lea edx, [ebp - 0x50]
push edx
push ecx
push 0
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x453ae4
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x453a97
mov eax, dword [ebx]
lea ecx, [ebp - 0x48]
push ecx
push 0
lea ecx, [ebp - 0x54]
push ecx
push 0
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x453aeb
cmp dword [ebx + 0x14], 8
jb 0x453abc
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 8
jb 0x453ac4
mov esi, dword [esi]
push ebx
push esi
push dword [ebp - 0x4c]
call fcn.00453df0
add esp, 4
push eax
push str.Util_GetKeyValueStringW:_Cannot_query_key_value__s_S_S_for_size
push dword [ebp - 0x38]
push 2
call fcn.00447040
add esp, 0x18
xor eax, eax
jmp 0x453db0
mov eax, dword [ebp - 0x54]
cmp eax, 7
je 0x453b14
cmp eax, 2
je 0x453b14
cmp eax, 1
je 0x453b14
push eax
push str.Util_GetKeyValueStringW:_Util_GetKeyValueString_only_supports_REG_MULTI_SZ__REG_EXPAND_SZ_and_REG_SZ__type__d_
push 1
call fcn.00446b80
add esp, 0xc
xor eax, eax
jmp 0x453db0
mov eax, dword [ebp - 0x48]
add eax, 2
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
je 0x453bc6
cmp eax, 0x7fffffff
ja 0x453dcc
cmp eax, 0x1000
jb 0x453b79
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x453dd1
push ecx
lfence
call fcn.0047de5e
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x453de0
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x453b85
push eax
lfence
call fcn.0047de5e
add esp, 4
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
add eax, ecx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
push ecx
push 0
push eax
lea esi, [eax + ecx]
call fcn.00411960
add esp, 0xc
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x40]
mov dword [ebp - 4], 1
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x453bd7
mov eax, dword [ebx]
lea ecx, [ebp - 0x48]
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x54]
push ecx
push 0
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x453c2c
cmp dword [ebx + 0x14], 8
jb 0x453bfd
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 8
jb 0x453c05
mov esi, dword [esi]
push ebx
push esi
push dword [ebp - 0x4c]
call fcn.00453df0
add esp, 4
push eax
push str.Util_GetKeyValueStringW:_Cannot_query_key_value__s_S_S
push dword [ebp - 0x40]
push 1
call fcn.00447040
add esp, 0x18
xor esi, esi
jmp 0x453d62
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x54], 7
jne 0x453ce5
mov ebx, dword [ebp - 0x34]
cmp word [ebx], 0
je 0x453d5d
nop dword [eax]
push ebx
lea ecx, [ebp - 0x28]
call fcn.00442fe0
mov byte [ebp - 4], 2
cmp dword [edi + 4], 0x7ffffff
mov eax, dword [edi]
mov dword [ebp - 0x40], eax
je 0x453dd6
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x38], 0
push 0x20
lfence
call fcn.0047de5e
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x38], esi
lea ecx, [esi + 8]
push eax
call fcn.00436bd0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x40]
inc dword [edi + 4]
mov dword [ebp - 0x38], 0
mov eax, dword [ecx + 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [ecx + 4], esi
mov dword [eax], esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
lea ebx, [ebx + eax*2]
add ebx, 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00437d70
cmp word [ebx], 0
jne 0x453c50
jmp 0x453d5d
push dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
call fcn.00442fe0
mov byte [ebp - 4], 8
cmp dword [edi + 4], 0x7ffffff
mov ebx, dword [edi]
je 0x453dd6
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 9
mov dword [ebp - 0x40], 0
push 0x20
lfence
call fcn.0047de5e
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x40], esi
lea ecx, [esi + 8]
push eax
call fcn.00436bd0
mov byte [ebp - 4], 0xa
inc dword [edi + 4]
mov eax, dword [ebx + 4]
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [ebx + 4], esi
mov dword [ebp - 0x40], 0
mov dword [eax], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00437d70
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x453dae
mov edx, dword [ebp - 0x2c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x453d8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453de0
push edx
push ecx
call fcn.0047de50
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
call fcn.00454100
call fcn.00437cd0
push str.list_too_long
call fcn.0047e2f9
call fcn.004052e8
int3