Function at 0x72a37b37
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
push ebx
push esi
push edi
push dword [ebp + 0xc]
call fcn.72a3766b
push dword [ebp + 0x10]
call fcn.72a3766b
mov eax, 0x104
xor edi, edi
mov dword [ebp - 0x40], eax
push eax
lea eax, [ebp - 0x364]
mov dword [ebp - 8], edi
push eax
mov word [ebp - 0x3c], di
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.72a37686
cmp eax, edi
je 0x72a37b81
push eax
call fcn.72a0e22c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x364]
push eax
push 0x80000001
call fcn.72a22185
cmp eax, edi
jne 0x72a37dc8
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
push edi
push eax
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp eax, edi
jne 0x72a37d82
mov eax, dword [ebp - 0x2c]
cmp eax, edi
ja 0x72a37c0c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x72a37dc8
push 5
pop esi
lea ecx, [ebp - 0x3c]
call sym.MSVBVM60.DLL___vbaFreeVar
cmp esi, edi
je 0x72a37dc8
push esi
call fcn.72a0e22c
push 2
mov dword [ebp - 0x50], eax
pop eax
lea ecx, [ebp - 0x50]
push ecx
push eax
push 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x4c], edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
cmp eax, edi
mov dword [ebp - 0x20], eax
je 0x72a37d82
inc dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov word [ebp - 0x3c], 0x2008
add eax, eax
push eax
call fcn.72945484
cmp eax, edi
mov dword [ebp - 8], eax
je 0x72a37db4
mov ecx, dword [ebp - 0xc]
mov dword [ebp + 0x10], edi
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push edi
push ecx
lea ecx, [ebp - 0x10]
push edi
push ecx
push eax
push edi
push dword [ebp - 4]
call fcn.72a22372
cmp eax, edi
jne 0x72a37d5c
mov edi, dword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x1c], 1
jne 0x72a37d82
mov eax, dword [ebp + 0x10]
push dword [ebp - 8]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x28], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
test ebx, ebx
je 0x72a37db4
lea eax, [ebp - 0x28]
push ebx
push eax
push dword [ebp - 0x20]
call edi
push ebx
mov dword [ebp + 0xc], eax
call esi
cmp dword [ebp + 0xc], 0
jl 0x72a37db8
mov eax, dword [ebp - 0x18]
dec eax
shr eax, 1
push eax
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ebx, eax
test ebx, ebx
je 0x72a37db4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0
lea eax, [ebp - 0x10]
push 0
push eax
push dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 4]
call fcn.72a22372
test eax, eax
jne 0x72a37db1
lea eax, [ebp - 0x28]
push ebx
push eax
mov dword [ebp - 0x24], 1
push dword [ebp - 0x20]
call edi
push ebx
mov dword [ebp + 0xc], eax
call esi
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jl 0x72a37db8
mov eax, dword [ebp - 0xc]
inc dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push ebx
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
push dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 4]
call fcn.72a22372
cmp eax, ebx
je 0x72a37c8a
cmp eax, 0x103
jne 0x72a37d82
push dword [ebp - 8]
call fcn.7294d14e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x72a37dc8
push 5
xor edi, edi
pop esi
jmp 0x72a37bf6
push 5
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x72a37dc4
xor edi, edi
cmp esi, edi
jne 0x72a37d9b
push 5
pop esi
cmp dword [ebp - 8], edi
je 0x72a37bf6
push dword [ebp - 8]
call fcn.7294d14e
jmp 0x72a37bf6
push ebx
call esi
push 7
jmp 0x72a37d84
push dword [ebp + 0xc]
call fcn.72a0be99
mov esi, eax
jmp 0x72a37d85
xor edi, edi
jmp 0x72a37d9b
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x3c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret 0xc