Function at 0x45ba50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5733f2
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5dccb4]
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 ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x230], esi
call fcn.004618f0
add esp, 4
mov dword [ebp - 0x22c], eax
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x45baa6
mov eax, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x45baae
mov ebx, dword [ebx]
push eax
push ebx
push 0x5921f8
call fcn.0044ceb0
add esp, 0xc
cmp dword [ebp - 0x22c], 0
jne 0x45bafe
xor eax, eax
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45bae0
sub ecx, edx
sar ecx, 1
push ecx
push 0
mov ecx, esi
call fcn.00412a70
jmp 0x45bcee
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00516300
add esp, 0xc
mov dword [ebp - 0x23c], 1
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x238], 0x208
jb 0x45bb32
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040e210
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004cf5f0
add esp, 8
push dword [eax]
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 1
call fcn.0040e210
mov edx, dword [ebp - 0x234]
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45bb90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45bbb1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x14], 8
jb 0x45bbb9
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x228]
call fcn.0040e210
push 1
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004cf4d0
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 6
call fcn.0040e210
mov edx, dword [ebp - 0x230]
mov eax, ebx
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45bc13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x228]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45bc34
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x22c]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
test eax, eax
jne 0x45bc99
lea ecx, [ebp - 0x218]
mov word [esi], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45bc80
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
jmp 0x45bca4
xor eax, eax
push eax
mov word [esi], ax
push 0x58ac10
mov ecx, esi
call fcn.00412a70
mov edx, dword [ebp - 0x21c]
mov eax, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45bccc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45bcee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.004b0a78
mov esp, ebp
pop ebp
ret