Function at 0x52cee0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6111c0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x6af320]
xor eax, esp
mov dword [esp + 0x2b8], eax
push ebx
push esi
push edi
mov eax, dword [0x6af320]
xor eax, esp
push eax
lea eax, [esp + 0x2d0]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x578]
test ecx, ecx
je 0x52cf33
push 1
call fcn.005b1bf0
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
push 0x50
mov dword [esp + 0x2dc], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp eax, 1
jle 0x52cfed
push 2
mov ecx, edi
call fcn.004eeab0
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov edi, eax
test edi, edi
je 0x52cfed
push 8
push str.monitor
lea ecx, [esp + 0x64]
call fcn.004245a0
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.0042eb40
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x2e4], 1
call fcn.0042da40
mov byte [esp + 0x2d8], 0
cmp dword [esp + 0x58], 8
jb 0x52cfc7
push dword [esp + 0x44]
call esi
add esp, 4
cmp dword [esp + 0x70], 8
lea eax, [esp + 0x5c]
cmovae eax, dword [esp + 0x5c]
push eax
push str.param__s
push 0x785
push str.view::RootWindow::onMultiInstanceClicked
call fcn.0056c830
add esp, 0x10
lea ecx, [esp + 0x44]
call fcn.004e7360
push eax
lea ecx, [esp + 0x18]
call fcn.00418050
mov byte [esp + 0x2d8], 2
cmp dword [esp + 0x58], 8
jb 0x52d018
push dword [esp + 0x44]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
cmp dword [esp + 0x28], 8
mov word [esp + 0x44], ax
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
push str.find_multi_by_register__s
push 0x78b
push str.view::RootWindow::onMultiInstanceClicked
mov dword [esp + 0x64], 0
call fcn.0056c830
add esp, 0x10
cmp dword [esp + 0x24], 0
je 0x52d098
push 0x13
push str.dnmultiplayerex.exe
lea ecx, [esp + 0x1c]
call fcn.004245a0
lea eax, [esp + 0x14]
push eax
call fcn.00579170
add esp, 4
test al, al
je 0x52d098
push 1
push 0
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00577600
add esp, 0x10
jmp 0x52d5a0
xor eax, eax
push 0x206
push eax
mov word [esp + 0xc4], ax
lea eax, [esp + 0xc6]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x52d0dd
lea eax, [esp + 0xbc]
push eax
push dword [esp + 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0xa8]
call fcn.00413780
mov byte [esp + 0x2d8], 3
cmp dword [esp + 0xb4], 0
je 0x52d1e7
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
push 0x65ed80
lea edx, [esp + 0xa8]
mov byte [esp + 0x2dc], 4
lea ecx, [esp + 0x30]
call fcn.00425c20
add esp, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0x2d8], 5
push ecx
push eax
call fcn.00576df0
add esp, 8
mov byte [esp + 0x2d8], 4
cmp dword [esp + 0x40], 8
jb 0x52d16c
push dword [esp + 0x2c]
call esi
add esp, 4
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
cmovae eax, dword [esp + 0x44]
push eax
push str.find_multi_by_shortcut__s
push 0x79e
push str.view::RootWindow::onMultiInstanceClicked
call fcn.0056c830
lea eax, [esp + 0x54]
push eax
call fcn.00579170
add esp, 0x14
test al, al
je 0x52d1cf
push 1
push 0
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00577600
add esp, 0x10
cmp dword [esp + 0x58], 8
jb 0x52d56a
push dword [esp + 0x44]
call esi
add esp, 4
jmp 0x52d56a
mov byte [esp + 0x2d8], 3
cmp dword [esp + 0x58], 8
jb 0x52d1e7
push dword [esp + 0x44]
call esi
add esp, 4
lea eax, [esp + 0x2c]
push eax
call fcn.00579910
mov edi, eax
add esp, 4
lea eax, [esp + 0x14]
cmp eax, edi
je 0x52d22f
cmp dword [esp + 0x28], 8
jb 0x52d20e
push dword [esp + 0x14]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.00417ff0
cmp dword [esp + 0x40], 8
jb 0x52d23f
push dword [esp + 0x2c]
call esi
add esp, 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00578f70
mov edi, eax
add esp, 8
lea eax, [esp + 0x14]
cmp eax, edi
je 0x52d28c
cmp dword [esp + 0x28], 8
jb 0x52d26b
push dword [esp + 0x14]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.00417ff0
cmp dword [esp + 0x40], 8
jb 0x52d29c
push dword [esp + 0x2c]
call esi
add esp, 4
push 0xd
push str.ldmutiplayer_
lea ecx, [esp + 0x1c]
call fcn.004245a0
push str.dnmultiplayerex.exe
lea edx, [esp + 0x18]
lea ecx, [esp + 0x30]
call fcn.00425c20
add esp, 4
push eax
mov byte [esp + 0x2dc], 6
call fcn.00579170
add esp, 4
mov byte [esp + 0x2d8], 3
cmp dword [esp + 0x40], 8
mov bl, al
jb 0x52d2ec
push dword [esp + 0x2c]
call esi
add esp, 4
test bl, bl
je 0x52d338
push str.dnmultiplayerex.exe
lea edx, [esp + 0x18]
lea ecx, [esp + 0x30]
call fcn.00425c20
add esp, 4
push 1
push 0
lea ecx, [esp + 0x64]
mov byte [esp + 0x2e0], 7
push ecx
push eax
call fcn.00577600
add esp, 0x10
cmp dword [esp + 0x40], 8
jb 0x52d56a
push dword [esp + 0x2c]
call esi
add esp, 4
jmp 0x52d56a
lea eax, [esp + 0x8c]
push eax
call fcn.00579910
add esp, 4
push str.ldmutiplayer_
lea edx, [esp + 0x90]
mov byte [esp + 0x2dc], 8
lea ecx, [esp + 0x30]
call fcn.00425c20
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x2d8], 9
push ecx
push eax
call fcn.005792c0
add esp, 8
mov byte [esp + 0x2d8], 8
cmp dword [esp + 0x40], 8
jb 0x52d396
push dword [esp + 0x2c]
call esi
add esp, 4
push str.010502
lea ecx, [esp + 0x30]
call fcn.00413780
mov edx, eax
mov byte [esp + 0x2d8], 0xa
lea ecx, [esp + 0x14]
call fcn.004e74a0
mov byte [esp + 0x2d8], 8
cmp dword [esp + 0x40], 8
jb 0x52d3cf
push dword [esp + 0x2c]
call esi
add esp, 4
push str.vmsconfigleidians.config
lea edx, [esp + 0x90]
lea ecx, [esp + 0x78]
call fcn.00425c20
add esp, 4
lea eax, [esp + 0x74]
mov byte [esp + 0x2d8], 0xb
push eax
call fcn.00579170
add esp, 4
test al, al
je 0x52d4c5
push str.vms_
lea edx, [esp + 0x18]
lea ecx, [esp + 0x30]
call fcn.00425c20
add esp, 4
push eax
mov byte [esp + 0x2dc], 0xc
call fcn.00579190
add esp, 4
mov byte [esp + 0x2d8], 0xb
cmp dword [esp + 0x40], 8
jb 0x52d442
push dword [esp + 0x2c]
call esi
add esp, 4
push str.vmsconfig
lea edx, [esp + 0x18]
lea ecx, [esp + 0x30]
call fcn.00425c20
add esp, 4
push eax
mov byte [esp + 0x2dc], 0xd
call fcn.00579190
add esp, 4
mov byte [esp + 0x2d8], 0xb
cmp dword [esp + 0x40], 8
jb 0x52d480
push dword [esp + 0x2c]
call esi
add esp, 4
push str.vmsconfigleidians.config
lea edx, [esp + 0x18]
lea ecx, [esp + 0x30]
call fcn.00425c20
add esp, 4
push 1
push eax
lea eax, [esp + 0x7c]
mov byte [esp + 0x2e0], 0xe
push eax
call fcn.00579250
add esp, 0xc
mov byte [esp + 0x2d8], 0xb
cmp dword [esp + 0x40], 8
jb 0x52d4c5
push dword [esp + 0x2c]
call esi
add esp, 4
push str.dnmultiplayerex.exe
lea edx, [esp + 0x18]
lea ecx, [esp + 0x30]
call fcn.00425c20
add esp, 4
push 1
push 0
lea ecx, [esp + 0x64]
mov byte [esp + 0x2e0], 0xf
push ecx
push eax
call fcn.00577600
add esp, 0x10
cmp dword [esp + 0x40], 8
jb 0x52d504
push dword [esp + 0x2c]
call esi
add esp, 4
cmp dword [esp + 0x88], 8
jb 0x52d517
push dword [esp + 0x74]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
cmp dword [esp + 0xa0], 8
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
jb 0x52d54a
push dword [esp + 0x8c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
cmp dword [esp + 0xb8], 8
jb 0x52d580
push dword [esp + 0xa4]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], 0
mov word [esp + 0xa4], ax
cmp dword [esp + 0x28], 8
jb 0x52d5b0
push dword [esp + 0x14]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
cmp dword [esp + 0x70], 8
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
jb 0x52d5d7
push dword [esp + 0x5c]
call esi
add esp, 4
mov ecx, dword [esp + 0x2d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret 4