Function at 0x1000f730
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1001e1db
push eax
mov al, byte [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x21c
neg al
sbb eax, eax
push esi
and al, 0xf9
push 1
add eax, 0x23
xor esi, esi
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x1000f786
xor al, al
pop esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
add esp, 0x228
ret
lea ecx, [esp + 0x14]
push 0x105
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x1000f7b7
xor al, al
pop esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
add esp, 0x228
ret
lea eax, [esp + 0x14]
push eax
call fcn.100125b7
add esp, 4
cmp eax, esi
jbe 0x1000f7e2
cmp word [esp + eax*2 + 0x12], 0x5c
je 0x1000f7e2
lea ecx, [esp + 0x14]
push 0x10024354
push ecx
call fcn.10012e41
add esp, 8
push ebx
push ebp
push edi
lea edx, [esp + 0x20]
push 0x10052aa4
push edx
call fcn.10012e41
lea eax, [esp + 0x28]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.10011aa0
add esp, 0x10
mov edi, eax
mov ecx, dword [edi + 8]
mov eax, dword [0x1001f2cc]
mov ebx, ecx
mov dword [esp + 0x234], esi
cmp eax, ebx
jae 0x1000f81f
mov ebx, eax
mov ebp, dword [esp + 0x23c]
cmp ebp, edi
jne 0x1000f88c
mov esi, eax
mov eax, dword [ebp + 8]
cmp eax, ebx
jae 0x1000f838
call fcn.10011fb7
mov ecx, ebp
call fcn.10003710
mov eax, dword [ebp + 8]
sub eax, ebx
cmp eax, esi
jae 0x1000f84a
mov esi, eax
test esi, esi
jbe 0x1000f87f
mov edx, dword [ebp + 4]
sub eax, esi
push eax
lea ecx, [edx + ebx]
lea edx, [ecx + esi]
push edx
push ecx
call fcn.10012f00
mov edi, dword [ebp + 8]
add esp, 0xc
sub edi, esi
mov ecx, ebp
push 0
push edi
call fcn.10001e50
test al, al
je 0x1000f87f
push edi
mov ecx, ebp
call fcn.10001e30
push 0
push 0
mov ecx, ebp
call fcn.10010700
jmp 0x1000f90b
cmp ebx, esi
jbe 0x1000f8d4
cmp ebx, ecx
jne 0x1000f8d4
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x1000f8a0
mov eax, 0x1001f2c0
cmp byte [eax - 1], 0xfe
jae 0x1000f8d4
push 1
mov ecx, ebp
call fcn.10001ba0
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x1000f8bb
mov eax, 0x1001f2c0
mov dword [ebp + 4], eax
mov ecx, dword [edi + 8]
mov dword [ebp + 8], ecx
mov edi, dword [edi + 0xc]
mov dword [ebp + 0xc], edi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x1000f90d
push 1
push ebx
mov ecx, ebp
call fcn.10001e50
test al, al
je 0x1000f90d
mov edi, dword [edi + 4]
cmp edi, esi
mov esi, 0x1001f2c0
je 0x1000f8f0
mov esi, edi
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.10001e30
xor esi, esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x234], 0xffffffff
cmp eax, esi
je 0x1000f93d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x1000f934
cmp al, 0xff
je 0x1000f934
dec al
mov byte [ecx], al
jmp 0x1000f93d
push ecx
call fcn.10011d80
add esp, 4
push ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.1000e980
mov ecx, dword [esp + 0x230]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x228
ret