Function at 0x424580
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44030c
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x44e2d0]
xor eax, esp
mov dword [esp + 0x880], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44e2d0]
xor eax, esp
push eax
lea eax, [esp + 0x89c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8ac]
xor edi, edi
push 0x800
lea eax, [esp + 0x92]
push edi
push eax
mov dword [esp + 0x28], ebp
mov word [esp + 0x98], di
call fcn.004307b0
add esp, 0xc
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], edi
mov word [esp + 0x74], di
lea esi, [ebp + 0x1c]
push esi
push str.DownloadProxy.Downloader.1
mov dword [esp + 0x8ac], edi
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
mov edx, dword [esi]
lea ecx, [esp + 0x8c]
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.00424b10
test eax, eax
jne 0x424657
cmp dword [esp + 0x88], 8
jb 0x424ae1
mov edx, dword [esp + 0x74]
push edx
jmp 0x424ad9
lea eax, [esp + 0x8c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x424661
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90]
push eax
lea esi, [esp + 0x78]
call fcn.00412f00
push 1
mov eax, esi
call fcn.00425d80
xor ebx, ebx
call fcn.004131f0
mov edi, 1
mov ebx, esi
call fcn.00425e10
mov ebx, eax
add ebx, edi
or eax, 0xffffffff
call fcn.004131f0
mov ecx, dword [esp + 0x88]
cmp ecx, 8
mov edx, dword [esp + 0x74]
jb 0x42492a
test edx, edx
mov edi, edx
mov dword [esp + 0x14], edi
je 0x4246f0
cmp ecx, 8
mov eax, edx
jae 0x4246d3
lea eax, [esp + 0x74]
cmp eax, edi
ja 0x4246f0
cmp ecx, 8
mov eax, edx
jae 0x4246e2
lea eax, [esp + 0x74]
mov esi, dword [esp + 0x84]
lea eax, [eax + esi*2]
cmp edi, eax
jbe 0x424707
call fcn.0042931e
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x84]
cmp ecx, 8
mov eax, edx
jae 0x424712
lea eax, [esp + 0x74]
lea edi, [eax + esi*2]
test edi, edi
je 0x42473a
cmp ecx, 8
mov eax, edx
jae 0x424724
lea eax, [esp + 0x74]
cmp eax, edi
ja 0x42473a
cmp ecx, 8
mov eax, edx
jae 0x424733
lea eax, [esp + 0x74]
lea eax, [eax + esi*2]
cmp edi, eax
jbe 0x42474a
call fcn.0042931e
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x74]
cmp ecx, 8
lea ebx, [esp + 0x70]
jb 0x424939
test edx, edx
mov esi, edx
je 0x424785
cmp ecx, 8
mov eax, edx
jae 0x424768
lea eax, [esp + 0x74]
cmp eax, esi
ja 0x424785
cmp ecx, 8
mov eax, edx
jae 0x424777
lea eax, [esp + 0x74]
mov ecx, dword [esp + 0x84]
lea edx, [eax + ecx*2]
cmp esi, edx
jbe 0x42478a
call fcn.0042931e
mov ecx, dword [esp + 0x14]
push ecx
lea eax, [esp + 0x74]
mov ecx, eax
push ecx
push edi
push ebx
push esi
push eax
lea eax, [esp + 0x2c]
call fcn.004277d0
add esp, 0x18
cmp dword [ebp + 0x1234], 0
jne 0x424868
push 0x400
lea edx, [esp + 0x90]
push 0
push edx
call fcn.004307b0
add esp, 0xc
push 0
push 0x2b
lea eax, [esp + 0x94]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x424868
lea eax, [esp + 0x8c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4247f0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x90]
lea edi, [ebp + 0x1220]
push ecx
mov esi, edi
call fcn.00412f00
push 0x13
push str.TencentQQDownload
mov ecx, edi
call fcn.0041b8a0
lea ebx, [esp + 0x14]
call fcn.004250a0
lea ebx, [esp + 0x60]
mov esi, eax
call fcn.004250f0
lea ebx, [esp + 0x68]
mov ebp, eax
call fcn.004250a0
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
mov edx, dword [ebp + 4]
push ecx
mov ecx, dword [ebp]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea eax, [esp + 0x54]
call fcn.004277d0
mov ebp, dword [esp + 0x34]
add esp, 0x18
cmp dword [ebp + 0x1218], 0
jne 0x424a27
push 0x400
lea ecx, [esp + 0x90]
push 0
push ecx
call fcn.004307b0
add esp, 0xc
push 0x400
lea edx, [esp + 0x90]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x8c]
lea edx, [eax + 2]
jmp 0x4248b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4248b0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90]
add ebp, 0x1204
push eax
mov esi, ebp
call fcn.00412f00
lea edi, [esp + 0x14]
mov ebx, ebp
mov dword [esp + 0x14], 0x5c
call fcn.0041ac80
cmp eax, 0xffffffff
je 0x424942
push ebp
mov ecx, eax
lea esi, [esp + 0x24]
call fcn.0041ac50
push 0xffffffffffffffff
xor ebx, ebx
push ebx
mov ecx, ebp
mov byte [esp + 0x8ac], 1
call fcn.00413000
mov byte [esp + 0x8a4], bl
cmp dword [esp + 0x38], 8
jb 0x424944
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004293c2
add esp, 4
jmp 0x424944
lea eax, [esp + 0x74]
mov dword [esp + 0x14], eax
mov edi, eax
jmp 0x4246c8
lea esi, [esp + 0x74]
jmp 0x42475d
xor ebx, ebx
push 1
push 0x44728c
lea esi, [esp + 0x4c]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
call fcn.00412f00
mov edx, dword [esp + 0x1c]
add edx, 0x30
push edx
mov eax, esi
push eax
lea edi, [esp + 0x28]
mov byte [esp + 0x8ac], 2
call fcn.00421e90
add esp, 8
push ebx
push eax
or eax, 0xffffffff
mov esi, ebp
mov byte [esp + 0x8ac], 3
call fcn.0041b710
mov esi, 8
cmp dword [esp + 0x38], esi
jb 0x4249b0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004293c2
add esp, 4
mov byte [esp + 0x8a4], bl
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x4249db
mov edx, dword [esp + 0x48]
push edx
call fcn.004293c2
add esp, 4
lea ebx, [esp + 0x3c]
mov edi, ebp
call fcn.004250a0
lea ebx, [esp + 0x68]
mov esi, eax
call fcn.004250f0
lea ebx, [esp + 0x60]
mov dword [esp + 0x14], eax
call fcn.004250a0
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 eax, [esp + 0x2c]
call fcn.004277d0
mov ebp, dword [esp + 0x34]
add esp, 0x18
cmp dword [ebp + 0x1234], 0
mov esi, 8
je 0x424a7d
cmp dword [ebp + 0x1238], esi
mov ebx, dword [ebp + 0x1234]
jb 0x424a4b
mov eax, dword [ebp + 0x1224]
jmp 0x424a51
lea eax, [ebp + 0x1224]
push eax
lea eax, [esp + 0x74]
call fcn.00425c20
cmp eax, 0xffffffff
je 0x424a7d
cmp dword [esp + 0x88], esi
jb 0x424a76
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004293c2
add esp, 4
mov eax, 1
jmp 0x424ae3
cmp dword [ebp + 0x121c], esi
mov edi, dword [ebp + 0x1218]
jb 0x424a93
mov eax, dword [ebp + 0x1208]
jmp 0x424a99
lea eax, [ebp + 0x1208]
push eax
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x74]
call fcn.00421fa0
test eax, eax
jne 0x424acb
cmp dword [esp + 0x88], esi
jb 0x424a76
mov edx, dword [esp + 0x74]
push edx
call fcn.004293c2
add esp, 4
mov eax, 1
jmp 0x424ae3
cmp dword [esp + 0x88], esi
jb 0x424ae1
mov eax, dword [esp + 0x74]
push eax
call fcn.004293c2
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x89c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x880]
xor ecx, esp
call fcn.0042877c
add esp, 0x894
ret 4