Function at 0x100231b0
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 0x100bbcf3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x258
mov eax, dword [0x100fb03c]
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 [0x100fe0e8]
test al, 1
jne 0x1002324d
or eax, 1
mov dword [0x100fe0e8], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [0x100fe0fc], 0
mov dword [0x100fe100], 7
mov word [0x100fe0ec], ax
push 0x100c8f80
mov byte [ebp - 4], al
call fcn.10088539
add esp, 4
mov ecx, 0x100fe0ec
call fcn.100051f0
test eax, eax
jne 0x100234dc
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.1008ac40
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.100053b0
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.10006280
lea ecx, [ebp - 0x224]
test al, al
jne 0x100232c1
mov byte [ebp - 4], al
call fcn.10005430
jmp 0x1002331b
call fcn.10005cd0
test al, al
jne 0x100232da
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], al
call fcn.10005430
jmp 0x1002331b
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.10005fe0
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0
call fcn.10005430
test esi, esi
jne 0x1002332e
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 0x10023370
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.100049a0
push 0x100dea40
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.10004db0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 4
cmp esi, 0x100fe0ec
je 0x100233f6
mov ecx, 0x100fe0ec
call fcn.10004840
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x100fe0ec], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x100fe0fc], 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 0x1002343a
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10023430
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023519
push edx
push ecx
call fcn.1008854e
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 0x1002349e
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10023494
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002351e
push edx
push ecx
call fcn.1008854e
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
push 0x100fe0ec
mov byte [ebp - 4], al
call fcn.1000b1f0
add esp, 4
test al, al
jne 0x100234dc
push 0x100fe0ec
call fcn.1000ba80
add esp, 4
push 0x100fe0ec
mov ecx, edi
call fcn.10008cd0
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.100881a5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008db97
call fcn.1008db97
int3