Function at 0x10024530
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x10077498
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x1009238c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009238c
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], 0
mov eax, dword [0x1009238c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009238c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.100247d0
mov esi, dword [esp + 0x18]
call fcn.100153a0
test eax, eax
jne 0x100245d2
mov byte [esp + 0x2c], al
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100245ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
jmp 0x10024792
push ebx
push str.SOFTWAREMicrosoftOffice_d.0CommonInstallRoot
lea edi, [esp + 0x24]
call fcn.10016c70
mov esi, dword [esp + 0x24]
add esp, 8
push str.Path
push esi
push reloc.OLEAUT32.dll_SysReAllocString
lea edi, [esp + 0x24]
call fcn.10016410
test eax, eax
je 0x1002476a
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1002476a
mov eax, edi
mov edi, dword [esp + 0x3c]
call fcn.1001a5f0
xor ebp, ebp
xor ebx, ebx
mov eax, dword [ebx + 0x100900b8]
mov esi, dword [ebx + 0x100900c0]
cmp dword [0x100900f4], eax
jne 0x100246b1
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
push 1
push ebp
push 0
push edx
push eax
call fcn.10024880
test eax, eax
je 0x1002470b
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002467f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100246a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x100247b5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10016af0
add eax, 0x10
mov dword [esp + 0x20], eax
push esi
push 0x1007f9b0
lea edi, [esp + 0x28]
mov byte [esp + 0x34], 2
call fcn.10024fc0
mov esi, dword [esp + 0x28]
add esp, 8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edx, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
jne 0x1002474e
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002470b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xc
inc ebp
cmp ebx, 0x48
jb 0x10024626
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002473d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
jmp 0x1002479a
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002465a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x1002465a
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002478f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100247b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc