Function at 0x416000
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43ef3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x18], edi
mov eax, dword [esi + 0xb4]
mov ebx, 1
cmp eax, edi
mov dword [esp + 0x158], ebx
jne 0x416059
mov esi, dword [esp + 0x160]
push 0x4526b0
mov ecx, esi
call fcn.00434a30
mov dword [esp + 0x18], ebx
jmp 0x416350
cmp dword [esp + 0x168], edi
je 0x4161d3
push eax
call fcn.00416620
add esp, 4
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0xb0]
lea ebp, [esi + 8]
mov edx, dword [ecx + eax*4]
mov ecx, ebp
push edx
call fcn.0040e760
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.name
call fcn.00434a30
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.0040fbe0
mov eax, dword [esp + 0x170]
mov byte [esp + 0x158], 2
cmp eax, edi
je 0x416220
mov eax, dword [esi + 0xc0]
add esi, 0xc0
push eax
call fcn.00416830
add esp, 4
test eax, eax
je 0x4160e4
mov eax, dword [esi]
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
lea ecx, [esp + 0x50]
push ecx
push 0xff
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov cl, byte [esp + eax + 0x4f]
lea eax, [esp + eax + 0x50]
cmp cl, 0x5c
je 0x416114
mov byte [eax], 0x5c
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.name
call fcn.00434a30
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
call fcn.0040fbe0
lea eax, [esp + 0x50]
mov bl, 3
push eax
mov ecx, esi
mov byte [esp + 0x15c], bl
call fcn.00434b4b
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00434dda
lea ecx, [esp + 0x28]
call fcn.00416390
lea edx, [esp + 0x28]
mov byte [esp + 0x158], 4
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.music
call fcn.00434a30
mov ecx, ebp
call fcn.0040f9e0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
call fcn.00434737
lea ecx, [esp + 0x2c]
call fcn.004163e0
push esi
mov esi, dword [esp + 0x164]
mov ecx, esi
call fcn.00434737
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 1
mov byte [esp + 0x158], bl
call fcn.004163d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x158], 2
call fcn.004349c2
jmp 0x41633f
mov edx, dword [esi + 0xa8]
inc edx
mov dword [esi + 0xa8], edx
mov ecx, dword [esi + 0xb4]
mov eax, edx
cmp eax, ecx
jl 0x416075
cmp dword [esp + 0x16c], edi
je 0x416204
mov dword [esi + 0xa8], edi
jmp 0x416075
mov esi, dword [esp + 0x160]
push 0x4526b0
mov ecx, esi
call fcn.00434a30
mov dword [esp + 0x18], ebx
jmp 0x416350
cmp dword [esp + 0x174], edi
je 0x4162d2
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00434737
lea ecx, [esp + 0x18]
push ecx
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], 5
call fcn.00434737
lea eax, [esp + 0x28]
push eax
call fcn.00416a60
add esp, 8
lea ecx, [esp + 0x20]
mov bl, 6
push eax
push ecx
mov byte [esp + 0x164], bl
call fcn.00434bf1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x15c], 7
call fcn.00434afb
lea ecx, [esp + 0x1c]
mov byte [esp + 0x158], bl
call fcn.004349c2
lea ecx, [esp + 0x20]
mov byte [esp + 0x158], 5
call fcn.004349c2
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 2
call fcn.004349c2
mov ebx, 1
mov edx, dword [esp + 0x10]
push edx
call fcn.00416830
add esp, 4
test eax, eax
jne 0x416328
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push str.Cannt_find
push ecx
call fcn.00434ccb
mov eax, dword [eax]
push edi
push edi
push eax
mov byte [esp + 0x164], 8
call fcn.00438501
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 2
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 + 0x18], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 1
call fcn.004349c2
lea ecx, [esp + 0x164]
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 0x18