Function at 0x450fb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db820
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x65bfd4]
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 0x45107b
lea edx, [ecx + 0xc]
cmp dword [edx], 0
jge 0x451016
cmp dword [eax - 8], 0
jl 0x451365
mov dword [eax - 0xc], 0
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
jmp 0x45107b
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x45105f
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 0x451379
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 0x45136f
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 0x451383
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 0x4512f4
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x451102
cmp word [eax], 0
je 0x451102
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.0042fb10
test eax, eax
jne 0x4510e2
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 0x4510e5
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
test eax, eax
je 0x4510fb
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.004627e5
add esp, 4
mov edi, eax
push 0x3e8
push 0
push edi
call fcn.005adaa0
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.0042fc10
test eax, eax
jne 0x45118d
test edi, edi
jne 0x45117a
xor ecx, ecx
push ecx
push edi
mov ecx, dword [ebp + 0x14]
call fcn.004020e5
mov bl, 1
mov byte [ebp - 0x11], bl
jmp 0x4512bf
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x451180
jmp 0x4511cc
lea eax, [ebp + 0xc]
push eax
push edi
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x48]
call fcn.00453140
test eax, eax
jne 0x4511e4
test edi, edi
jne 0x4511bc
xor ecx, ecx
push ecx
push edi
mov ecx, dword [ebp + 0x14]
call fcn.004020e5
mov bl, 1
mov byte [ebp - 0x11], bl
jmp 0x4512bf
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4511c1
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 0x4512bf
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 0x45122a
cmp dword [ebp + 0xc], 4
jne 0x45122a
push dword [ebp - 0x18]
push 0x62debc
push dword [ebp + 0x14]
call fcn.0043b8e0
add esp, 0xc
mov bl, 1
mov byte [ebp - 0x11], bl
jmp 0x4512bf
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 0x451270
cmp dword [ebp + 0xc], 0xb
jne 0x451270
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push str._I64
push dword [ebp + 0x14]
call fcn.0043b8e0
add esp, 0x10
mov bl, 1
mov byte [ebp - 0x11], bl
jmp 0x4512bf
call fcn.00419a30
cmp dword [eax + 4], 1
jl 0x4512bf
push 1
push ecx
call fcn.00419a30
add esp, 4
mov ecx, eax
call fcn.00419e60
mov esi, eax
call fcn.00419a30
mov edx, esi
mov ecx, eax
call fcn.004119e0
mov edx, str.Cant_handle_Registry_value_for:
mov ecx, eax
call fcn.00411430
mov edx, dword [ebp + 0x10]
mov ecx, eax
call fcn.00411430
push eax
call fcn.00412720
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.004627e0
add esp, 4
cmp esi, dword [ebp + 8]
je 0x4512e9
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 0x45134f
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 0x45105f
mov ecx, edx
call dword [ebp - 0x1c]
jmp 0x45105f
mov ecx, edi
call edx
jmp 0x451076