Function at 0x10014e20
Capabilities:
Get common file path

Disassembly:
mov eax, 0x2028
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x2024], eax
mov eax, dword [esp + 0x202c]
push ebx
push ebp
mov ebp, dword [esp + 0x203c]
push esi
mov esi, dword [esp + 0x2044]
push edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2040]
push 0xc
mov dword [esp + 0x18], eax
call fcn.1003c33a
mov edi, eax
add esp, 4
test edi, edi
je 0x10015174
push esi
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.1003c33a
push 0xc
mov dword [esp + 0x20], eax
mov dword [edi], eax
call fcn.1003c33a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10015174
push ebp
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
call fcn.1003c33a
push 0xc
mov dword [esp + 0x24], eax
mov dword [ebx], eax
call fcn.1003c33a
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x10015174
push dword [esp + 0x14]
mov dword [ebp + 4], 0
mov dword [ebp + 8], 1
call fcn.1003c33a
push 0xc
mov dword [esp + 0x14], eax
mov dword [ebp], eax
call fcn.1003c33a
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x10015174
push dword [esp + 0x18]
lea esi, [eax + 8]
mov dword [eax + 4], 0
mov dword [esi], 1
call fcn.1003c33a
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
push 0
mov dword [ecx], eax
lea ecx, [esp + 0x48]
push ecx
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [esp + 0x30]
push eax
call fcn.10011f50
add esp, 0x28
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x10014f97
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
test eax, eax
je 0x10014f6f
push eax
mov eax, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call eax
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10014f86
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 8
or eax, 0xffffffff
lea ecx, [ebp + 8]
lock xadd dword [ecx], eax
dec eax
jne 0x10014fd7
mov eax, dword [ebp]
test eax, eax
je 0x10014fb5
push eax
call esi
mov dword [ebp], 0
mov eax, dword [ebp + 4]
test eax, eax
je 0x10014fcc
push eax
call fcn.1003b898
add esp, 4
mov dword [ebp + 4], 0
push 0xc
push ebp
call fcn.1003c33a
add esp, 8
or ebp, 0xffffffff
lea ecx, [ebx + 8]
mov eax, ebp
lock xadd dword [ecx], eax
dec eax
jne 0x10015017
mov eax, dword [ebx]
test eax, eax
je 0x10014ff5
push eax
call esi
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x1001500c
push eax
call fcn.1003b898
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.1003c33a
add esp, 8
mov eax, ebp
lea ecx, [edi + 8]
lock xadd dword [ecx], eax
dec eax
jne 0x10015054
mov eax, dword [edi]
test eax, eax
je 0x10015032
push eax
call esi
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10015049
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1003c33a
add esp, 8
push 0x800
lea eax, [esp + 0x1038]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
push 0xc
call fcn.1003c33a
mov esi, eax
add esp, 4
test esi, esi
je 0x10015174
lea eax, [esi + 8]
mov dword [esi + 4], 0
push str.11.281.2
mov dword [esp + 0x14], eax
mov dword [eax], 1
call fcn.1003c33a
push 0
mov dword [esi], eax
mov dword [esp + 0x28], str.DEPLOY_VERSION
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.10005170
test eax, eax
lea eax, [esp + 0x24]
push eax
push 1
je 0x100150d3
push 0x68
jmp 0x100150d5
push 0x66
push 0x10053988
call fcn.1000b950
mov edi, dword [sym.imp.ole32.dll_CoUninitialize]
xor ebx, ebx
test eax, eax
sets bl
call edi
test ebx, ebx
je 0x100150f6
xor edi, edi
jmp 0x10015118
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 1
push 0x92
push 0x10053988
call fcn.1000b950
call edi
mov edi, 1
mov eax, dword [esp + 0x10]
lock xadd dword [eax], ebp
dec ebp
jne 0x10015159
mov eax, dword [esi]
test eax, eax
je 0x10015137
push eax
mov eax, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call eax
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1001514e
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
mov ecx, dword [esp + 0x2034]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x2028
ret
push 0x8007000e
call fcn.1003c33a
int3