Function at 0x5f95b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x6f824b
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.005b1220
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.005b12a0
test al, al
jne 0x5f9628
lea ecx, [esp + 0x48]
mov dword [esp + 0x188], 0xffffffff
call fcn.005b1420
xor al, al
jmp 0x5f9833
push ebx
push str.data_song12.fnt
push edi
call fcn.0065ea91
add esp, 8
test eax, eax
jne 0x5f96f6
cmp dword [0x7808b4], ebp
je 0x5f96f6
push 0x65ee4
lea ecx, [esp + 0x50]
call fcn.005b1170
mov ecx, dword [0x7808b4]
call fcn.005dd9b0
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], 0xf1
mov byte [esp + 0x1e], 0x26
mov byte [esp + 0x1f], 0xe0
mov ecx, dword [0x7808b4]
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.004120d0
mov ecx, dword [esp + 0x20]
push 1
mov ebx, eax
call fcn.004153e0
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
inc ebp
cmp ebp, 0x10
mov dword [eax], ebx
jb 0x5f96b4
push 0
lea ecx, [esp + 0x50]
call fcn.005b1170
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.0065f710
add esp, 0xc
test eax, eax
je 0x5f973b
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18c], 0xffffffff
call fcn.005b1420
xor al, al
jmp 0x5f9832
cmp dword [esp + 0x28], 5
jne 0x5f9720
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 0x5f9798
mov dword [esi + 0xc], 0x81
mov dword [esi + 8], 0xfe
mov dword [esi + 4], 0x40
jmp 0x5f97ad
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.00416be0
mov eax, dword [edi + 4]
test eax, eax
jne 0x5f9807
xor edi, edi
jmp 0x5f980c
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.005b1420
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