Function at 0x4e24c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe78
mov eax, 0x598984
push ebx
push esi
push edi
call fcn.0054e578
xor edx, edx
mov ecx, dword [str.fbababdbj]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x78], ecx
mov ecx, dword [0x5987e0]
xor eax, eax
mov dword [ebp - 0x74], ecx
xor edx, edx
mov cx, word [0x5987e4]
mov word [ebp - 0x70], cx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], edx
xor ecx, ecx
mov dword [ebp - 0x84], ecx
xor eax, eax
mov word [ebp - 0x44], 8
push 0x40
mov ecx, dword [0x5a11fc]
mov word [ebp - 0x44], 0x14
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
inc dword [ebp - 0x38]
mov eax, dword [ecx]
call fcn.0051780c
lea ecx, [ebp - 4]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x535b6c]
call fcn.00538cfc
mov ebx, eax
dec dword [ebp - 0x38]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0055c51c
mov word [ebp - 0x44], 0
jmp 0x4e2574
mov eax, ebx
call fcn.00538af4
mov edx, eax
mov eax, ebx
add edx, 0xffa00000
call fcn.00538ae8
push 0x600000
call fcn.0054d784
pop ecx
mov dword [ebp - 0x84], eax
mov eax, ebx
mov edx, dword [ebp - 0x84]
mov ecx, 0x600000
mov esi, dword [eax]
call dword [esi + 4]
mov esi, ebx
mov dword [ebp - 0xc], esi
test esi, esi
je 0x4e25d4
mov eax, dword [esi]
mov dword [ebp - 8], eax
mov word [ebp - 0x44], 0x2c
mov edx, 3
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x44], 0x20
mov dword [ebp - 0x5c], 0x5ffff6
push 0xa
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x5c]
push eax
call fcn.0054e378
add esp, 0xc
test eax, eax
je 0x4e2600
dec dword [ebp - 0x5c]
cmp dword [ebp - 0x5c], 0
jge 0x4e25db
cmp dword [ebp - 0x5c], 0
jne 0x4e2610
mov ebx, 0xfffffffc
jmp 0x4e28d2
add dword [ebp - 0x5c], 0xa
push 4
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x7c]
push edx
call fcn.0054e0d4
add esp, 0xc
mov ecx, dword [ebp - 0x5c]
add ecx, 4
mov dword [ebp - 0x5c], ecx
push 4
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x80]
push edx
call fcn.0054e0d4
mov ecx, dword [ebp - 0x5c]
add esp, 0xc
add ecx, 4
lea eax, [ebp - 0x188]
mov dword [ebp - 0x5c], ecx
mov ebx, dword [ebp - 0x84]
add ebx, dword [ebp - 0x5c]
push eax
push 0xf0
call sub.KERNEL32.DLL_GetTempPathA
mov edx, dword [ebp - 0x7c]
push edx
call fcn.0054d784
pop ecx
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push ecx
push ebx
push eax
mov edx, dword [ebp - 0x58]
push edx
call fcn.004c38b0
add esp, 0x10
test eax, eax
je 0x4e269e
or ebx, 0xffffffff
jmp 0x4e28d2
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
lea edi, [ebp - 0x188]
or ecx, 0xffffffff
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edx
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.libfaad2
mov eax, dword [ebp + 8]
push eax
call fcn.0054e1e8
add esp, 8
cmp dword [ebp - 0x5c], 0
jle 0x4e2707
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x68]
push edx
push 0x59880d
push ecx
call fcn.005518b4
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0054e1e8
add esp, 8
push 0x598810
mov ecx, dword [ebp + 8]
push ecx
call fcn.0054e1e8
mov word [ebp - 0x44], 0x38
mov edx, dword [ebp + 8]
add esp, 8
lea eax, [ebp - 0x10]
call fcn.0055c210
inc dword [ebp - 0x38]
mov eax, dword [eax]
call fcn.005437f8
cmp al, 1
lea eax, [ebp - 0x10]
sete dl
and edx, 1
push edx
mov edx, 2
dec dword [ebp - 0x38]
call fcn.0055c51c
pop ecx
test cl, cl
je 0x4e282c
mov dl, 1
mov eax, dword [0x535c44]
call fcn.00409d30
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x14]
mov word [ebp - 0x44], 0x44
mov word [ebp - 0x44], 0x50
mov edx, dword [ebp + 8]
call fcn.0055c210
inc dword [ebp - 0x38]
mov edx, dword [eax]
mov eax, dword [ebp - 0x6c]
call fcn.00538f2c
dec dword [ebp - 0x38]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0055c51c
mov eax, dword [ebp - 0x6c]
call fcn.00538af4
cmp eax, dword [ebp - 0x7c]
jne 0x4e27f1
mov edx, dword [ebp - 0x7c]
push edx
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx + 4]
push eax
mov edx, dword [ebp - 0x58]
push edx
call fcn.0054e378
add esp, 0xc
test eax, eax
jne 0x4e27f1
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x4e28c9
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
mov word [ebp - 0x44], 0x68
mov edx, 3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x44], 0x5c
jmp 0x4e28c9
mov word [ebp - 0x44], 0
jmp 0x4e2804
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x4e282c
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov word [ebp - 0x44], 0x80
mov edx, 3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x44], 0x74
mov word [ebp - 0x44], 0x8c
mov dl, 1
mov eax, dword [0x535c44]
call fcn.00409d30
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x58]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
call dword [ecx]
mov word [ebp - 0x44], 0x98
lea eax, [ebp - 0x28]
mov edx, dword [ebp + 8]
call fcn.0055c210
inc dword [ebp - 0x38]
mov edx, dword [eax]
mov eax, dword [ebp - 0x6c]
call fcn.00538e58
dec dword [ebp - 0x38]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0055c51c
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x4e28c9
mov eax, dword [ebx]
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x44], 0xb0
mov edx, 3
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x44], 0xa4
jmp 0x4e28c9
cmp dword [ebp - 0x5c], 0x64
mov ebx, 1
cmp dword [ebp - 0x84], 0
je 0x4e28e8
mov eax, dword [ebp - 0x84]
push eax
call fcn.0054d5bc
pop ecx
cmp dword [ebp - 0x58], 0
je 0x4e28f8
mov edx, dword [ebp - 0x58]
push edx
call fcn.0054d5bc
pop ecx
mov eax, ebx
mov edx, dword [ebp - 0x54]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret