Function at 0x1001d9c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x10081708]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x220], eax
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [eax]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x210], ecx
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x21c], esi
jne 0x1001da0c
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002bf51
mov esp, ebp
pop ebp
ret 0x10
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
push 0
push eax
call fcn.10037300
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [edi]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or ecx, eax
jge 0x1001da62
push 0x104
mov ecx, edi
call fcn.100035f0
mov edx, dword [edi]
cmp dword [edx - 8], 0x104
jl 0x1001dc83
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [edi]
push edx
push ecx
push str.taskbar
mov word [eax + 0x208], cx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [edi]
test eax, eax
jne 0x1001da9f
xor ecx, ecx
jmp 0x1001dab5
push dword [eax - 8]
push eax
call fcn.1003c752
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x1001dc83
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x1001dc83
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
push dword [edi]
call fcn.100059f0
mov ecx, dword [esi]
add esp, 4
test ecx, ecx
je 0x1001dae6
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esi], 0
mov eax, dword [0x10083514]
test eax, eax
jne 0x1001db66
push 0x100800a8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10083514], 0
jne 0x1001db56
push 0x1c
call fcn.1002bba2
mov ecx, eax
add esp, 4
mov dword [ebp - 0x218], ecx
test ecx, ecx
je 0x1001db48
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
jmp 0x1001db4a
xor ecx, ecx
xchg dword [ebp - 0x218], eax
mov dword [0x10083514], ecx
push 0x100800a8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x10083514]
mov ecx, dword [eax + 0xc]
push ebx
test ecx, ecx
je 0x1001db96
mov eax, dword [ecx]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x1001db98
mov eax, dword [ebx]
mov ecx, ebx
push 0
push str.ungzip
call dword [eax + 0x30]
mov eax, dword [ebx]
mov ecx, ebx
push 0
push str.gzip
call dword [eax + 0x30]
jmp 0x1001db98
xor ebx, ebx
mov dword [esi], ebx
test ebx, ebx
je 0x1001dc6a
mov eax, dword [ebp - 0x210]
mov ecx, ebx
mov esi, dword [ebx]
mov edx, eax
add eax, 0x24
neg edx
sbb edx, edx
and edx, eax
push edx
call dword [esi]
mov esi, dword [ebp - 0x21c]
push dword [edi]
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [esi]
mov esi, dword [ebp - 0x220]
mov eax, dword [ecx]
push dword [esi]
push 0
call dword [eax + 4]
push dword [edi]
mov dword [ebp - 0x214], eax
push dword [esi]
push str._Taskbar_Start_DownloadRes__strUrl_s_strFilePath_s
call fcn.100133d0
mov ecx, dword [ebp + 8]
add esp, 0xc
test ecx, ecx
jne 0x1001dc23
mov ecx, dword [ebp - 0x210]
push edi
mov ecx, dword [ecx + 0x48]
add ecx, 0x68
call fcn.10003980
mov eax, dword [ebp - 0x214]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002bf51
mov esp, ebp
pop ebp
ret 0x10
cmp ecx, 1
jne 0x1001dc53
mov ecx, dword [ebp - 0x210]
push edi
mov ecx, dword [ecx + 0x48]
add ecx, 0x6c
call fcn.10003980
mov eax, dword [ebp - 0x214]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002bf51
mov esp, ebp
pop ebp
ret 0x10
cmp ecx, 2
jne 0x1001dc6a
mov ecx, dword [ebp - 0x210]
push edi
mov ecx, dword [ecx + 0x48]
add ecx, 0x70
call fcn.10003980
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x214]
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.1002bf51
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.100031a0
int3