Function at 0x414410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b271b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x51c0b0]
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 0x414484
call fcn.00492a05
test al, al
je 0x414484
mov ecx, 0x100
jmp 0x414486
xor ecx, ecx
cmp dword [esi + 0x28], 8
lea eax, [esi + 0x14]
jb 0x414491
mov eax, dword [eax]
or ecx, 0x20019
push ecx
push eax
push dword [esi + 0xc]
lea ecx, [ebp - 0x88]
call fcn.00413a20
add esi, 0x44
cmp dword [esi + 0x14], 8
jb 0x4144b4
mov eax, dword [esi]
jmp 0x4144b6
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 0x414546
cmp eax, 0xea
je 0x414546
cmp dword [esi + 0x14], 8
jb 0x4144dd
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], 0x60
call fcn.0040b080
add esp, 0x10
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x41451c
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.004996ca
mov esp, ebp
pop ebp
ret 0xc
add dword [ebx], 2
push dword [ebx]
call fcn.004996e0
mov ecx, dword [ebp - 0x74]
add esp, 4
mov edx, dword [ecx]
mov dword [ecx], eax
test edx, edx
je 0x41456c
push 1
push edx
call fcn.00499db8
mov ecx, dword [ebp - 0x74]
add esp, 8
mov eax, dword [ecx]
test eax, eax
jne 0x41463f
cmp byte [0x51caa5], al
jne 0x41458a
cmp byte [0x522582], al
je 0x414635
push 0
push ecx
push str.RegistryProvider.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4dd804
mov dword [ebp - 0x48], 0x4dcac4
call fcn.00406e60
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], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call fcn.00406e60
mov byte [ebp - 4], 4
cmp byte [0x51caa5], 0
je 0x4145f7
cmp byte [0x522582], 0
jne 0x4145e9
call fcn.00486870
test al, al
je 0x4145f0
mov byte [0x522582], 1
mov byte [0x51caa5], 0
cmp byte [0x522582], 0
je 0x41461d
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
cmovae edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x28], 8
push 0x50
cmovae ecx, dword [ebp - 0x3c]
call fcn.00486ce0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.004049f0
mov esi, 0x8007000e
jmp 0x414500
push dword [ebx]
push 0
push eax
call fcn.0049b6a0
mov eax, dword [ebp - 0x74]
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x414657
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 0x4144fe
jle 0x41467c
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], 0x5a
call fcn.0040b080
add esp, 0xc
jmp 0x414500