Function at 0x1001d9b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100816f8]
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 0x1001d9fc
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002be91
mov esp, ebp
pop ebp
ret 0x10
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
push 0
push eax
call fcn.10037240
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 0x1001da52
push 0x104
mov ecx, edi
call fcn.100035f0
mov edx, dword [edi]
cmp dword [edx - 8], 0x104
jl 0x1001dc73
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 0x1001da8f
xor ecx, ecx
jmp 0x1001daa5
push dword [eax - 8]
push eax
call fcn.1003c692
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x1001dc73
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x1001dc73
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 0x1001dad6
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esi], 0
mov eax, dword [0x10083504]
test eax, eax
jne 0x1001db56
push 0x100800a8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10083504], 0
jne 0x1001db46
push 0x1c
call fcn.1002bae2
mov ecx, eax
add esp, 4
mov dword [ebp - 0x218], ecx
test ecx, ecx
je 0x1001db38
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 0x1001db3a
xor ecx, ecx
xchg dword [ebp - 0x218], eax
mov dword [0x10083504], ecx
push 0x100800a8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x10083504]
mov ecx, dword [eax + 0xc]
push ebx
test ecx, ecx
je 0x1001db86
mov eax, dword [ecx]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x1001db88
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 0x1001db88
xor ebx, ebx
mov dword [esi], ebx
test ebx, ebx
je 0x1001dc5a
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 0x1001dc13
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.1002be91
mov esp, ebp
pop ebp
ret 0x10
cmp ecx, 1
jne 0x1001dc43
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.1002be91
mov esp, ebp
pop ebp
ret 0x10
cmp ecx, 2
jne 0x1001dc5a
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.1002be91
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.100031a0
int3