Function at 0x49af30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4cea1c
mov eax, dword fs:[0]
push eax
sub esp, 0x898
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0x890], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x8ac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8bc]
xor edi, edi
push 0x800
lea eax, [esp + 0xa2]
push edi
push eax
mov dword [esp + 0x38], ebp
mov word [esp + 0xa8], di
call fcn.004b0720
add esp, 0xc
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], edi
mov word [esp + 0x84], di
lea esi, [ebp + 0x1c]
push esi
push str.DownloadProxy.Downloader.1
mov dword [esp + 0x8bc], edi
call dword [0x4d5544]
mov edx, dword [esi]
lea ecx, [esp + 0x9c]
push ecx
mov ecx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esi + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.0049b450
test eax, eax
jne 0x49afff
cmp dword [esp + 0x98], 8
jmp 0x49b40e
lea eax, [esp + 0x9c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x49b010
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xa0]
push eax
lea esi, [esp + 0x88]
call fcn.00406fb0
push 1
mov eax, esi
call fcn.0049c100
xor ebx, ebx
call fcn.004077c0
lea edi, [ebx + 1]
mov ebx, esi
call fcn.0049c190
mov ebx, eax
add ebx, edi
or eax, 0xffffffff
call fcn.004077c0
lea ebx, [esp + 0x40]
mov edi, esi
call fcn.004278f0
mov ecx, dword [eax + 4]
mov esi, dword [eax]
lea ebx, [esp + 0x30]
mov dword [esp + 0x20], ecx
call fcn.0049b910
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ebx, [esp + 0x38]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.004278f0
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 4]
push edx
mov dword [esp + 0x18], ecx
push esi
mov byte [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push ecx
lea edx, [esp + 0x30]
push edx
mov ebx, eax
call fcn.0049cde0
add esp, 0x18
cmp dword [ebp + 0x122c], 0
jne 0x49b189
push 0x400
lea eax, [esp + 0xa0]
push 0
push eax
call fcn.004b0720
add esp, 0xc
push 0
push 0x2b
lea ecx, [esp + 0xa4]
push ecx
push 0
call dword [0x4d5358]
test eax, eax
je 0x49b189
lea eax, [esp + 0x9c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49b110
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xa0]
lea edi, [ebp + 0x1218]
push edx
mov esi, edi
call fcn.00406fb0
push 0x13
push str.TencentQQDownload
mov ecx, edi
call fcn.00420b60
lea ebx, [esp + 0x38]
call fcn.004278f0
lea ebx, [esp + 0x30]
mov esi, eax
call fcn.0049b910
lea ebx, [esp + 0x40]
mov dword [esp + 0x14], eax
call fcn.004278f0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea esi, [esp + 0x34]
call fcn.0049cd10
add esp, 0x18
cmp dword [ebp + 0x1210], 0
jne 0x49b357
push 0x400
lea ecx, [esp + 0xa0]
push 0
push ecx
call fcn.004b0720
add esp, 0xc
push 0x400
lea edx, [esp + 0xa0]
push edx
push 0
call dword [0x4d5290]
lea eax, [esp + 0x9c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49b1d0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xa0]
add ebp, 0x11fc
push eax
mov esi, ebp
call fcn.00406fb0
push ebp
mov edi, 1
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], 0x5c
call fcn.00427940
cmp eax, 0xffffffff
je 0x49b24f
push eax
push ebp
xor ecx, ecx
lea esi, [esp + 0x50]
call fcn.00420a60
push 0xffffffffffffffff
xor ebx, ebx
push ebx
mov ecx, ebp
mov byte [esp + 0x8bc], 1
call fcn.00407340
mov byte [esp + 0x8b4], bl
cmp dword [esp + 0x60], 8
jb 0x49b251
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004a91d0
add esp, 4
jmp 0x49b251
xor ebx, ebx
push 1
push 0x4e35b4
lea esi, [esp + 0x6c]
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
call fcn.00406fb0
mov edx, dword [esp + 0x2c]
add edx, 0x30
push edx
mov eax, esi
push eax
lea edi, [esp + 0x50]
mov byte [esp + 0x8bc], 2
call fcn.00420da0
add esp, 8
push ebx
push eax
or eax, 0xffffffff
mov esi, ebp
mov byte [esp + 0x8bc], 3
call fcn.00420c30
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x49b2c3
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004a91d0
add esp, 4
mov byte [esp + 0x8b4], bl
cmp dword [esp + 0x7c], esi
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
jb 0x49b2ee
mov edx, dword [esp + 0x68]
push edx
call fcn.004a91d0
add esp, 4
lea ebx, [esp + 0x38]
mov edi, ebp
call fcn.004278f0
mov esi, dword [eax]
mov eax, dword [eax + 4]
lea ebx, [esp + 0x30]
mov dword [esp + 0x20], eax
call fcn.0049b910
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea ebx, [esp + 0x40]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
call fcn.004278f0
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 4]
push edx
mov dword [esp + 0x18], ecx
push esi
mov byte [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push ecx
lea edx, [esp + 0x30]
push edx
mov ebx, eax
call fcn.0049cde0
mov ebp, dword [esp + 0x44]
add esp, 0x18
cmp dword [ebp + 0x122c], 0
mov esi, 8
je 0x49b3b3
cmp dword [ebp + 0x1230], esi
mov ebx, dword [ebp + 0x122c]
jb 0x49b37b
mov eax, dword [ebp + 0x121c]
jmp 0x49b381
lea eax, [ebp + 0x121c]
push eax
lea eax, [esp + 0x84]
call fcn.00420a90
cmp eax, 0xffffffff
je 0x49b3b3
cmp dword [esp + 0x98], esi
jb 0x49b3ac
mov eax, dword [esp + 0x84]
push eax
call fcn.004a91d0
add esp, 4
mov eax, 1
jmp 0x49b422
cmp dword [ebp + 0x1214], esi
mov edi, dword [ebp + 0x1210]
jb 0x49b3c9
mov ebp, dword [ebp + 0x1200]
jmp 0x49b3cf
add ebp, 0x1200
mov eax, dword [esp + 0x94]
push ebp
lea ecx, [esp + 0x84]
call fcn.00498d10
test eax, eax
jne 0x49b407
cmp dword [esp + 0x98], esi
jb 0x49b3ac
mov ecx, dword [esp + 0x84]
push ecx
call fcn.004a91d0
add esp, 4
mov eax, 1
jmp 0x49b422
cmp dword [esp + 0x98], esi
jb 0x49b420
mov edx, dword [esp + 0x84]
push edx
call fcn.004a91d0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x8ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x890]
xor ecx, esp
call fcn.004a91d5
add esp, 0x8a4
ret 4