Function at 0x100101f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026138
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100365e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
push 0x1002eb64
add eax, 0xcc
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.10004320
add esp, 0xc
mov edx, dword [ebp - 0x220]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
mov dword [ebp - 4], 0
or ecx, eax
jge 0x1001026a
push 0
lea ecx, [ebp - 0x220]
call fcn.10001470
mov edx, dword [ebp - 0x220]
push 1
push edx
call fcn.10010dd0
mov edx, dword [esi]
add esp, 8
cmp dword [edx + 0xd0], 0
je 0x100102e1
lea ecx, [ebp - 0x21c]
call fcn.1000b2a0
mov eax, dword [esi]
mov eax, dword [eax + 0xcc]
push ecx
sub eax, 0x10
mov dword [ebp - 0x228], esp
mov edi, esp
push eax
call fcn.10001280
add eax, 0x10
add esp, 4
mov dword [edi], eax
push 0x621f
lea ecx, [esi + 4]
mov byte [ebp - 4], 1
call fcn.1000df60
push ecx
mov ecx, esp
mov dword [ebp - 0x224], esp
push eax
call fcn.10002700
push 0x80000001
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0
call fcn.1000b980
mov eax, dword [0x10036554]
mov edx, dword [eax + 0xc]
mov ecx, 0x10036554
call edx
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov eax, 0x1002ea62
mov byte [ebp - 4], 2
test eax, 0xffff0000
jne 0x1001032c
mov ecx, eax
movzx edi, cx
push 0
push edi
call fcn.10001090
add esp, 8
test eax, eax
je 0x1001033c
push edi
push eax
lea ecx, [ebp - 0x21c]
call fcn.10001a30
jmp 0x1001033c
push 0x1002ea62
lea ecx, [ebp - 0x21c]
call fcn.100017c0
push 0
push 0x10
lea edx, [ebp - 0x218]
push edx
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
js 0x1001045e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x228]
call fcn.10002700
push 0x1002eb7c
push eax
lea ecx, [ebp - 0x224]
push ecx
mov byte [ebp - 4], 4
call fcn.10004320
mov edx, dword [esi]
add edx, 0xcc
push edx
push eax
lea eax, [ebp - 0x22c]
push eax
mov byte [ebp - 4], 5
call fcn.10001c40
push str..lnk
push eax
lea ecx, [ebp - 0x234]
push ecx
mov byte [ebp - 4], 6
call fcn.10004320
add esp, 0x24
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 7
call fcn.10001d00
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100103ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10010412
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10010438
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001045e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x21c]
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x230], esp
mov edi, esp
push esi
call fcn.10001280
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.10011070
add esp, 4
test al, al
je 0x100104ab
push 1
push ecx
mov dword [ebp - 0x230], esp
mov edi, esp
push esi
call fcn.10001280
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.100110c0
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100104c8
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100104f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012e4f
mov esp, ebp
pop ebp
ret 4