Function at 0x441260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1240
call fcn.0043d5c0
mov eax, dword [0x470050]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x441289
cmp dword [ebp + 0x10], 0
je 0x441289
cmp dword [ebp + 0x14], 0
jne 0x441293
mov eax, 0x80070057
jmp 0x4416ca
mov dword [ebp - 0x20c], 0
xor eax, eax
mov word [ebp - 0x208], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x206]
push ecx
call fcn.0042e060
add esp, 0xc
cmp dword [ebp + 0x1c], 0
je 0x4412f7
cmp dword [ebp + 0xc], 0
je 0x4412df
mov edx, dword [ebp + 0xc]
push edx
push 0x100
lea eax, [ebp - 0x208]
push eax
call fcn.00401230
jmp 0x4412f5
push str.Play
push 0x100
lea ecx, [ebp - 0x208]
push ecx
call fcn.00401230
jmp 0x44131a
push 0x100
lea edx, [ebp - 0x208]
push edx
push 0x459fc0
mov eax, dword [ebp + 8]
push eax
call fcn.00440a10
add esp, 0x10
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jl 0x4416c4
xor ecx, ecx
mov word [ebp - 0x410], cx
push 0x1fe
push 0
lea edx, [ebp - 0x40e]
push edx
call fcn.0042e060
add esp, 0xc
cmp dword [ebp + 0x1c], 0
je 0x441364
push 0x459fcc
push 0x100
lea eax, [ebp - 0x410]
push eax
call fcn.00401230
jmp 0x441387
push 0x100
lea ecx, [ebp - 0x410]
push ecx
push 0x459fd0
mov edx, dword [ebp + 8]
push edx
call fcn.00440a10
add esp, 0x10
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jl 0x4416c4
lea eax, [ebp - 0x410]
push eax
call fcn.00442cb7
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], 0
lea ecx, [ebp - 0x414]
push ecx
push str.FileTask
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [eax + 0x94]
call edx
cmp dword [ebp - 0x414], 0
je 0x44160f
xor eax, eax
mov word [ebp - 0x618], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x616]
push ecx
call fcn.0042e060
add esp, 0xc
push 0x100
lea edx, [ebp - 0x618]
push edx
push 0x459ff0
mov eax, dword [ebp - 0x414]
push eax
call fcn.00440a10
add esp, 0x10
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jl 0x44160a
xor ecx, ecx
mov word [ebp - 0x818], cx
push 0x1fe
push 0
lea edx, [ebp - 0x816]
push edx
call fcn.0042e060
add esp, 0xc
push 0x100
lea eax, [ebp - 0x818]
push eax
push str.arguments
mov ecx, dword [ebp - 0x414]
push ecx
call fcn.00440a10
add esp, 0x10
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jl 0x44160a
xor edx, edx
mov word [ebp - 0xa18], dx
push 0x1fe
push 0
lea eax, [ebp - 0xa16]
push eax
call fcn.0042e060
add esp, 0xc
push 0x100
lea ecx, [ebp - 0xa18]
push ecx
push str.baseKnownFolderID
mov edx, dword [ebp - 0x414]
push edx
call fcn.00440a10
add esp, 0x10
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x4415a5
lea eax, [ebp - 0xa1c]
push eax
lea ecx, [ebp - 0xa18]
push ecx
call fcn.00440bf0
add esp, 8
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jne 0x4415a3
lea edx, [ebp - 0xc28]
push edx
push 0
push 0
mov eax, dword [ebp - 0xa1c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jl 0x4415a3
xor ecx, ecx
mov word [ebp - 0xe30], cx
push 0x206
push 0
lea edx, [ebp - 0xe2e]
push edx
call fcn.0042e060
add esp, 0xc
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0xc28]
push ecx
push 0x45a034
push 0x104
lea edx, [ebp - 0xe30]
push edx
call fcn.004012c0
add esp, 0x14
push 1
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
lea edx, [ebp - 0x818]
push edx
lea eax, [ebp - 0xe30]
push eax
lea ecx, [ebp - 0x208]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x18]
push eax
call fcn.00440e80
add esp, 0x20
mov dword [ebp - 0x20c], eax
jmp 0x44160a
cmp dword [ebp - 0x20c], 1
jne 0x44160a
lea ecx, [ebp - 0x618]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0x45a040
push 0x104
lea eax, [ebp - 0x1038]
push eax
call fcn.004012c0
add esp, 0x14
push 1
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp - 0x418]
push edx
lea eax, [ebp - 0x818]
push eax
lea ecx, [ebp - 0x1038]
push ecx
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00440e80
add esp, 0x20
mov dword [ebp - 0x20c], eax
jmp 0x4416c4
mov dword [ebp - 0x103c], 0
lea edx, [ebp - 0x103c]
push edx
push str.URLTask
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ecx + 0x94]
call eax
cmp dword [ebp - 0x103c], 0
je 0x4416c4
xor ecx, ecx
mov word [ebp - 0x1240], cx
push 0x1fe
push 0
lea edx, [ebp - 0x123e]
push edx
call fcn.0042e060
add esp, 0xc
push 0x100
lea eax, [ebp - 0x1240]
push eax
push str.Link
mov ecx, dword [ebp - 0x103c]
push ecx
call fcn.00440a10
add esp, 0x10
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0
jl 0x4416c4
push 0
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp - 0x418]
push eax
push 0
lea ecx, [ebp - 0x1240]
push ecx
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00440e80
add esp, 0x20
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c1e9
mov esp, ebp
pop ebp
ret