Function at 0x4143d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b502b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5210b0]
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 0x414442
call fcn.00495581
mov ecx, 0x20119
test al, al
jne 0x414447
mov ecx, 0x20019
cmp dword [esi + 0x28], 8
lea eax, [esi + 0x14]
jb 0x414452
mov eax, dword [eax]
push ecx
push eax
push dword [esi + 0xc]
lea ecx, [ebp - 0x88]
call fcn.004139e0
add esi, 0x44
cmp dword [esi + 0x14], 8
jb 0x41446f
mov eax, dword [esi]
jmp 0x414471
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 0x414501
cmp eax, 0xea
je 0x414501
cmp dword [esi + 0x14], 8
jb 0x414498
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.0040b370
add esp, 0x10
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4144d7
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.0049c22a
mov esp, ebp
pop ebp
ret 0xc
add dword [ebx], 2
push dword [ebx]
call fcn.0049c24e
mov ecx, dword [ebp - 0x74]
add esp, 4
mov edx, dword [ecx]
mov dword [ecx], eax
test edx, edx
je 0x414527
push 1
push edx
call fcn.0049c240
mov ecx, dword [ebp - 0x74]
add esp, 8
mov eax, dword [ecx]
test eax, eax
jne 0x4145fa
cmp byte [0x521aa4], al
jne 0x414545
cmp byte [0x52753d], al
je 0x4145f0
push 0
push ecx
push str.RegistryProvider.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e1680
mov dword [ebp - 0x48], 0x4e1670
call fcn.00406ca0
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], 0x4e1680
mov dword [ebp - 0x18], 0x4e1670
call fcn.00406ca0
mov byte [ebp - 4], 4
cmp byte [0x521aa4], 0
je 0x4145b2
cmp byte [0x52753d], 0
jne 0x4145a4
call fcn.00489070
test al, al
je 0x4145ab
mov byte [0x52753d], 1
mov byte [0x521aa4], 0
cmp byte [0x52753d], 0
je 0x4145d8
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.004894e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00404810
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00404810
mov esi, 0x8007000e
jmp 0x4144bb
push dword [ebx]
push 0
push eax
call fcn.0049e210
mov eax, dword [ebp - 0x74]
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x414612
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 0x4144b9
jle 0x414637
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.0040b370
add esp, 0xc
jmp 0x4144bb