Function at 0x4484a0
Capabilities:
Get common file path
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x47403c
mov eax, dword fs:[0]
push eax
mov eax, 0x2044
call fcn.00462790
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x2040], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x2058]
mov dword fs:[0], eax
call fcn.00446ed0
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
xor edi, edi
mov ecx, 0x48e57c
mov dword [esp + 0x18], edi
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2060], edi
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48e57c
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x2c], ebp
lea eax, [esp + 0x18]
push eax
push 8
push edi
push 0x47aeb4
mov ebx, 1
push SysReAllocStringLen
mov byte [esp + 0x2074], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x448767
mov eax, dword [esp + 0x18]
push edi
push edi
push edi
push edi
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x68]
push edx
push edi
push eax
mov dword [esp + 0x44], 0x1000
mov dword [esp + 0x48], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x44875c
lea edi, [esp + 0x54]
call fcn.00446f30
mov edi, eax
mov dword [esp + 0x30], edi
cmp edi, 0xffffffff
je 0x448724
cmp edi, 9
jne 0x44865a
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push ecx
mov ecx, str.path
lea esi, [esp + 0x24]
xor edi, edi
call fcn.00454940
push ecx
mov edx, esp
mov dword [esp + 0x44], esp
push edx
mov ecx, str.SOFTWAREMicrosoftOffice9.0CommonInstallRoot
mov byte [esp + 0x206c], 2
call fcn.00454940
push SysReAllocStringLen
lea eax, [esp + 0x50]
push eax
mov ecx, edi
mov byte [esp + 0x2070], bl
call fcn.0044da20
push eax
mov byte [esp + 0x2064], 3
call fcn.00446f90
mov esi, eax
mov byte [esp + 0x2064], bl
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44861c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44863c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4486c5
push str.mso9.dll
lea ecx, [esp + 0x20]
push ecx
mov eax, 9
call fcn.00447040
jmp 0x4486c5
mov eax, dword [ebp - 8]
mov ecx, ebx
sub ecx, dword [ebp - 4]
sub eax, 0x104
or eax, ecx
jge 0x44867d
mov ecx, 0x104
lea eax, [esp + 0x2c]
call fcn.004547f0
mov ebp, dword [esp + 0x2c]
push 0
push 0x2b
push ebp
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [ebp - 8]
push eax
push ebp
call fcn.0046113d
add esp, 8
test eax, eax
jl 0x4487da
cmp eax, dword [ebp - 8]
jg 0x4487da
push edi
xor edx, edx
push ebp
mov dword [ebp - 0xc], eax
push str._sMicrosoft_SharedOFFICE_dmso.dll
lea edi, [esp + 0x28]
mov word [ebp + eax*2], dx
call fcn.004543e0
add esp, 0xc
mov esi, dword [esp + 0x1c]
lea edi, [esp + 0x34]
call fcn.00437920
test eax, eax
je 0x448724
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
shr eax, 0x10
cmp eax, edi
jne 0x448724
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
push ebx
push 0
lea edx, [esp + 0x60]
push edx
push eax
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x448724
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, edi
lea edx, [esp + 0x38]
call fcn.00448180
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x28]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
add eax, ebx
lea edx, [esp + 0x68]
push edx
push eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x44], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x448577
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
mov byte [esp + 0x2060], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44878b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x2060], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4487b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2058]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2040]
xor ecx, esp
call fcn.00460259
add esp, 0x2050
ret
push 0x80070057
call fcn.0045bda0
int3