Function at 0x414430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4babbb
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 0x4144a2
call fcn.0049a2b2
mov ecx, 0x20119
test al, al
jne 0x4144a7
mov ecx, 0x20019
cmp dword [esi + 0x28], 8
lea eax, [esi + 0x14]
jb 0x4144b2
mov eax, dword [eax]
push ecx
push eax
push dword [esi + 0xc]
lea ecx, [ebp - 0x88]
call fcn.00413a40
add esi, 0x44
cmp dword [esi + 0x14], 8
jb 0x4144cf
mov eax, dword [esi]
jmp 0x4144d1
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 0x414561
cmp eax, 0xea
je 0x414561
cmp dword [esi + 0x14], 8
jb 0x4144f8
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 0x414537
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.004a0eca
mov esp, ebp
pop ebp
ret 0xc
add dword [ebx], 2
push dword [ebx]
call fcn.004a0ee0
mov ecx, dword [ebp - 0x74]
add esp, 4
mov edx, dword [ecx]
mov dword [ecx], eax
test edx, edx
je 0x414587
push 1
push edx
call fcn.004a15b5
mov ecx, dword [ebp - 0x74]
add esp, 8
mov eax, dword [ecx]
test eax, eax
jne 0x41465a
cmp byte [0x52aaa4], al
jne 0x4145a5
cmp byte [0x530561], al
je 0x414650
push 0
push ecx
push str.RegistryProvider.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e7a18
mov dword [ebp - 0x48], 0x4e86a8
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], 0x4e7a18
mov dword [ebp - 0x18], 0x4e86a8
call fcn.00406ce0
mov byte [ebp - 4], 4
cmp byte [0x52aaa4], 0
je 0x414612
cmp byte [0x530561], 0
jne 0x414604
call fcn.0048ded0
test al, al
je 0x41460b
mov byte [0x530561], 1
mov byte [0x52aaa4], 0
cmp byte [0x530561], 0
je 0x414638
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.0048e340
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 0x41451b
push dword [ebx]
push 0
push eax
call fcn.004a2ef0
mov eax, dword [ebp - 0x74]
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x414672
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 0x414519
jle 0x414697
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 0x41451b