Function at 0x1067114
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x10d0620]
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, 0x1005060
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 0x1067194
push eax
push 0x876
call fcn.0108bc14
push eax
call fcn.0109c1a8
push 0x1004310
call fcn.0109c1a8
add esp, 0xc
push dword [ebp - 0x58]
push 0x116013a
push esi
call fcn.0108c595
jmp 0x1067343
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x1067292
cmp dword [eax], ebx
je 0x1067292
push ebx
lea ecx, [ebp - 0x60]
push ecx
push ebx
lea ecx, [ebp - 0x70]
push ecx
push ebx
push 0x1004000
push dword [eax]
call fcn.010ada68
mov esi, eax
cmp esi, ebx
jne 0x1067271
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 0x1013150
push dword [ebp - 0x60]
mov dword [ebp - 0x64], 4
call esi
cmp eax, ebx
jne 0x1067212
cmp dword [ebp - 0x58], 4
jne 0x1067212
push dword [ebp - 0x6c]
lea eax, [ebp - 0x1c]
push 0x1004580
push 0xc
push eax
call fcn.0102e48f
add esp, 0x10
mov byte [ebp - 0x52], 1
jmp 0x106721d
push eax
push 0x1012fa0
call fcn.0108bdc7
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push 0x1013130
push dword [ebp - 0x60]
mov dword [ebp - 0x64], 0x34
call esi
cmp eax, ebx
jne 0x106725b
cmp dword [ebp - 0x58], 1
jne 0x106725b
mov eax, dword [ebp - 0x64]
shr eax, 1
cmp eax, 0x1a
jb 0x1067268
mov dword [ebp - 0x68], 0x19
mov eax, dword [ebp - 0x68]
jmp 0x1067268
push eax
push 0x1012fa0
call fcn.0108bdc7
mov eax, ebx
xor ecx, ecx
mov word [ebp + eax*2 - 0x50], cx
jmp 0x106728e
push esi
push 0x10130f0
call fcn.0108bdc7
mov eax, dword [ebp - 0x5c]
push esi
push 0x156013a
push dword [eax]
call fcn.0108c595
mov eax, ebx
cmp eax, ebx
jne 0x10672a2
push 0x1005a60
push 0x1a
lea eax, [ebp - 0x50]
push eax
call fcn.0102e082
cmp byte [ebp - 0x52], bl
jne 0x10672b7
push 0x10027c8
push 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.0102e082
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x50]
push eax
call fcn.01090142
cmp eax, ebx
je 0x10672e0
push eax
push 0x166013a
lea eax, [ebp - 0x50]
push eax
call fcn.0108c595
jmp 0x10672f7
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push edi
call fcn.01091d19
mov byte [ebp - 0x51], 1
mov esi, 0x1004310
push esi
call fcn.0109c1a8
pop ecx
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x871
call fcn.0108bc14
push eax
call fcn.0109c1a8
add esp, 0xc
cmp byte [ebp - 0x51], bl
je 0x1067339
push 0x1012af4
call fcn.0109c1a8
pop ecx
push edi
push ebx
push ebx
push ebx
call fcn.0103d802
jmp 0x1067340
push esi
call fcn.0109c1a8
pop ecx
mov dword [ebp - 0x58], ebx
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x5c], ebx
je 0x106735d
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 0x106736e
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.01077dc7
leave
ret 8