Function at 0x4799b0
Capabilities:
Get common file path
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5feb54
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x6af320]
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
push 0
push 0x6304a0
call fcn.00413650
push 0
lea ebx, [esi + 0x18]
push 0x6304a0
mov ecx, ebx
call fcn.00413650
push 0
lea ecx, [esi + 0x30]
push 0x6304a0
call fcn.00413650
push 0
push 0x6304a0
lea ecx, [esi + 0x48]
call fcn.00413650
cmp dword [esi + 0x10], 0
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jne 0x479ad5
push str.SoftwareXuanZhildplayer
lea ecx, [ebp - 0x2f0]
call fcn.004798b0
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2f0]
cmp dword [ebp - 0x2dc], 8
cmovae eax, dword [ebp - 0x2f0]
push eax
push str.read_player32_path_from_ldplayer__s
push 0x58
push str.LDHelper::clacPlayerPath
call fcn.0056c830
lea eax, [esi + 0x60]
mov dl, 1
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00479660
add esp, 0x14
test al, al
je 0x479aba
lea eax, [ebp - 0x2f0]
cmp esi, eax
je 0x479a99
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00413280
cmp dword [esi + 0x14], 8
jb 0x479aa3
mov eax, dword [esi]
jmp 0x479aa5
mov eax, esi
push eax
push str.32_player_path__s
push 0x5b
push str.LDHelper::clacPlayerPath
call fcn.0056c830
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2dc], 8
jb 0x479ad5
push dword [ebp - 0x2f0]
call edi
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x479b89
push str.SoftwareXuanZhildplayer64
lea ecx, [ebp - 0x2d8]
call fcn.004798b0
add esp, 4
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2d8]
cmp dword [ebp - 0x2c4], 8
cmovae eax, dword [ebp - 0x2d8]
push eax
push str.read_player64_path_from_ldplayer__s
push 0x61
push str.LDHelper::clacPlayerPath
call fcn.0056c830
lea eax, [esi + 0x78]
xor dl, dl
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00479660
add esp, 0x14
test al, al
je 0x479b6e
lea eax, [ebp - 0x2d8]
cmp ebx, eax
je 0x479b4d
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00413280
cmp dword [ebx + 0x14], 8
jb 0x479b57
mov eax, dword [ebx]
jmp 0x479b59
mov eax, ebx
push eax
push str.64_player_path__s
push 0x64
push str.LDHelper::clacPlayerPath
call fcn.0056c830
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c4], 8
jb 0x479b89
push dword [ebp - 0x2d8]
call edi
add esp, 4
cmp dword [esi + 0x40], 0
jne 0x479c46
push str.SoftwareXuanZhildplayer9
lea ecx, [ebp - 0x2a8]
call fcn.004798b0
add esp, 4
mov dword [ebp - 4], 2
lea eax, [ebp - 0x2a8]
cmp dword [ebp - 0x294], 8
cmovae eax, dword [ebp - 0x2a8]
push eax
push str.read_player9_path_from_ldplayer__s
push 0x6a
push str.LDHelper::clacPlayerPath
call fcn.0056c830
add esp, 0x10
lea edx, [esi + 0x90]
lea ecx, [ebp - 0x2a8]
call fcn.00479790
test al, al
je 0x479c2b
lea eax, [ebp - 0x2a8]
lea ecx, [esi + 0x30]
cmp ecx, eax
je 0x479c02
push 0xffffffffffffffff
push 0
push eax
call fcn.00413280
cmp dword [ebp - 0x294], 8
lea eax, [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2a8]
push eax
push str.9_player_path__s
push 0x6d
push str.LDHelper::clacPlayerPath
call fcn.0056c830
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x294], 8
jb 0x479c46
push dword [ebp - 0x2a8]
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 - 0x2f4]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x479c8c
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2f4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
xor eax, eax
mov dword [ebp - 0x2ac], 7
mov dword [ebp - 0x2b0], 0
mov word [ebp - 0x2c0], ax
cmp word [ebp - 0x218], ax
jne 0x479cb6
xor ecx, ecx
jmp 0x479ccf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479cc0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.00413650
mov dword [ebp - 4], 3
cmp dword [ebp - 0x2b0], 0
je 0x47a21a
cmp dword [esi + 0x40], 0
jne 0x479e40
xor eax, eax
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
push str.LDPlayer9.lnk
lea edx, [ebp - 0x2c0]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
call fcn.00425c20
add esp, 4
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 5
push ecx
push eax
call fcn.00576df0
add esp, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x21c], 8
jb 0x479d66
push dword [ebp - 0x230]
call edi
add esp, 4
cmp dword [ebp - 0x280], 0
je 0x479da5
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00578f70
add esp, 8
lea ecx, [ebp - 0x290]
push eax
call fcn.00430160
cmp dword [ebp - 0x21c], 8
jb 0x479da5
push dword [ebp - 0x230]
call edi
add esp, 4
cmp dword [ebp - 0x27c], 8
lea eax, [ebp - 0x290]
cmovae eax, dword [ebp - 0x290]
push eax
push str.read_player9_path_from_shortcut__s
push 0x7f
push str.LDHelper::clacPlayerPath
call fcn.0056c830
add esp, 0x10
lea edx, [esi + 0x90]
lea ecx, [ebp - 0x290]
call fcn.00479790
test al, al
je 0x479e28
lea ecx, [ebp - 0x290]
lea eax, [esi + 0x30]
cmp eax, ecx
je 0x479dfc
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00413280
cmp dword [ebp - 0x27c], 8
lea eax, [ebp - 0x290]
cmovae eax, dword [ebp - 0x290]
push eax
push str.9_player_path__s
push 0x82
push str.LDHelper::clacPlayerPath
call fcn.0056c830
add esp, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp - 0x27c], 8
jb 0x479e40
push dword [ebp - 0x290]
call edi
add esp, 4
cmp dword [esi + 0x10], 0
jne 0x47a0d4
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
push str.LDPlayer5.lnk
lea edx, [ebp - 0x2c0]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x230]
call fcn.00425c20
add esp, 4
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 7
push ecx
push eax
call fcn.00576df0
add esp, 8
mov byte [ebp - 4], 6
cmp dword [ebp - 0x21c], 8
jb 0x479eb0
push dword [ebp - 0x230]
call edi
add esp, 4
cmp dword [ebp - 0x238], 0
je 0x479eef
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00578f70
add esp, 8
lea ecx, [ebp - 0x248]
push eax
call fcn.00430160
cmp dword [ebp - 0x21c], 8
jb 0x479eef
push dword [ebp - 0x230]
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 0x8c
push str.LDHelper::clacPlayerPath
call fcn.0056c830
lea eax, [esi + 0x60]
mov dl, 1
push eax
lea ecx, [ebp - 0x248]
call fcn.00479660
add esp, 0x14
test al, al
je 0x479f72
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x479f46
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00413280
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push str.32_player_path__s
push 0x8f
push str.LDHelper::clacPlayerPath
call fcn.0056c830
add esp, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp - 0x234], 8
jb 0x479f8a
push dword [ebp - 0x248]
call edi
add esp, 4
cmp dword [esi + 0x10], 0
jne 0x47a0d4
xor eax, eax
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
push str.LDPlayer4.lnk
lea edx, [ebp - 0x2c0]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x230]
call fcn.00425c20
add esp, 4
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 9
push ecx
push eax
call fcn.00576df0
add esp, 8
mov byte [ebp - 4], 8
cmp dword [ebp - 0x21c], 8
jb 0x479ffa
push dword [ebp - 0x230]
call edi
add esp, 4
cmp dword [ebp - 0x268], 0
je 0x47a039
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00578f70
add esp, 8
lea ecx, [ebp - 0x278]
push eax
call fcn.00430160
cmp dword [ebp - 0x21c], 8
jb 0x47a039
push dword [ebp - 0x230]
call edi
add esp, 4
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push eax
push str.read_player32_path_from_shortcut__s
push 0x99
push str.LDHelper::clacPlayerPath
call fcn.0056c830
lea eax, [esi + 0x60]
mov dl, 1
push eax
lea ecx, [ebp - 0x278]
call fcn.00479660
add esp, 0x14
test al, al
je 0x47a0bc
lea eax, [ebp - 0x278]
cmp esi, eax
je 0x47a090
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00413280
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push eax
push str.32_player_path__s
push 0x9c
push str.LDHelper::clacPlayerPath
call fcn.0056c830
add esp, 0x10
mov byte [ebp - 4], 3
cmp dword [ebp - 0x264], 8
jb 0x47a0d4
push dword [ebp - 0x278]
call edi
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x47a21a
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
push str.LDPlayer64.lnk
lea edx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x230]
call fcn.00425c20
add esp, 4
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xb
push ecx
push eax
call fcn.00576df0
add esp, 8
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x21c], 8
jb 0x47a144
push dword [ebp - 0x230]
call edi
add esp, 4
cmp dword [ebp - 0x250], 0
je 0x47a183
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00578f70
add esp, 8
lea ecx, [ebp - 0x260]
push eax
call fcn.00430160
cmp dword [ebp - 0x21c], 8
jb 0x47a183
push dword [ebp - 0x230]
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 0xa6
push str.LDHelper::clacPlayerPath
call fcn.0056c830
lea eax, [esi + 0x78]
xor dl, dl
push eax
lea ecx, [ebp - 0x260]
call fcn.00479660
add esp, 0x14
test al, al
je 0x47a206
lea eax, [ebp - 0x260]
cmp ebx, eax
je 0x47a1da
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00413280
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
push str.64_player_path__s
push 0xa9
push str.LDHelper::clacPlayerPath
call fcn.0056c830
add esp, 0x10
cmp dword [ebp - 0x24c], 8
jb 0x47a21a
push dword [ebp - 0x260]
call edi
add esp, 4
cmp dword [ebp - 0x2ac], 8
jb 0x47a22e
push dword [ebp - 0x2c0]
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.005f24e0
mov esp, ebp
pop ebp
ret