Function at 0x402560
Capabilities:
Check if file exists
Create directory
Get common file path
Get startup folder

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 0x5670f1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x260
mov eax, dword [0x5c4fe8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x270], esi
xor eax, eax
mov dword [ebp - 0x228], 0
push eax
push 0x5a826c
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
call fcn.00403110
push 0x208
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005482c0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x40266e
push eax
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x5a826c
mov word [esi], ax
call fcn.00403110
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x402928
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40291e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402948
jmp 0x40291e
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402677
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00403110
push str.Foxit_Software_
lea ecx, [ebp - 0x238]
call fcn.00403000
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4026e5
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
push 0
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
mov byte [ebp - 4], 1
call fcn.004022d0
test al, al
jne 0x40271b
mov eax, 0x5a82f8
mov ecx, 7
jmp 0x402725
mov eax, str.Continuous
mov ecx, 0xa
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.00403110
push 0x5a8320
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x268]
call fcn.00402d10
add esp, 4
mov byte [ebp - 4], 2
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x402759
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
mov edi, dword [ebp - 0x228]
mov eax, dword [ebp - 0x224]
sub eax, edi
mov dword [ebp - 0x270], edi
cmp ecx, eax
ja 0x4027b5
add edi, ecx
lea eax, [ecx + ecx]
cmp dword [ebp - 0x224], 8
lea esi, [ebp - 0x238]
push eax
cmovae esi, dword [ebp - 0x238]
mov eax, dword [ebp - 0x270]
push edx
mov dword [ebp - 0x228], edi
lea eax, [esi + eax*2]
push eax
call fcn.00547560
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0x26c]
jmp 0x4027d0
push ecx
push edx
mov byte [ebp - 0x26c], 0
push dword [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x238]
call fcn.00402e90
mov edx, dword [ebp - 0x254]
cmp edx, 8
jb 0x402810
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402806
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40294d
push edx
push ecx
call fcn.00545a1e
add esp, 8
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40284c
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
push 0
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movups xmm0, xmmword [ebp - 0x238]
mov edx, dword [ebp - 0x23c]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov eax, 7
mov dword [esi + 0x14], 0
mov word [ebp - 0x238], cx
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x228]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], eax
cmp edx, 8
jb 0x4028d5
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4028c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402952
push edx
push ecx
call fcn.00545a1e
mov eax, dword [ebp - 0x224]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], cx
cmp eax, 8
jb 0x402928
mov ecx, dword [ebp - 0x238]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40291e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402957
push edx
push ecx
call fcn.00545a1e
add esp, 8
mov eax, esi
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.00545a0d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0054bd65
call fcn.0054bd65
call fcn.0054bd65
call fcn.0054bd65
int3