Function at 0x4134f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43442e
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x100], 0
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jne 0x4135e1
push str.Softwareleidianldplayer
lea ecx, [ebp - 0x2c0]
call fcn.00413130
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c0]
cmp dword [ebp - 0x2ac], 8
cmovae eax, dword [ebp - 0x2c0]
push eax
push str.read_player32_path_from_ldplayer__s
push 0x26b
push str.LDPlayerHelperModel::_calcPlayerPath
call fcn.00423690
add esp, 0x10
lea ecx, [ebp - 0x2c0]
mov dl, 1
call fcn.00413280
test al, al
je 0x4135c6
lea ebx, [esi + 0xf0]
lea eax, [ebp - 0x2c0]
cmp ebx, eax
je 0x4135a6
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00407a40
cmp dword [ebx + 0x14], 8
jb 0x4135ae
mov ebx, dword [ebx]
push ebx
push str.32_player_path__s
push 0x26e
push str.LDPlayerHelperModel::_calcPlayerPath
call fcn.00423690
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2ac], 8
jb 0x4135e1
push dword [ebp - 0x2c0]
call edi
add esp, 4
cmp dword [esi + 0x118], 0
jne 0x41369c
push str.Softwareleidianldplayer64
lea ecx, [ebp - 0x2a8]
call fcn.00413130
add esp, 4
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2a8]
cmp dword [ebp - 0x294], 8
cmovae eax, dword [ebp - 0x2a8]
push eax
push str.read_player64_path_from_ldplayer__s
push 0x274
push str.LDPlayerHelperModel::_calcPlayerPath
call fcn.00423690
add esp, 0x10
lea ecx, [ebp - 0x2a8]
xor dl, dl
call fcn.00413280
test al, al
je 0x413681
lea ebx, [esi + 0x108]
lea eax, [ebp - 0x2a8]
cmp ebx, eax
je 0x413661
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00407a40
cmp dword [ebx + 0x14], 8
jb 0x413669
mov ebx, dword [ebx]
push ebx
push str.64_player_path__s
push 0x277
push str.LDPlayerHelperModel::_calcPlayerPath
call fcn.00423690
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x294], 8
jb 0x41369c
push dword [ebp - 0x2a8]
call edi
add esp, 4
cmp dword [esi + 0xe8], 0
jne 0x41375f
push str.Softwareleidianldplayer9
lea ecx, [ebp - 0x278]
call fcn.00413130
add esp, 4
mov dword [ebp - 4], 2
lea eax, [ebp - 0x278]
cmp dword [ebp - 0x264], 8
cmovae eax, dword [ebp - 0x278]
push eax
push str.read_player9_path_from_ldplayer__s
push 0x27d
push str.LDPlayerHelperModel::_calcPlayerPath
call fcn.00423690
add esp, 0x10
lea ecx, [ebp - 0x278]
call fcn.004133c0
test al, al
je 0x413744
lea ecx, [esi + 0xd8]
lea eax, [ebp - 0x278]
cmp ecx, eax
je 0x413718
push 0xffffffffffffffff
push 0
push eax
call fcn.00407a40
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push eax
push str.9_player_path__s
push 0x280
push str.LDPlayerHelperModel::_calcPlayerPath
call fcn.00423690
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x264], 8
jb 0x41375f
push dword [ebp - 0x278]
call edi
add esp, 4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2c4]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x4137a5
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2c4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
xor eax, eax
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
cmp word [ebp - 0x218], ax
jne 0x4137cf
xor ecx, ecx
jmp 0x4137ef
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4137e0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4137e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x290]
call fcn.00407dc0
mov dword [ebp - 4], 3
cmp dword [ebp - 0x280], 0
je 0x413bfb
cmp dword [esi + 0xe8], 0
jne 0x413961
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
push 0x43e714
lea edx, [ebp - 0x290]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2dc]
call fcn.0040b070
add esp, 4
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
push ecx
push eax
call fcn.0042bee0
add esp, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c8], 8
jb 0x413889
push dword [ebp - 0x2dc]
call edi
add esp, 4
cmp dword [ebp - 0x220], 0
je 0x4138c8
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.0042af70
add esp, 8
lea ecx, [ebp - 0x230]
push eax
call fcn.0040b6e0
cmp dword [ebp - 0x2c8], 8
jb 0x4138c8
push dword [ebp - 0x2dc]
call edi
add esp, 4
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str.read_player9_path_from_shortcut__s
push 0x292
push str.LDPlayerHelperModel::_calcPlayerPath
call fcn.00423690
add esp, 0x10
lea ecx, [ebp - 0x230]
call fcn.004133c0
test al, al
je 0x413949
lea ecx, [esi + 0xd8]
lea eax, [ebp - 0x230]
cmp ecx, eax
je 0x41391d
push 0xffffffffffffffff
push 0
push eax
call fcn.00407a40
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str.9_player_path__s
push 0x295
push str.LDPlayerHelperModel::_calcPlayerPath
call fcn.00423690
add esp, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp - 0x21c], 8
jb 0x413961
push dword [ebp - 0x230]
call edi
add esp, 4
cmp dword [esi + 0x100], 0
jne 0x413aae
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
push 0x43e778
lea edx, [ebp - 0x290]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2dc]
call fcn.0040b070
add esp, 4
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 7
push ecx
push eax
call fcn.0042bee0
add esp, 8
mov byte [ebp - 4], 6
cmp dword [ebp - 0x2c8], 8
jb 0x4139d4
push dword [ebp - 0x2dc]
call edi
add esp, 4
cmp dword [ebp - 0x238], 0
je 0x413a13
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.0042af70
add esp, 8
lea ecx, [ebp - 0x248]
push eax
call fcn.0040b6e0
cmp dword [ebp - 0x2c8], 8
jb 0x413a13
push dword [ebp - 0x2dc]
call edi
add esp, 4
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push str.read_player32_path_from_shortcut__s
push 0x29f
push str.LDPlayerHelperModel::_calcPlayerPath
call fcn.00423690
add esp, 0x10
lea ecx, [ebp - 0x248]
mov dl, 1
call fcn.00413280
test al, al
je 0x413a96
lea ecx, [esi + 0xf0]
lea eax, [ebp - 0x248]
cmp ecx, eax
je 0x413a6a
push 0xffffffffffffffff
push 0
push eax
call fcn.00407a40
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push str.32_player_path__s
push 0x2a2
push str.LDPlayerHelperModel::_calcPlayerPath
call fcn.00423690
add esp, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp - 0x234], 8
jb 0x413aae
push dword [ebp - 0x248]
call edi
add esp, 4
cmp dword [esi + 0x118], 0
jne 0x413bfb
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
push 0x43e7d8
lea edx, [ebp - 0x290]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2dc]
call fcn.0040b070
add esp, 4
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 9
push ecx
push eax
call fcn.0042bee0
add esp, 8
mov byte [ebp - 4], 8
cmp dword [ebp - 0x2c8], 8
jb 0x413b21
push dword [ebp - 0x2dc]
call edi
add esp, 4
cmp dword [ebp - 0x250], 0
je 0x413b60
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.0042af70
add esp, 8
lea ecx, [ebp - 0x260]
push eax
call fcn.0040b6e0
cmp dword [ebp - 0x2c8], 8
jb 0x413b60
push dword [ebp - 0x2dc]
call edi
add esp, 4
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
push str.read_player64_path_from_shortcut__s
push 0x2ac
push str.LDPlayerHelperModel::_calcPlayerPath
call fcn.00423690
add esp, 0x10
lea ecx, [ebp - 0x260]
xor dl, dl
call fcn.00413280
test al, al
je 0x413be3
lea ecx, [esi + 0x108]
lea eax, [ebp - 0x260]
cmp ecx, eax
je 0x413bb7
push 0xffffffffffffffff
push 0
push eax
call fcn.00407a40
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
push str.64_player_path__s
push 0x2af
push str.LDPlayerHelperModel::_calcPlayerPath
call fcn.00423690
add esp, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp - 0x24c], 8
jb 0x413bfb
push dword [ebp - 0x260]
call edi
add esp, 4
cmp dword [esi + 0x11c], 8
lea eax, [esi + 0x108]
jb 0x413c0c
mov eax, dword [eax]
cmp dword [esi + 0x104], 8
lea ecx, [esi + 0xf0]
jb 0x413c1d
mov ecx, dword [ecx]
add esi, 0xd8
cmp dword [esi + 0x14], 8
jb 0x413c2b
mov esi, dword [esi]
push eax
push ecx
push esi
push str.player9:__s_player5_32:_s_player5_64:_s
push 0x2b4
push str.LDPlayerHelperModel::_calcPlayerPath
call fcn.00423690
add esp, 0x18
cmp dword [ebp - 0x27c], 8
jb 0x413c59
push dword [ebp - 0x290]
call edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004320a8
mov esp, ebp
pop ebp
ret