Function at 0x41b3a8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x31
add esp, 0xfffff004
push eax
dec eax
jne 0x41b3b1
mov eax, dword [ebp - 4]
add esp, 0xfffff7dc
push ebx
push esi
push edi
mov eax, 0x4d25a4
call fcn.00471e54
xor edx, edx
lea edi, [ebp - 0x31710]
mov dword [ebp - 0x4c], edx
mov esi, 0x4a0d88
mov dword [ebp - 0x50], 0x52001
mov ecx, 0xc5af
lea eax, [ebp - 0x31828]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push eax
push 0xf0
mov ebx, 0x316bd
call sub.KERNEL32.DLL_GetTempPathA
mov edx, dword [ebp - 0x50]
push edx
call fcn.004712fc
pop ecx
mov dword [ebp - 0x4c], eax
push ebx
lea ecx, [ebp - 0x31710]
push ecx
lea eax, [ebp - 0x50]
push eax
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00418ba4
add esp, 0x10
test eax, eax
je 0x41b437
or ebx, 0xffffffff
jmp 0x41b6a4
xor eax, eax
mov dword [ebp - 0x31714], eax
xor eax, eax
lea edi, [ebp - 0x31828]
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.00471ba4
add esp, 8
cmp dword [ebp - 0x31714], 0
jle 0x41b4af
mov edx, dword [ebp - 0x31714]
lea ecx, [ebp - 0x31720]
push edx
push 0x4d246d
push ecx
call fcn.00474444
add esp, 0xc
lea eax, [ebp - 0x31720]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00471ba4
add esp, 8
push str..dll
mov ecx, dword [ebp + 8]
push ecx
call fcn.00471ba4
mov word [ebp - 0x38], 8
mov edx, dword [ebp + 8]
add esp, 8
lea eax, [ebp - 4]
call fcn.0047cc54
inc dword [ebp - 0x2c]
mov eax, dword [eax]
call fcn.00468ec8
cmp al, 1
lea eax, [ebp - 4]
sete dl
and edx, 1
push edx
mov edx, 2
dec dword [ebp - 0x2c]
call fcn.0047cd0c
pop ecx
test cl, cl
je 0x41b5e6
mov dl, 1
mov eax, dword [0x45ca7c]
call fcn.00402228
mov dword [ebp - 0x31724], eax
lea eax, [ebp - 8]
mov word [ebp - 0x38], 0x14
mov word [ebp - 0x38], 0x20
mov edx, dword [ebp + 8]
call fcn.0047cc54
inc dword [ebp - 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x31724]
call fcn.0045fd64
dec dword [ebp - 0x2c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0047cd0c
mov eax, dword [ebp - 0x31724]
call fcn.0045f92c
cmp eax, dword [ebp - 0x50]
jne 0x41b5a8
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x31724]
mov eax, dword [ecx + 4]
push eax
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00471cd4
add esp, 0xc
test eax, eax
jne 0x41b5a8
mov ebx, dword [ebp - 0x31724]
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x41b698
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov word [ebp - 0x38], 0x38
mov edx, 3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x38], 0x2c
jmp 0x41b698
mov word [ebp - 0x38], 0
jmp 0x41b5bb
mov ebx, dword [ebp - 0x31724]
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x41b5e6
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
mov word [ebp - 0x38], 0x50
mov edx, 3
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x38], 0x44
mov word [ebp - 0x38], 0x5c
mov dl, 1
mov eax, dword [0x45ca7c]
call fcn.00402228
mov dword [ebp - 0x31724], eax
mov eax, dword [ebp - 0x31724]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x31724]
mov ecx, dword [eax]
call dword [ecx]
mov word [ebp - 0x38], 0x68
lea eax, [ebp - 0x1c]
mov edx, dword [ebp + 8]
call fcn.0047cc54
inc dword [ebp - 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x31724]
call fcn.0045fc90
dec dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0047cd0c
mov ebx, dword [ebp - 0x31724]
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x41b698
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov word [ebp - 0x38], 0x80
mov edx, 3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x38], 0x74
jmp 0x41b698
cmp dword [ebp - 0x31714], 0x64
mov ebx, 1
cmp dword [ebp - 0x4c], 0
je 0x41b6b4
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00471134
pop ecx
mov eax, ebx
mov edx, dword [ebp - 0x48]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret