Function at 0x4113a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0x5c
push 0xffffffffffffffff
push 0x42edd6
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4410cc]
xor eax, ebp
mov dword [ebp + 0x58], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x64]
lea ecx, [ebp + 4]
mov esi, dword [ebp + 0x68]
mov ebx, dword [ebp + 0x6c]
push str.SOFTWAREF_SecureCCFLogging
call fcn.004012f0
push 0x43c42c
lea eax, [ebp + 4]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004116e0
push esi
push eax
lea eax, [ebp + 0x34]
mov byte [ebp - 4], 1
push eax
call fcn.004075d0
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 3
cmp ecx, 8
jb 0x41144f
mov edx, dword [ebp - 0x24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411445
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4116cf
push ecx
push edx
call fcn.004170ed
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
lea eax, [ebp + 0x34]
push 0x43c42c
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x10], 7
push eax
call fcn.004116e0
push ebx
push eax
lea eax, [ebp + 0x1c]
mov byte [ebp - 4], 4
push eax
call fcn.004075d0
mov ecx, dword [ebp - 0x28]
add esp, 0x18
cmp ecx, 8
jb 0x4114c1
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4114b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4116d4
push ecx
push edx
call fcn.004170ed
add esp, 8
push 0xffffffffffffffff
push 0x200
push edi
lea eax, [ebp + 0x1c]
push eax
push 0x80000002
call fcn.004112e0
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
jne 0x4115e2
cmp dword [ebp + 0x48], 8
lea ecx, [ebp]
push ecx
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x34]
cmovae eax, dword [ebp + 0x34]
push 0x201
push 0
push eax
push 0x80000002
mov dword [ebp], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x411564
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp + 0x4c], 4
mov dword [ebp + 0x50], 0
jb 0x411533
mov eax, dword [edi]
lea ecx, [ebp + 0x4c]
push ecx
lea ecx, [ebp + 0x54]
push ecx
lea ecx, [ebp + 0x50]
push ecx
push 0
push eax
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41155f
mov eax, dword [ebp + 0x54]
or ecx, 0xffffffff
cmp dword [ebp + 0x50], 4
cmovne eax, ecx
mov dword [ebp + 0x54], eax
push dword [ebp]
call ebx
mov esi, dword [ebp + 0x54]
cmp esi, 0xffffffff
jne 0x4115e2
cmp dword [ebp + 0x18], 8
lea ecx, [ebp]
mov esi, dword [ebp + 0x70]
lea eax, [ebp + 4]
cmovae eax, dword [ebp + 4]
push ecx
push 0x201
push 0
push eax
push 0x80000002
mov dword [ebp], 0
mov dword [ebp + 0x54], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4115df
cmp dword [edi + 0x14], 8
mov dword [ebp + 0x4c], 4
mov dword [ebp + 0x50], eax
jb 0x4115b1
mov edi, dword [edi]
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x50]
push eax
push 0
push edi
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4115da
mov eax, dword [ebp + 0x54]
cmp dword [ebp + 0x50], 4
cmovne eax, esi
mov dword [ebp + 0x54], eax
push dword [ebp]
call ebx
mov esi, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x30]
cmp ecx, 8
jb 0x41161c
mov edx, dword [ebp + 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411612
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4116d9
push ecx
push edx
call fcn.004170ed
add esp, 8
mov ecx, dword [ebp + 0x48]
xor eax, eax
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x30], 7
mov word [ebp + 0x1c], ax
cmp ecx, 8
jb 0x411666
mov edx, dword [ebp + 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41165c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4116d9
push ecx
push edx
call fcn.004170ed
add esp, 8
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 7
mov word [ebp + 0x34], ax
cmp ecx, 8
jb 0x4116b0
mov edx, dword [ebp + 4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4116a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4116d9
push ecx
push edx
call fcn.004170ed
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x58]
xor ecx, ebp
call fcn.004170df
lea esp, [ebp + 0x5c]
pop ebp
ret
call fcn.0041a62f
call fcn.0041a62f
call fcn.0041a62f
int3