Function at 0x1067063
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x10d0640]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp - 0x5c]
push ecx
mov esi, 0x1005048
push esi
push eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x60], ebx
mov byte [ebp - 0x52], bl
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x51], bl
mov dword [edi], ebx
mov dword [edi + 4], ebx
call dword [sym.imp.certcli.dll_CAGetCAProperty]
mov dword [ebp - 0x58], eax
cmp eax, ebx
je 0x10670e3
push eax
push 0x876
call fcn.0108bbbd
push eax
call fcn.0109c1c3
push 0x10042f8
call fcn.0109c1c3
add esp, 0xc
push dword [ebp - 0x58]
push 0x116013a
push esi
call fcn.0108c53e
jmp 0x1067292
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x10671e1
cmp dword [eax], ebx
je 0x10671e1
push ebx
lea ecx, [ebp - 0x60]
push ecx
push ebx
lea ecx, [ebp - 0x70]
push ecx
push ebx
push 0x1003fe8
push dword [eax]
call fcn.010adad3
mov esi, eax
cmp esi, ebx
jne 0x10671c0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x1013160
push dword [ebp - 0x60]
mov dword [ebp - 0x64], 4
call esi
cmp eax, ebx
jne 0x1067161
cmp dword [ebp - 0x58], 4
jne 0x1067161
push dword [ebp - 0x6c]
lea eax, [ebp - 0x1c]
push 0x1004568
push 0xc
push eax
call fcn.0102e3ff
add esp, 0x10
mov byte [ebp - 0x52], 1
jmp 0x106716c
push eax
push 0x1012fb0
call fcn.0108bd70
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x1013140
push dword [ebp - 0x60]
mov dword [ebp - 0x64], 0x34
call esi
cmp eax, ebx
jne 0x10671aa
cmp dword [ebp - 0x58], 1
jne 0x10671aa
mov eax, dword [ebp - 0x64]
shr eax, 1
cmp eax, 0x1a
jb 0x10671b7
mov dword [ebp - 0x68], 0x19
mov eax, dword [ebp - 0x68]
jmp 0x10671b7
push eax
push 0x1012fb0
call fcn.0108bd70
mov eax, ebx
xor ecx, ecx
mov word [ebp + eax*2 - 0x50], cx
jmp 0x10671dd
push esi
push 0x1013100
call fcn.0108bd70
mov eax, dword [ebp - 0x5c]
push esi
push 0x156013a
push dword [eax]
call fcn.0108c53e
mov eax, ebx
cmp eax, ebx
jne 0x10671f1
push 0x1005a48
push 0x1a
lea eax, [ebp - 0x50]
push eax
call fcn.0102dff2
cmp byte [ebp - 0x52], bl
jne 0x1067206
push 0x10027b0
push 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.0102dff2
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x50]
push eax
call fcn.0109011d
cmp eax, ebx
je 0x106722f
push eax
push 0x166013a
lea eax, [ebp - 0x50]
push eax
call fcn.0108c53e
jmp 0x1067246
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push edi
call fcn.01091cf4
mov byte [ebp - 0x51], 1
mov esi, 0x10042f8
push esi
call fcn.0109c1c3
pop ecx
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x871
call fcn.0108bbbd
push eax
call fcn.0109c1c3
add esp, 0xc
cmp byte [ebp - 0x51], bl
je 0x1067288
push 0x1012b04
call fcn.0109c1c3
pop ecx
push edi
push ebx
push ebx
push ebx
call fcn.0103d737
jmp 0x106728f
push esi
call fcn.0109c1c3
pop ecx
mov dword [ebp - 0x58], ebx
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x5c], ebx
je 0x10672ac
push dword [ebp - 0x5c]
push dword [ebp - 0x7c]
call dword [sym.imp.certcli.dll_CAFreeCAProperty]
cmp dword [ebp - 0x60], ebx
pop edi
pop esi
pop ebx
je 0x10672bd
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x58]
xor ecx, ebp
call fcn.01077d0b
leave
ret 8