Function at 0x413c20
Capabilities:
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad612
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x620024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
call fcn.00449b3d
mov ecx, eax
test ecx, ecx
je 0x413fa2
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x224], edi
push 0
push 0x24
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x413cda
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413ca0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.00402d30
push 0x17
push str._tempEDE_Quicklist.txt
lea ecx, [ebp - 0x224]
call fcn.00405b30
mov edi, dword [ebp - 0x224]
lea ecx, [ebp - 0x244]
call fcn.00453255
mov byte [ebp - 4], 1
call fcn.00449b3d
test eax, eax
je 0x413fa2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov eax, 0x5f4368
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21c]
test eax, 0xffff0000
jne 0x413d27
movzx eax, ax
push eax
call fcn.00403130
jmp 0x413d33
push 1
push 0x5f4368
call fcn.00402d30
mov byte [ebp - 4], 3
call fcn.00449b3d
mov ecx, eax
test ecx, ecx
je 0x413fa2
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
push 0
push 0x2000
push edi
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 4
call fcn.004538a1
or ebx, 0xffffffff
test eax, eax
je 0x413f13
push 0
push 0x1000
push 1
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x28c]
call fcn.0044e222
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x28c]
call fcn.0044eb5e
test eax, eax
je 0x413ec4
or edi, ebx
mov eax, dword [ebp - 0x21c]
push 0x5c
push eax
mov ebx, dword [eax - 0xc]
call fcn.00587ca4
add esp, 8
test eax, eax
jne 0x413dce
or eax, 0xffffffff
jmp 0x413dd6
sub eax, dword [ebp - 0x21c]
sar eax, 1
sub ebx, eax
lea ecx, [ebp - 0x21c]
dec ebx
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.00416080
mov byte [ebp - 4], 6
lea ebx, [esi - 0x10]
mov ecx, dword [eax]
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x413e53
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x413e3e
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x413e3e
push edx
call fcn.00405670
add esp, 4
mov dword [ebp - 0x22c], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x413e33
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x22c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
jmp 0x413e53
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00402d30
mov esi, dword [ebp - 0x220]
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413e74
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x228]
push 1
push 1
push esi
push dword [ebp - 0x21c]
cmp eax, 0x10
jne 0x413e9a
push 1
jmp 0x413e9c
push 0
call fcn.0040bd10
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x28c]
call fcn.0044eb5e
test eax, eax
jne 0x413db1
mov edi, dword [ebp - 0x224]
or ebx, 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.0044e6a7
lea ecx, [ebp - 0x244]
call fcn.004535a9
mov ecx, dword [ebp - 0x228]
push 1
push 1
push 0x5f436c
push edi
push 0
call fcn.0040bd10
mov ecx, dword [ebp - 0x228]
call fcn.00409b70
lea ecx, [ebp - 0x28c]
call fcn.0044e355
mov dword [ebp - 0x220], 1
jmp 0x413f1d
mov dword [ebp - 0x220], 0
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x413f38
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413f59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x244]
call fcn.004532d9
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x413f80
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00586281
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403300
int3