Function at 0x408dc0
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 0x44707b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x9c
mov eax, dword [0x45f080]
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 0x44a300
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x4091e9
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 0x408e40
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x7c]
call fcn.00403110
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7c]
cmp dword [0x461518], 7
mov eax, 0x461504
push dword [0x461514]
cmova eax, dword [0x461504]
push eax
call fcn.00402ef0
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 0x408ef9
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408eef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409206
push ecx
push edx
call fcn.00427068
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.0040ade0
add esp, 4
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.00404dc0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 0x31], al
cmp ecx, 7
jbe 0x408f7a
mov edx, dword [ebp - 0x94]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408f6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40920b
push ecx
push edx
call fcn.00427068
mov al, byte [ebp - 0x31]
add esp, 8
test al, al
jne 0x4091b3
lea ecx, [ebp - 0xac]
call fcn.00408510
push 0xb
push str.__c_mkdir__
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00402ef0
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.00402ef0
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 0x451ea0
call fcn.00402ef0
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.00408990
mov ecx, dword [ebp - 0x80]
add esp, 0x18
cmp ecx, 0xf
jbe 0x4090c3
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4090b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409210
push ecx
push edx
call fcn.00427068
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 0x409115
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40910b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409210
push ecx
push edx
call fcn.00427068
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 0x409163
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409159
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409210
push ecx
push edx
call fcn.00427068
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 0x4091b3
mov edx, dword [ebp - 0xac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4091a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409210
push ecx
push edx
call fcn.00427068
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x4091e9
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4091df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409215
push ecx
push edx
call fcn.00427068
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.0042702a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042bddf
call fcn.0042bddf
call fcn.0042bddf
call fcn.0042bddf
int3