Function at 0x4f0b30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a600
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
mov eax, dword [0x7f206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.click_to_start_download....
lea ecx, [ebp - 0x444]
call fcn.0041d340
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [0x800f6c]
test ecx, ecx
je 0x4f0b92
lea eax, [ebp - 0x444]
push eax
call fcn.00521350
jmp 0x4f0b9d
lea ecx, [ebp - 0x444]
call fcn.004ffbb0
mov dword [ebp - 4], 0xffffffff
or esi, 0xffffffff
mov ecx, dword [ebp - 0x444]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f0bcb
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f0bcb
push ecx
call fcn.004a8172
add esp, 4
lea ecx, [ebp - 0x4a0]
call fcn.00403450
lea eax, [ebp - 0x4a0]
mov dword [ebp - 4], 1
mov ecx, dword [0x800f60]
push eax
push ecx
call fcn.00402940
test al, al
je 0x4f128e
push str.down_order.url
lea ecx, [ebp - 0x444]
call fcn.0041d340
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [0x800f6c]
test ecx, ecx
je 0x4f0c27
lea eax, [ebp - 0x444]
push eax
call fcn.00521350
jmp 0x4f0c32
lea ecx, [ebp - 0x444]
call fcn.004ffbb0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x444]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f0c5a
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f0c5a
push ecx
call fcn.004a8172
add esp, 4
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x4d4]
call fcn.005298b0
lea edx, [ebp - 0x480]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
call fcn.00524830
push 0x5c
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 4
call fcn.00518740
inc eax
lea ecx, [ebp - 0x458]
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.00526f80
push str.create_filename_...
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 5
call fcn.0041d340
add esp, 4
mov byte [ebp - 4], 6
mov ecx, dword [0x800f6c]
test ecx, ecx
je 0x4f0cd9
lea eax, [ebp - 0x444]
push eax
call fcn.00521350
jmp 0x4f0ce4
lea ecx, [ebp - 0x444]
call fcn.004ffbb0
mov ecx, dword [ebp - 0x444]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f0d08
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f0d08
push ecx
call fcn.004a8172
add esp, 4
mov dword [ebp - 0x44c], 0x7a135c
push str.tmp_
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 7
call fcn.00518bc0
lea eax, [ebp - 0x484]
push eax
lea ecx, [ebp - 0x44c]
call fcn.00529ba0
push str..tmp
mov ecx, eax
call fcn.00518bc0
push str.create_full_filepath...
lea ecx, [ebp - 0x444]
call fcn.0041d340
add esp, 4
mov byte [ebp - 4], 8
mov ecx, dword [0x800f6c]
test ecx, ecx
je 0x4f0d73
lea eax, [ebp - 0x444]
push eax
call fcn.00521350
jmp 0x4f0d7e
lea ecx, [ebp - 0x444]
call fcn.004ffbb0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x444]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f0da6
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f0da6
push ecx
call fcn.004a8172
add esp, 4
push 0
push 0x1a
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4f0e0d
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x444]
call fcn.0041d400
add esp, 4
lea edx, [ebp - 0x444]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x454]
call fcn.00524830
mov ecx, dword [ebp - 0x444]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f0e17
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f0e17
push ecx
call fcn.004a8172
add esp, 4
jmp 0x4f0e17
mov dword [ebp - 0x454], 0x7a135c
push ecx
mov eax, esp
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x454]
mov dword [eax], 0x62a0a4
lea eax, [ebp - 0x444]
push eax
call fcn.00527e80
mov ecx, dword [edi + 0x1d4]
lea ebx, [edi + 0x1d4]
mov edx, dword [eax]
mov dword [ebx], edx
mov dword [eax], ecx
mov ecx, dword [ebp - 0x444]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f0e6c
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f0e6c
push ecx
call fcn.004a8172
add esp, 4
lea eax, [ebp - 0x444]
mov ecx, ebx
push eax
call fcn.00527c40
mov ecx, dword [ebp - 0x444]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f0e9e
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f0e9e
push ecx
call fcn.004a8172
add esp, 4
mov eax, dword [ebp - 0x44c]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea eax, [ebp - 0x444]
push eax
mov ecx, ebx
call fcn.00527e80
mov ecx, dword [ebx]
mov edx, dword [eax]
mov dword [ebx], edx
mov dword [eax], ecx
mov ecx, dword [ebp - 0x444]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f0ee3
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f0ee3
push ecx
call fcn.004a8172
add esp, 4
push str.create_download_task...
lea ecx, [ebp - 0x444]
call fcn.0041d340
add esp, 4
mov byte [ebp - 4], 0xd
mov ecx, dword [0x800f6c]
test ecx, ecx
je 0x4f0f12
lea eax, [ebp - 0x444]
push eax
call fcn.00521350
jmp 0x4f0f1d
lea ecx, [ebp - 0x444]
call fcn.004ffbb0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x444]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f0f45
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f0f45
push ecx
call fcn.004a8172
add esp, 4
mov edx, ebx
lea ecx, [ebp - 0x444]
call fcn.00418480
lea ecx, [ebp - 0x43c]
push ecx
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x4f0f77
mov ecx, dword [ebp - 0x420]
xor eax, eax
or eax, dword [ebp - 0x41c]
jmp 0x4f0f8e
xorps xmm0, xmm0
movlpd qword [ebp - 0x448], xmm0
mov ecx, dword [ebp - 0x444]
mov eax, dword [ebp - 0x448]
mov dword [edi + 0x1e0], eax
lea eax, [ebp - 0x444]
push ecx
mov dword [edi + 0x1e4], ecx
mov ecx, ebx
push eax
call fcn.00527bb0
lea ebx, [edi + 0x1d8]
cmp ebx, eax
je 0x4f0fcb
mov ecx, dword [eax]
mov dword [eax], 0
mov edx, dword [ebx]
mov dword [ebx], ecx
test edx, edx
je 0x4f0fcb
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov ecx, dword [ebp - 0x444]
test ecx, ecx
je 0x4f0fdb
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [ebx], 0
je 0x4f11f6
push 0xc
call fcn.004a7e6f
add esp, 4
mov dword [ebp - 0x444], eax
push 0
lea ecx, [ebp - 0x4d4]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, eax
call fcn.00528620
mov ecx, eax
mov byte [ebp - 4], 0xc
lea ebx, [edi + 0x1dc]
lea eax, [ebp - 0x444]
cmp ebx, eax
je 0x4f102c
mov edx, dword [ebx]
mov dword [ebx], ecx
test edx, edx
je 0x4f1036
mov eax, dword [edx]
mov ecx, edx
jmp 0x4f1032
test ecx, ecx
je 0x4f1036
mov eax, dword [ecx]
push 1
call dword [eax]
push str.Range:_bytes
lea ecx, [ebp - 0x450]
call fcn.0041d340
add esp, 4
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x450]
push dword [edi + 0x1e4]
push dword [edi + 0x1e0]
call fcn.00528780
push 0x62a0e0
mov ecx, eax
call fcn.00518bc0
mov ecx, dword [ebx]
lea eax, [ebp - 0x450]
push eax
call fcn.005285c0
mov eax, dword [eax + 4]
mov dword [eax + 0x5c], 0x7d0
mov ecx, dword [ebx]
cmp byte [ecx + 8], 0
je 0x4f109c
mov eax, dword [ecx + 4]
cmp dword [eax + 0x40], 0
setne al
jmp 0x4f10aa
mov byte [ecx + 8], 1
mov ecx, dword [ecx + 4]
push 0
call fcn.00415890
test al, al
je 0x4f11d2
mov ecx, dword [ebx]
call fcn.004fc730
push edx
lea ecx, [edi + 0x1e8]
push eax
call fcn.004055e0
mov ecx, dword [ebx]
add esp, 8
cmp byte [ecx + 8], 0
jne 0x4f10df
mov byte [ecx + 8], 1
mov ecx, dword [ecx + 4]
push 0
call fcn.00415890
lea ecx, [edi + 0x728]
push 0
call fcn.005fac60
push 0
lea ecx, [edi + 0x98]
call fcn.00512b10
lea ecx, [edi + 0x8b0]
push 0
call fcn.005fac60
mov eax, dword [edi + 0x200]
lea ecx, [edi + 0x200]
push 1
call dword [eax + 0x2c]
lea ecx, [edi + 0x1f8]
mov eax, 1
xchg dword [ecx], eax
push 0
push 0
lea ecx, [edi + 0x1e8]
mov dword [edi + 0xce8], 0
call fcn.004055e0
push 0
lea ecx, [edi + 0x1f0]
push 0
call fcn.004055e0
push 0
lea ecx, [edi + 0x298]
push 0
call fcn.004055e0
add esp, 0x18
lea ecx, [edi + 0x2a0]
call fcn.005289d0
push str.after_download_task__repaint__
lea ecx, [ebp - 0x444]
call fcn.0041d340
add esp, 4
mov byte [ebp - 4], 0x10
mov ecx, dword [0x800f6c]
test ecx, ecx
je 0x4f1198
lea eax, [ebp - 0x444]
push eax
call fcn.00521350
jmp 0x4f11a3
lea ecx, [ebp - 0x444]
call fcn.004ffbb0
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x444]
add edx, 0xfffffff8
cmp edx, 0x7a1354
je 0x4f11cb
mov eax, esi
lock xadd dword [edx], eax
test eax, eax
jne 0x4f11cb
push edx
call fcn.004a8172
add esp, 4
mov ecx, edi
call fcn.005faeb0
mov ecx, dword [ebp - 0x450]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f11f6
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f11f6
push ecx
call fcn.004a8172
add esp, 4
mov ecx, dword [ebp - 0x454]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f121a
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f121a
push ecx
call fcn.004a8172
add esp, 4
mov ecx, dword [ebp - 0x44c]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f123e
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f123e
push ecx
call fcn.004a8172
add esp, 4
mov ecx, dword [ebp - 0x45c]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4f1262
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4f1262
push ecx
call fcn.004a8172
add esp, 4
mov eax, dword [ebp - 0x458]
add eax, 0xfffffff8
cmp eax, 0x7a1354
je 0x4f1283
lock xadd dword [eax], esi
test esi, esi
jne 0x4f1283
push eax
call fcn.004a8172
add esp, 4
lea ecx, [ebp - 0x4d4]
call fcn.00401e20
lea ecx, [ebp - 0x4a0]
call fcn.00403500
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7e5e
mov esp, ebp
pop ebp
ret