Function at 0x450d00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da220
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x659fd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor bl, bl
mov byte [ebp - 0x11], bl
mov esi, dword [ebp + 0x14]
mov eax, dword [esi]
lea ecx, [eax - 0x10]
mov edi, dword [ecx]
cmp dword [ecx + 4], 0
je 0x450dcb
lea edx, [ecx + 0xc]
cmp dword [edx], 0
jge 0x450d66
cmp dword [eax - 8], 0
jl 0x4510b5
mov dword [eax - 0xc], 0
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
jmp 0x450dcb
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x450daf
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], esi
cmp eax, vtable.ATL::CAtlStringMgr.0
mov esi, dword [ebp + 0x14]
push ecx
jne 0x4510c9
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], esi
cmp eax, vtable.ATL::CWin32Heap.0
mov esi, dword [ebp + 0x14]
jne 0x4510bf
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4510d3
lock inc dword [edi + 0x14]
lea eax, [edi + 8]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x451044
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x450e52
cmp word [eax], 0
je 0x450e52
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 1
push 0x20019
push eax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0042f890
test eax, eax
jne 0x450e32
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], esi
jmp 0x450e35
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
test eax, eax
je 0x450e4b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 2
mov dword [ebp + 0xc], 0x3e8
push 0x3e8
call fcn.00461290
add esp, 4
mov edi, eax
push 0x3e8
push 0
push edi
call fcn.005ac560
add esp, 0xc
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 0x10]
lea ecx, [ebp - 0x48]
call fcn.0042f990
test eax, eax
jne 0x450edd
test edi, edi
jne 0x450eca
xor ecx, ecx
push ecx
push edi
mov ecx, dword [ebp + 0x14]
call fcn.004020e5
mov bl, 1
mov byte [ebp - 0x11], bl
jmp 0x45100f
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450ed0
jmp 0x450f1c
lea eax, [ebp + 0xc]
push eax
push edi
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x48]
call fcn.00452e90
test eax, eax
jne 0x450f34
test edi, edi
jne 0x450f0c
xor ecx, ecx
push ecx
push edi
mov ecx, dword [ebp + 0x14]
call fcn.004020e5
mov bl, 1
mov byte [ebp - 0x11], bl
jmp 0x45100f
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450f11
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, dword [ebp + 0x14]
call fcn.004020e5
mov bl, 1
mov byte [ebp - 0x11], bl
jmp 0x45100f
mov dword [ebp - 0x24], 4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x450f7a
cmp dword [ebp + 0xc], 4
jne 0x450f7a
push dword [ebp - 0x18]
push 0x62cdac
push dword [ebp + 0x14]
call fcn.0043b640
add esp, 0xc
mov bl, 1
mov byte [ebp - 0x11], bl
jmp 0x45100f
mov dword [ebp - 0x28], 8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x450fc0
cmp dword [ebp + 0xc], 0xb
jne 0x450fc0
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push str._I64
push dword [ebp + 0x14]
call fcn.0043b640
add esp, 0x10
mov bl, 1
mov byte [ebp - 0x11], bl
jmp 0x45100f
call fcn.00419ac0
cmp dword [eax + 4], 1
jl 0x45100f
push 1
push ecx
call fcn.00419ac0
add esp, 4
mov ecx, eax
call fcn.00419ef0
mov esi, eax
call fcn.00419ac0
mov edx, esi
mov ecx, eax
call fcn.00411b50
mov edx, str.Cant_handle_Registry_value_for:
mov ecx, eax
call fcn.004115a0
mov edx, dword [ebp + 0x10]
mov ecx, eax
call fcn.004115a0
push eax
call fcn.004127a0
add esp, 4
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
push edi
call fcn.0046128b
add esp, 4
cmp esi, dword [ebp + 8]
je 0x451039
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x45109f
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.004022df
mov ecx, edx
call dword [ebp - 0x1c]
jmp 0x450daf
mov ecx, edx
call dword [ebp - 0x1c]
jmp 0x450daf
mov ecx, edi
call edx
jmp 0x450dc6