Function at 0x1002eb20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8bac
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x100d5688]
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 dword [ebp - 0x24c], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x258], eax
mov eax, dword [eax]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x25c], ebx
cmp dword [eax - 0xc], 0
jne 0x1002eb7e
xor eax, eax
jmp 0x1002ee6c
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x254], 0
push 0
push eax
call fcn.1007f220
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [ebx]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x1002ebd4
push 0x104
mov ecx, ebx
call fcn.10007ab0
mov edx, dword [ebx]
cmp dword [edx - 8], 0x104
jl 0x1002ee8a
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [ebx]
push edx
push ecx
push str.taskbar
mov word [eax + 0x208], cx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [ebx]
test eax, eax
jne 0x1002ec11
xor ecx, ecx
jmp 0x1002ec27
push dword [eax - 8]
push eax
call fcn.10085bc2
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x1002ee8a
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x1002ee8a
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
push dword [ebx]
call fcn.1000b730
mov ecx, dword [esi]
add esp, 4
test ecx, ecx
je 0x1002ec58
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esi], 0
call fcn.1001dbe0
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1002ec8c
mov eax, dword [ecx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x1002ec8e
mov eax, dword [edi]
mov ecx, edi
push 0
push str.ungzip
call dword [eax + 0x30]
mov eax, dword [edi]
mov ecx, edi
push 0
push str.gzip
call dword [eax + 0x30]
jmp 0x1002ec8e
xor edi, edi
mov dword [esi], edi
test edi, edi
je 0x1002ee66
mov eax, dword [ebp - 0x24c]
mov ecx, edi
mov esi, dword [edi]
mov edx, eax
add eax, 0x24
neg edx
sbb edx, edx
and edx, eax
push edx
call dword [esi]
mov esi, dword [ebp - 0x250]
push dword [ebx]
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [esi]
mov esi, dword [ebp - 0x258]
mov eax, dword [ecx]
push dword [esi]
push 0
call dword [eax + 4]
mov dword [ebp - 0x254], eax
call fcn.100079d0
mov ecx, eax
test ecx, ecx
je 0x1002ee94
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x250], eax
push dword [ebx]
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 0
push dword [esi]
push str._Taskbar_Start_DownloadRes__strUrl_s_strFilePath_s
push eax
call fcn.100078e0
add esp, 0x10
call fcn.1005dde0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov esi, dword [ebp - 0x250]
movzx eax, al
sub eax, 1
jne 0x1002ee08
push 4
push str.FILE
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000c680
push 3
push 0x100aea94
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000c680
mov byte [ebp - 4], 2
call fcn.1005dde0
mov ebx, eax
lea ecx, [ebp - 0x2f4]
push 0xd0
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10009a70
mov edi, eax
test esi, esi
mov byte [ebp - 4], 3
mov ecx, 0x100ae9e4
cmovne ecx, esi
push ecx
push edi
call fcn.100092f0
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2f4]
call fcn.1000a930
lea ecx, [ebp - 0x230]
call fcn.100074f0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.100074f0
mov ebx, dword [ebp - 0x25c]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1002ee1d
mov ecx, dword [ebp - 0x24c]
mov ecx, dword [ecx + 0x48]
add ecx, 0x6c
jmp 0x1002ee41
cmp eax, 1
jne 0x1002ee30
mov ecx, dword [ebp - 0x24c]
mov ecx, dword [ecx + 0x48]
add ecx, 0x70
jmp 0x1002ee41
cmp eax, 2
jne 0x1002ee47
mov ecx, dword [ebp - 0x24c]
mov ecx, dword [ecx + 0x48]
add ecx, 0x74
push ebx
call fcn.10007e40
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1002ee66
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x254]
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.1005f06c
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.10007660
push 0x80004005
call fcn.10007660
int3