Function at 0x6d5a47a0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x2028
call fcn.6d5ca7f0
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x2024], eax
mov eax, dword [esp + 0x202c]
mov ecx, dword [esp + 0x2030]
mov edx, dword [esp + 0x2034]
push ebx
push esi
push edi
mov edi, dword [esp + 0x2044]
push 0xc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
xor ebx, ebx
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
je 0x6d5a49fb
push edi
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.6d5ca1c9
push ebp
push 0xc
mov dword [esi], eax
mov dword [esp + 0x24], eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x6d5a4a05
mov ecx, dword [esp + 0x10]
mov esi, 1
push ecx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], esi
call fcn.6d5ca1c9
push 0xc
mov dword [ebp], eax
mov dword [esp + 0x14], eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x6d5a4a05
mov eax, dword [esp + 0x14]
push eax
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
call fcn.6d5ca1c9
push 0xc
mov dword [edi], eax
mov dword [esp + 0x18], eax
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x6d5a4a05
mov edx, dword [esp + 0x1c]
mov dword [esi + 4], ebx
lea ebx, [esi + 8]
push edx
mov dword [ebx], 1
call fcn.6d5ca1c9
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
mov dword [esi], eax
push 0
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
call fcn.6d5a10a0
add esp, 0x28
push ebx
mov ebx, dword [sym.imp.kernel32.dll_InterlockedDecrement]
call ebx
test eax, eax
jne 0x6d5a48f6
mov eax, dword [esi]
test eax, eax
je 0x6d5a48dd
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5a48ed
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [edi + 8]
push eax
call ebx
test eax, eax
jne 0x6d5a4926
mov eax, dword [edi]
test eax, eax
je 0x6d5a490d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x6d5a491d
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [ebp + 8]
push eax
call ebx
test eax, eax
jne 0x6d5a4957
mov eax, dword [ebp]
test eax, eax
je 0x6d5a493e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 4]
test eax, eax
je 0x6d5a494e
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push ebp
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 8
push eax
call ebx
test eax, eax
jne 0x6d5a498f
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
test eax, eax
je 0x6d5a4976
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5a4986
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x800
lea edx, [esp + 0x1038]
push edx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
je 0x6d5a4a05
lea edi, [esi + 8]
push 0x6d5d0ea0
mov dword [esi + 4], ebx
mov dword [edi], 1
call fcn.6d5ca1c9
push ebx
mov dword [esi], eax
mov dword [esp + 0x28], str.DEPLOY_VERSION
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.6d5934e0
test eax, eax
je 0x6d5a4a0f
lea ecx, [esp + 0x24]
push ecx
push 1
push 0x68
jmp 0x6d5a4a18
push 0x8007000e
call fcn.6d5ca1c9
push 0x8007000e
call fcn.6d5ca1c9
lea edx, [esp + 0x24]
push edx
push 1
push 0x66
push 0x6d5e2e2c
call fcn.6d59b850
mov ebp, dword [sym.imp.ole32.dll_CoUninitialize]
xor ebx, ebx
test eax, eax
sets bl
call ebp
test ebx, ebx
je 0x6d5a4a6a
push edi
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x6d5a4a66
mov eax, dword [esi]
test eax, eax
je 0x6d5a4a4d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5a4a5d
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
jmp 0x6d5a4abd
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 1
push 0x92
push 0x6d5e2e2c
call fcn.6d59b850
call ebp
push edi
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x6d5a4ab8
mov eax, dword [esi]
test eax, eax
je 0x6d5a4a9f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5a4aaf
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2034]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x2028
ret