Function at 0x408d50
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 0x447feb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x9c
mov eax, dword [0x460080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 0
push 0
push 0x44b300
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x409179
mov ecx, edx
mov dword [ebp - 0x6c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x7c], xmm0
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408dd0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x7c]
call fcn.004032e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7c]
cmp dword [0x462548], 7
mov eax, 0x462534
push dword [0x462544]
cmova eax, dword [0x462534]
push eax
call fcn.004030c0
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x68]
cmp ecx, 7
jbe 0x408e89
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408e7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409196
push ecx
push edx
call fcn.004281e7
add esp, 8
xor eax, eax
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x30], al
lea edx, [ebp - 0x2c]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.0040b640
add esp, 4
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.00404f90
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 0x31], al
cmp ecx, 7
jbe 0x408f0a
mov edx, dword [ebp - 0x94]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408efd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40919b
push ecx
push edx
call fcn.004281e7
mov al, byte [ebp - 0x31]
add esp, 8
test al, al
jne 0x409143
lea ecx, [ebp - 0xac]
call fcn.004086e0
push 0xb
push str.__c_mkdir__
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004030c0
mov dword [ebp - 0x54], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x54], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x64]
push dword [ebp - 0x1c]
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.004030c0
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x3c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
sub esp, 0x18
mov byte [ebp - 4], 6
mov esi, esp
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x30], esi
push 1
push 0x452ebc
call fcn.004030c0
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x94]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00408920
mov ecx, dword [ebp - 0x80]
add esp, 0x18
cmp ecx, 0xf
jbe 0x409053
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409049
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091a0
push ecx
push edx
call fcn.004281e7
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp ecx, 7
jbe 0x4090a5
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40909b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091a0
push ecx
push edx
call fcn.004281e7
add esp, 8
mov ecx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
cmp ecx, 7
jbe 0x4090f3
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4090e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091a0
push ecx
push edx
call fcn.004281e7
add esp, 8
mov ecx, dword [ebp - 0x98]
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
cmp ecx, 7
jbe 0x409143
mov edx, dword [ebp - 0xac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409139
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091a0
push ecx
push edx
call fcn.004281e7
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x409179
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40916f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091a5
push ecx
push edx
call fcn.004281e7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004281a9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042cf5f
call fcn.0042cf5f
call fcn.0042cf5f
call fcn.0042cf5f
int3