Function at 0x414450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb17b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x52a0b0]
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 esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 0
cmp byte [esi + 0x70], 0
je 0x4144c2
call fcn.0049a8a3
mov ecx, 0x20119
test al, al
jne 0x4144c7
mov ecx, 0x20019
cmp dword [esi + 0x28], 8
lea eax, [esi + 0x14]
jb 0x4144d2
mov eax, dword [eax]
push ecx
push eax
push dword [esi + 0xc]
lea ecx, [ebp - 0x88]
call fcn.00413a60
add esi, 0x44
cmp dword [esi + 0x14], 8
jb 0x4144ef
mov eax, dword [esi]
jmp 0x4144f1
mov eax, esi
push ebx
push 0
push edi
mov edi, dword [ebp - 0x88]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x414581
cmp eax, 0xea
je 0x414581
cmp dword [esi + 0x14], 8
jb 0x414518
mov esi, dword [esi]
push esi
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], str.RegistryProvider.cpp
push str.Evaluate_registry_value_condition:_unexpected_error_0x_08x_querying_registry_value__s
push eax
mov dword [ebp - 0x78], 0x6c
call fcn.0040b3b0
add esp, 0x10
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x414557
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x88], 0
mov eax, esi
mov dword [ebp - 0x84], 0
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.004a14ba
mov esp, ebp
pop ebp
ret 0xc
add dword [ebx], 2
push dword [ebx]
call fcn.004a14d0
mov ecx, dword [ebp - 0x74]
add esp, 4
mov edx, dword [ecx]
mov dword [ecx], eax
test edx, edx
je 0x4145a7
push 1
push edx
call fcn.004a1ba5
mov ecx, dword [ebp - 0x74]
add esp, 8
mov eax, dword [ecx]
test eax, eax
jne 0x41467a
cmp byte [0x52aaa4], al
jne 0x4145c5
cmp byte [0x530565], al
je 0x414670
push 0
push ecx
push str.RegistryProvider.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e81b4
mov dword [ebp - 0x48], 0x4e8f38
call fcn.00406ce0
mov byte [ebp - 4], 2
push 0
push ecx
push str.Evaluate_registry_value_condition:_unable_to_allocate_memory_for_reg_value
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e81b4
mov dword [ebp - 0x18], 0x4e8f38
call fcn.00406ce0
mov byte [ebp - 4], 4
cmp byte [0x52aaa4], 0
je 0x414632
cmp byte [0x530565], 0
jne 0x414624
call fcn.0048e190
test al, al
je 0x41462b
mov byte [0x530565], 1
mov byte [0x52aaa4], 0
cmp byte [0x530565], 0
je 0x414658
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
cmovae edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x28], 8
push 0x5c
cmovae ecx, dword [ebp - 0x3c]
call fcn.0048e600
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00404850
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00404850
mov esi, 0x8007000e
jmp 0x41453b
push dword [ebx]
push 0
push eax
call fcn.004a34a0
mov eax, dword [ebp - 0x74]
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x414692
mov esi, dword [esi]
push ebx
push dword [eax]
push dword [ebp - 0x78]
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x414539
jle 0x4146b7
movzx esi, si
or esi, 0x80070000
push esi
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], str.RegistryProvider.cpp
push str.Evaluate_registry_condition:_error__x_querying_reg_value
push eax
mov dword [ebp - 0x78], 0x66
call fcn.0040b3b0
add esp, 0xc
jmp 0x41453b