Function at 0x1002cac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008967c
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x100bb758]
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 0x1002cb1e
xor eax, eax
jmp 0x1002ce0c
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x254], 0
push 0
push eax
call fcn.100609f0
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 0x1002cb74
push 0x104
mov ecx, ebx
call fcn.10006510
mov edx, dword [ebx]
cmp dword [edx - 8], 0x104
jl 0x1002ce2a
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 0x1002cbb1
xor ecx, ecx
jmp 0x1002cbc7
push dword [eax - 8]
push eax
call fcn.10066e82
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x1002ce2a
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x1002ce2a
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
push dword [ebx]
call fcn.1000a060
mov ecx, dword [esi]
add esp, 4
test ecx, ecx
je 0x1002cbf8
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esi], 0
call fcn.1001bf30
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1002cc2c
mov eax, dword [ecx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x1002cc2e
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 0x1002cc2e
xor edi, edi
mov dword [esi], edi
test edi, edi
je 0x1002ce06
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.10006430
mov ecx, eax
test ecx, ecx
je 0x1002ce34
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.10006340
add esp, 0x10
call fcn.10054f50
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 0x1002cda8
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.1000afb0
push 3
push 0x1008ea34
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.1000afb0
mov byte [ebp - 4], 2
call fcn.10054f50
mov ebx, eax
lea ecx, [ebp - 0x2f4]
push 0xcc
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100083a0
mov edi, eax
test esi, esi
mov byte [ebp - 4], 3
mov ecx, 0x1008e984
cmovne ecx, esi
push ecx
push edi
call fcn.10007c20
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2f4]
call fcn.10009260
lea ecx, [ebp - 0x230]
call fcn.10005f50
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.10005f50
mov ebx, dword [ebp - 0x25c]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1002cdbd
mov ecx, dword [ebp - 0x24c]
mov ecx, dword [ecx + 0x48]
add ecx, 0x6c
jmp 0x1002cde1
cmp eax, 1
jne 0x1002cdd0
mov ecx, dword [ebp - 0x24c]
mov ecx, dword [ecx + 0x48]
add ecx, 0x70
jmp 0x1002cde1
cmp eax, 2
jne 0x1002cde7
mov ecx, dword [ebp - 0x24c]
mov ecx, dword [ecx + 0x48]
add ecx, 0x74
push ebx
call fcn.100068a0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1002ce06
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.100561dc
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.100060c0
push 0x80004005
call fcn.100060c0
int3