Function at 0x415be0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43eebd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], 0
mov ebp, 1
mov dword [esp + 0x158], ebp
mov eax, dword [0x4507fc]
mov dword [esp + 0x10], eax
push ecx
lea edx, [esp + 0x16c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x160], 3
call fcn.00434737
lea eax, [esp + 0x1c]
push eax
call fcn.004169d0
add esp, 8
push eax
lea ecx, [esp + 0x16c]
mov byte [esp + 0x15c], 4
call fcn.00434afb
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 3
call fcn.004349c2
lea ecx, [esp + 0x168]
call fcn.00434ed6
mov ecx, dword [esp + 0x168]
push 0x4526b0
push ecx
call fcn.00422786
add esp, 8
test eax, eax
jne 0x415cb1
mov esi, dword [esp + 0x160]
lea edx, [esp + 0x168]
push edx
mov ecx, esi
call fcn.00434737
mov dword [esp + 0x1c], ebp
jmp 0x415fa5
lea esi, [edi + 8]
mov ecx, esi
call fcn.0040e8c0
mov ecx, esi
call fcn.0040e920
push eax
lea eax, [esp + 0x14]
push 0x44f788
push eax
call fcn.0042fae2
mov eax, dword [edi + 0x98]
add esp, 0xc
test eax, eax
jne 0x415d4f
mov bl, 5
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.name
call fcn.00434a30
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0040fbe0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x15c], bl
call fcn.00434afb
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 3
call fcn.004349c2
lea ecx, [esp + 0x10]
call fcn.00434ed6
mov edx, dword [esp + 0x168]
lea ecx, [esp + 0x10]
push edx
call fcn.0042f7a1
test eax, eax
jge 0x415d67
mov ecx, esi
call fcn.0040e8e0
mov eax, dword [edi + 0x98]
test eax, eax
je 0x415ce1
mov esi, dword [esp + 0x160]
push 0x4526b0
mov ecx, esi
call fcn.00434a30
jmp 0x415fa1
mov eax, dword [esp + 0x16c]
test eax, eax
je 0x415e87
mov eax, dword [edi + 0xc4]
lea ebp, [edi + 0xc4]
push eax
call fcn.00416830
add esp, 4
test eax, eax
je 0x415d98
mov eax, dword [ebp]
push eax
call fcn.004358c9
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x50]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov cl, byte [esp + eax + 0x4f]
lea eax, [esp + eax + 0x50]
cmp cl, 0x5c
je 0x415dc8
mov byte [eax], 0x5c
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.name
call fcn.00434a30
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0040fbe0
lea edx, [esp + 0x50]
mov bl, 6
push edx
mov ecx, ebp
mov byte [esp + 0x15c], bl
call fcn.00434b4b
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.00434dda
lea ecx, [esp + 0x28]
call fcn.00416390
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 7
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.music
call fcn.00434a30
mov ecx, esi
call fcn.0040f9e0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ebp
call fcn.00434737
lea ecx, [esp + 0x2c]
call fcn.004163e0
mov esi, dword [esp + 0x160]
push ebp
mov ecx, esi
call fcn.00434737
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x158], bl
call fcn.004163d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 3
call fcn.004349c2
jmp 0x415fa5
mov eax, dword [esp + 0x170]
test eax, eax
je 0x415f36
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00434737
lea eax, [esp + 0x18]
push eax
call fcn.004169d0
add esp, 8
push eax
push ecx
lea edx, [esp + 0x16c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x164], 8
call fcn.00434737
lea eax, [esp + 0x28]
push eax
call fcn.00416a60
add esp, 8
lea ecx, [esp + 0x1c]
mov bl, 9
push eax
push ecx
mov byte [esp + 0x164], bl
call fcn.00434bf1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x15c], 0xa
call fcn.00434afb
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], bl
call fcn.004349c2
lea ecx, [esp + 0x20]
mov byte [esp + 0x158], 8
call fcn.004349c2
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 3
call fcn.004349c2
mov edx, dword [esp + 0x10]
push edx
call fcn.00416830
add esp, 4
test eax, eax
jne 0x415f8e
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push str.Cannt_find
push ecx
call fcn.00434ccb
mov eax, dword [eax]
push 0
push 0
push eax
mov byte [esp + 0x164], 0xb
call fcn.00438501
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 3
call fcn.004349c2
push 0x4526b0
lea ecx, [esp + 0x14]
call fcn.00434b4b
mov esi, dword [esp + 0x160]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00434737
mov dword [esp + 0x1c], ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 2
call fcn.004349c2
lea ecx, [esp + 0x164]
mov byte [esp + 0x158], 1
call fcn.004349c2
lea ecx, [esp + 0x168]
mov byte [esp + 0x158], 0
call fcn.004349c2
mov ecx, dword [esp + 0x150]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14c
ret 0x14