Function at 0x10091eb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022a82a
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x102db080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x27c], edi
xor eax, eax
mov dword [ebp - 0x270], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 0x270], 1
mov dword [ebp - 4], 3
call fcn.10088a70
mov ecx, eax
test ecx, ecx
je 0x1009254a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, 1
mov byte [ebp - 4], 2
mov dword [ebp - 0x270], 3
sub ecx, dword [eax + 0xc]
lea esi, [eax + 0x10]
mov eax, dword [eax + 8]
sub eax, 0x104
mov dword [ebp - 0x26c], esi
or eax, ecx
jge 0x10091f83
push 0x104
lea ecx, [ebp - 0x26c]
call fcn.10087d30
mov esi, dword [ebp - 0x26c]
mov eax, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x8023
push 0
mov dword [ebp - 0x268], eax
call eax
test esi, esi
jne 0x10091fa4
xor eax, eax
jmp 0x10091fb9
push dword [esi - 8]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x10092554
cmp eax, dword [esi - 8]
jg 0x10092554
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
jne 0x1009203b
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x10091ffa
push 0x104
lea ecx, [ebp - 0x26c]
call fcn.10087d30
mov esi, dword [ebp - 0x26c]
push esi
push 0
push 0
push 0x8005
push 0
call dword [ebp - 0x268]
test esi, esi
jne 0x10092014
xor eax, eax
jmp 0x10092029
push dword [esi - 8]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
test eax, eax
js 0x10092554
cmp eax, dword [esi - 8]
jg 0x10092554
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, esi
mov dword [ebp - 0x23c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0
movups xmmword [ebp - 0x24c], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10092060
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x24c]
call fcn.100895c0
mov dword [ebp - 0x270], 1
mov byte [ebp - 4], 5
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100920a5
lfence
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x238], 7
lea eax, [ebp - 0x24c]
cmova eax, dword [ebp - 0x24c]
push eax
call fcn.100b7410
add esp, 4
test al, al
je 0x1009229f
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x24
push 0
call dword [ebp - 0x268]
xorps xmm0, xmm0
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x264], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10092120
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.100895c0
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 6
push eax
call fcn.100acf00
mov ecx, dword [ebp - 0x250]
mov esi, eax
add esp, 4
mov dword [ebp - 0x224], 0
cmp ecx, 7
mov dword [ebp - 0x220], 0
lea eax, [ebp - 0x264]
xorps xmm0, xmm0
cmova eax, dword [ebp - 0x264]
movups xmmword [ebp - 0x234], xmm0
lea esi, [eax + esi*2]
lea eax, [esi + edx*2]
cmp esi, eax
jne 0x100921aa
xor eax, eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
jmp 0x100921bd
push edx
push esi
lea ecx, [ebp - 0x234]
call fcn.100895c0
mov ecx, dword [ebp - 0x250]
mov eax, dword [ebp - 0x238]
mov esi, 9
mov dword [ebp - 0x270], esi
cmp eax, 7
jbe 0x1009220e
mov edx, dword [ebp - 0x24c]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100921fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10092279
push ecx
push edx
call fcn.100b9c1b
mov ecx, dword [ebp - 0x250]
add esp, 8
movups xmm0, xmmword [ebp - 0x234]
xor eax, eax
mov byte [ebp - 4], 5
mov word [ebp - 0x234], ax
movups xmmword [ebp - 0x24c], xmm0
movq xmm0, qword [ebp - 0x224]
movq qword [ebp - 0x23c], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
cmp ecx, 7
jbe 0x10092289
mov edx, dword [ebp - 0x264]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009227f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009227f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b9c1b
add esp, 8
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
jmp 0x100922a4
mov esi, 1
push 0x102363de
lea eax, [ebp - 0x24c]
push 0x102363d4
push eax
call fcn.100abc40
add esp, 0xc
mov dword [ebp - 0x224], 0
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x234]
movups xmmword [ebp - 0x234], xmm0
push 0xe
push str.download_cache
call fcn.100895c0
or esi, 4
mov dword [ebp - 0x270], esi
cmp dword [ebp - 0x220], 7
lea ecx, [ebp - 0x234]
mov eax, dword [ebp - 0x224]
cmova ecx, dword [ebp - 0x234]
mov byte [ebp - 4], 7
lea ecx, [ecx + eax*2]
lea eax, [ebp - 0x234]
cmova eax, dword [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.100abc40
mov ecx, dword [ebp - 0x220]
add esp, 0xc
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x1009237b
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10092371
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10092371
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b9c1b
add esp, 8
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
cmp edi, eax
je 0x100924dc
cmp dword [ebp - 0x238], 7
mov edx, dword [edi + 0x14]
cmova eax, dword [ebp - 0x24c]
mov esi, dword [ebp - 0x23c]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x278], edx
cmp esi, edx
ja 0x10092400
mov dword [ebp - 0x268], edi
mov ecx, edi
cmp edx, 7
jbe 0x100923d9
mov ecx, dword [edi]
mov dword [ebp - 0x268], ecx
lea eax, [esi + esi]
mov dword [edi + 0x10], esi
push eax
push dword [ebp - 0x26c]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x268]
add esp, 0xc
xor ecx, ecx
mov word [eax + esi*2], cx
jmp 0x100924dc
cmp esi, 0x7ffffffe
ja 0x1009255e
mov ecx, esi
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x10092420
mov ecx, 0x7ffffffe
jmp 0x1009244d
mov eax, edx
shr eax, 1
mov dword [ebp - 0x268], eax
mov eax, 0x7ffffffe
sub eax, dword [ebp - 0x268]
cmp edx, eax
jbe 0x10092440
mov ecx, 0x7ffffffe
jmp 0x1009244d
mov eax, dword [ebp - 0x268]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], ecx
push eax
push edi
call fcn.1008a040
add esp, 8
mov dword [edi + 0x10], esi
add esi, esi
mov ecx, eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x274], ecx
push esi
push dword [ebp - 0x26c]
mov dword [edi + 0x14], eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x274]
xor eax, eax
add esp, 0xc
mov word [esi + ecx], ax
mov eax, dword [ebp - 0x278]
cmp eax, 7
jbe 0x100924da
lea ecx, [eax*2 + 2]
mov eax, dword [edi]
cmp ecx, 0x1000
jb 0x100924c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009250e
mov eax, edx
push ecx
push eax
lfence
call fcn.100b9c1b
mov eax, dword [ebp - 0x274]
add esp, 8
mov dword [edi], eax
jmp 0x100924dc
mov dword [edi], ecx
mov ecx, dword [ebp - 0x238]
cmp ecx, 7
jbe 0x1009252c
mov edx, dword [ebp - 0x24c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10092514
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10092514
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b9c1b
add esp, 8
jmp 0x1009252c
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b9f43
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10088c90
push 0x80070057
call fcn.10088c90
call fcn.10089b30
int3