Function at 0x480880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54937b
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x5ab720]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x80], 0
je 0x480aac
cmp dword [ebx + 0x84], 0
je 0x480aac
cmp dword [ebx + 0x8c], 0
mov dword [ebx + 0x7c], 1
je 0x4808f7
lea eax, [ebx + 0x88]
call fcn.004112f0
fld1
fcom qword [0x5ae4b8]
fnstsw ax
test ah, 0x44
jp 0x480921
fcomp qword [0x5ae4c0]
fnstsw ax
test ah, 0x44
jp 0x480923
call fcn.00503137
push 0
push 0x1d3
jmp 0x48092f
fstp st(0)
call fcn.00503137
push 0
push 0x1d6
mov eax, dword [eax + 8]
lea edi, [ebx + 0x88]
push edi
call fcn.0046c310
push edi
push 0x1ac
lea esi, [ebx + 0x234]
call fcn.004abce0
push edi
push 0x1af
lea esi, [ebx + 0x2d0]
call fcn.004abce0
lea edi, [ebx + 0x42c]
push 0x190
push 0xd
mov esi, edi
call fcn.00424c40
push 0x2bc
lea esi, [ebx + 0x434]
push 0xd
call fcn.00424c40
add esp, 0x10
test edi, edi
je 0x480990
mov edi, dword [edi + 4]
mov eax, dword [ebx + 0x390]
push 1
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x30
push eax
call edi
lea esi, [ebx + 0x370]
mov eax, 0x5a5a5a
call fcn.00421b70
lea eax, [ebx + 0x434]
test eax, eax
je 0x4809c1
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x3f8]
push 1
push eax
push 0x30
push ecx
call edi
call fcn.00505193
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4809e9
push 0x80004005
call fcn.00402900
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x82
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x158], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x34]
lea edx, [eax + 1]
jmp 0x480a20
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x480a20
sub eax, edx
push eax
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x18]
call fcn.0047ee00
push 0x10
push str.MaxxAudioEQ.dll
lea eax, [esp + 0x18]
push eax
call fcn.0047ef00
cmp dword [0x5b7040], 0
jne 0x480ab3
call fcn.0047f250
test eax, eax
je 0x480a76
mov eax, dword [0x5b6ffc]
test eax, eax
je 0x480a76
mov ecx, dword [esp + 0x10]
push ecx
push 0
push 0
call eax
add esp, 0xc
jmp 0x480a78
xor eax, eax
test eax, eax
mov dword [0x5b7040], eax
jne 0x480ab3
mov dword [esp + 0x150], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x480aac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x480c5e
push 0x558
mov ecx, ebx
call fcn.005017ab
test eax, eax
je 0x480ade
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call fcn.005039ae
fld1
xor eax, eax
fld st(0)
mov dword [esp + 0x24], eax
fld qword [0x5ae4b8]
xor ecx, ecx
fucom st(1)
mov edx, 0x1b6
mov esi, 0xf7
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x480b33
fxch st(1)
fcomp qword [0x5ae4c0]
fnstsw ax
test ah, 0x44
jp 0x480b35
mov ecx, dword [esp + 0x18]
fstp st(0)
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
jmp 0x480b71
fstp st(1)
fmul qword [0x585328]
call fcn.005261c0
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x20]
sub eax, edi
sub eax, 0xf7
cdq
sub eax, edx
mov esi, eax
sar esi, 1
xor eax, eax
test esi, esi
setle al
sub eax, 1
and eax, esi
add edi, eax
push edi
push ecx
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebx + 0x20]
push ebx
push 0x480e90
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [0x5b7040]
push eax
call fcn.0047f4c0
mov ecx, dword [0x5b7040]
mov edi, dword [ebx + 0x1c4]
add esp, 0x14
push ecx
mov dword [ebx + 0x1c0], 1
call fcn.00480400
mov edx, dword [ebx + 0x84]
mov dword [ebx + 0xc0], ebx
mov esi, dword [edx + 0x14]
lea ecx, [ebx + 0xbc]
call fcn.004a2680
lea esi, [ebx + 0xdc]
push 0x563558
mov ecx, esi
call fcn.00503381
push 0x562dd8
mov ecx, esi
call fcn.00503381
push 0x5633a0
mov ecx, esi
call fcn.00503381
push 0x5633b4
mov ecx, esi
call fcn.00503381
push 0x562db0
mov ecx, esi
call fcn.00503381
push 0x56374c
mov ecx, esi
call fcn.00503381
push ebx
mov ecx, 0x5633a0
call fcn.004bf660
push ebx
mov ecx, 0x5633b4
call fcn.004bf660
mov dword [esp + 0x150], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x480c59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0052151a
mov esp, ebp
pop ebp
ret