Function at 0x45adf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549d08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x84]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x74]
cmp dword [ebp - 0x70], 8
lea ecx, [ebp - 0x84]
push 0x20019
cmovae ecx, dword [ebp - 0x84]
xor eax, eax
cmp byte [esi + 0xb5], al
push ecx
sete al
mov dword [ebp - 4], 0
add eax, 0x80000001
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00432d30
add esp, 0x10
cmp byte [0x5cc2dc], 0
mov byte [ebp - 4], 1
je 0x45aea3
mov dword [ebp - 0x10], 0x2a57df0
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 0x10]
movzx ecx, byte [esi + 0xb5]
sub edx, 0x24f87c0
cmp dword [ebp - 0x70], 8
push ecx
cmovae eax, dword [ebp - 0x84]
push eax
movzx eax, word [0x5cc2dc]
push edx
push eax
call fcn.004bad80
add esp, 0x10
lea eax, [esi + 0x2bc]
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], 0
push ecx
mov ecx, eax
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x14], eax
call fcn.00417250
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x45af06
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45aefc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b17e
push edx
push ecx
call fcn.004b9160
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x6c]
push str.pinned_version
push eax
mov dword [ebp - 0x40], 7
call fcn.004b99e0
add esp, 8
mov dword [ebp - 0x10], 0x208
cmp dword [ebp - 0x58], 8
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
xor ebx, ebx
push ecx
lea ecx, [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push ebx
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x45afa1
mov eax, dword [ebp - 0x30]
cmp eax, 1
je 0x45af71
cmp eax, 2
je 0x45af71
lea esi, [ebx + 0xd]
jmp 0x45afa1
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x45af92
test cl, 1
jne 0x45af8b
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x28e], bx
je 0x45af9b
mov esi, 0xd
jmp 0x45afa1
xor eax, eax
mov word [ebp - 0x28c], ax
mov ebx, ecx
shr ebx, 1
xor esi, esi
mov edx, dword [ebp - 0x58]
cmp edx, 8
jb 0x45afdb
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45afd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b174
push edx
push ecx
call fcn.004b9160
add esp, 8
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
test esi, esi
jne 0x45b10f
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 7
cmp ebx, 7
ja 0x45b029
lea esi, [ebx + ebx]
mov dword [ebp - 0x1c], ebx
push esi
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00518310
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x2c], ax
jmp 0x45b086
cmp ebx, 0x7ffffffe
ja 0x45b179
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x45b049
mov esi, 0x7ffffffe
jmp 0x45b053
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
push edi
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041fba0
mov edi, eax
mov dword [ebp - 0x18], esi
lea esi, [ebx + ebx]
mov dword [ebp - 0x1c], ebx
push esi
lea eax, [ebp - 0x28c]
push eax
push edi
call fcn.00518310
add esp, 0xc
mov dword [ebp - 0x2c], edi
xor eax, eax
mov word [edi + esi], ax
pop edi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
call fcn.00417250
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x45b0cc
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b0c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b17e
push edx
push ecx
call fcn.004b9160
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp byte [0x5cc2dc], al
je 0x45b10f
mov dword [ebp - 0x14], 0x2a69168
lea ecx, [ebp - 0x28c]
mov eax, dword [ebp - 0x14]
sub eax, 0x2509af0
push ecx
push eax
movzx eax, word [0x5cc2dc]
push eax
call fcn.004bad80
add esp, 0xc
mov eax, dword [ebp - 0x3c]
pop esi
pop ebx
test eax, eax
je 0x45b126
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x38], 0
cmp edx, 8
jb 0x45b166
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b15c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b17e
push edx
push ecx
call fcn.004b9160
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0051bb5f
call fcn.0041fab0
call fcn.0051bb5f
int3