Function at 0x5cca00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x6cac2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebp
push esi
push edi
lea eax, [esp + 0x7c]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x48]
call fcn.00586830
mov edi, dword [esp + 0x190]
push 0x2000
xor ebp, ebp
push ebp
push edi
lea ecx, [esp + 0x54]
mov dword [esp + 0x194], ebp
call fcn.005868b0
test al, al
jne 0x5cca78
lea ecx, [esp + 0x48]
mov dword [esp + 0x188], 0xffffffff
call fcn.00586a30
xor al, al
jmp 0x5ccc83
push ebx
push str.data_song12.fnt
push edi
call fcn.00631a11
add esp, 8
test eax, eax
jne 0x5ccb46
cmp dword [0x74f2bc], ebp
je 0x5ccb46
push 0x65ee4
lea ecx, [esp + 0x50]
call fcn.00586780
mov ecx, dword [0x74f2bc]
call fcn.0048e2b0
mov cl, 0xc4
mov al, 0xc2
mov byte [esp + 0x10], 0x1c
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], 0x19
mov byte [esp + 0x13], 0x24
mov byte [esp + 0x14], al
mov byte [esp + 0x15], 0x7d
mov byte [esp + 0x16], 0x56
mov byte [esp + 0x17], cl
mov byte [esp + 0x18], 0x23
mov byte [esp + 0x19], 0x5c
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], 0x29
mov byte [esp + 0x1c], 0x1f
mov byte [esp + 0x1d], 0xf0
mov byte [esp + 0x1e], 0x25
mov byte [esp + 0x1f], 0xdf
mov ecx, dword [0x74f2bc]
mov edi, dword [ecx + 4]
mov eax, dword [edi + 4]
lea edx, [esp + ebp + 0x10]
push edx
push eax
push edi
mov dword [esp + 0x2c], ecx
call fcn.00411590
mov ecx, dword [esp + 0x20]
push 1
mov ebx, eax
call fcn.00414850
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
inc ebp
cmp ebp, 0x10
mov dword [eax], ebx
jb 0x5ccb04
push 0
lea ecx, [esp + 0x50]
call fcn.00586780
mov edx, dword [esp + 0x4c]
push 0x28
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x54]
call dword [edx + 0x10]
push 4
lea eax, [esp + 0x28]
push str.XGFT
push eax
call fcn.00632500
add esp, 0xc
test eax, eax
je 0x5ccb8b
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18c], 0xffffffff
call fcn.00586a30
xor al, al
jmp 0x5ccc82
cmp dword [esp + 0x28], 5
jne 0x5ccb70
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x44]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x48]
test eax, eax
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x64], ebp
mov dword [esi], 0xfe
je 0x5ccbe8
mov dword [esi + 0xc], 0x81
mov dword [esi + 8], 0xfe
mov dword [esi + 4], 0x40
jmp 0x5ccbfd
mov dword [esi + 0xc], 0xa1
mov dword [esi + 8], 0xf7
mov dword [esi + 4], 0xa0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edi, dword [esi + 4]
sub ecx, eax
inc ecx
mov eax, 0x100
sub eax, edi
mov edi, eax
mov dword [esi + 0x14], eax
imul edi, ebx
mov dword [esi + 0x10], ecx
imul ecx, edx
mov eax, 8
cdq
idiv ebp
mov dword [esi + 0x4c], edi
push 0
mov dword [esi + 0x48], ecx
mov ebx, eax
mov eax, ecx
cdq
idiv ebx
add eax, 3
and eax, 0xfffffffc
mov dword [esi + 0x44], eax
imul eax, edi
lea edi, [esi + 0x18]
push eax
mov ecx, edi
call fcn.00415e00
mov eax, dword [edi + 4]
test eax, eax
jne 0x5ccc57
xor edi, edi
jmp 0x5ccc5c
mov edi, dword [edi + 8]
sub edi, eax
mov esi, dword [esi + 0x1c]
mov edx, dword [esp + 0x4c]
push edi
push esi
lea ecx, [esp + 0x54]
call dword [edx + 0x10]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18c], 0xffffffff
call fcn.00586a30
mov al, 1
pop ebx
mov ecx, dword [esp + 0x180]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x180
ret 4