Function at 0x10023da0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcd63
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x258
mov eax, dword [0x100fc03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x230], 0
mov eax, dword [0x100ff120]
test al, 1
jne 0x10023e3d
or eax, 1
mov dword [0x100ff120], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [0x100ff134], 0
mov dword [0x100ff138], 7
mov word [0x100ff124], ax
push 0x100ca100
mov byte [ebp - 4], al
call fcn.10089343
add esp, 4
mov ecx, 0x100ff124
call fcn.10002ca0
test eax, eax
jne 0x100240cc
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.1008bb90
add esp, 0xc
lea ecx, [ebp - 0x224]
xor esi, esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x224], esi
call fcn.100061a0
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.10007060
lea ecx, [ebp - 0x224]
test al, al
jne 0x10023eb1
mov byte [ebp - 4], al
call fcn.10006220
jmp 0x10023f0b
call fcn.10006ac0
test al, al
jne 0x10023eca
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], al
call fcn.10006220
jmp 0x10023f0b
lea eax, [ebp - 0x220]
push eax
push 1
push dword [ebp - 0x228]
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
mov ecx, 1
cmove esi, ecx
lea ecx, [ebp - 0x224]
call fcn.10006dc0
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0
call fcn.10006220
test esi, esi
jne 0x10023f1e
push 0
push 0x1a
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10023f60
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.10002eb0
push 0x100dfdf0
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.100060b0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 4
cmp esi, 0x100ff124
je 0x10023fe6
mov ecx, 0x100ff124
call fcn.10002d10
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x100ff124], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x100ff134], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x1002402a
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10024020
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024109
push edx
push ecx
call fcn.10088fde
add esp, 8
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
mov dword [ebp - 4], 9
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x1002408e
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10024084
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002410e
push edx
push ecx
call fcn.10088fde
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
push 0x100ff124
mov byte [ebp - 4], al
call fcn.1000bf00
add esp, 4
test al, al
jne 0x100240cc
push 0x100ff124
call fcn.1000c790
add esp, 4
push 0x100ff124
mov ecx, edi
call fcn.10002dc0
mov dword [ebp - 4], 0
mov dword [ebp - 0x230], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10088f98
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100907c4
call fcn.100907c4
int3