Function at 0x40af80
Capabilities:
Check if file exists
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cfde7
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x6619c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0xc8]
push eax
call fcn.0040b710
mov edx, dword [ebp - 0xc8]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40afdd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xc0]
call fcn.0040b530
push 6
push str.cefn_
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0
call fcn.00408240
lea eax, [ebp - 0xc4]
push eax
call fcn.0040b710
mov byte [ebp - 4], 1
push dword [ebp - 0xc4]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
je 0x40b1b6
call fcn.0040add0
test eax, eax
jne 0x40b038
mov byte [ebp - 4], al
jmp 0x40b447
push str.cefnew_small.7z
lea ecx, [ebp - 0x5c]
call fcn.00406b90
push str.https:__cdn.pdfxd.com_download_pdf_cefnew_small.7z
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.00406b90
push 0
mov byte [ebp - 4], 3
push dword [ebp - 0xc0]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x44]
call fcn.00406b90
sub esp, 0x28
mov byte [ebp - 4], 4
mov eax, esp
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x44]
mov dword [eax], 0x632274
mov dword [eax + 0x24], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0047ebe0
mov byte [ebp - 4], 3
add esp, 0x2c
mov ecx, dword [ebp - 0x30]
mov dword [0x67c8c8], eax
cmp ecx, 8
jb 0x40b0c7
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.004086c0
mov eax, dword [0x67c8c8]
test eax, eax
je 0x40b156
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x2c]
call fcn.00406b90
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e510
cmp dword [0x67c8d0], 0
jne 0x40b110
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call edi
cmp dword [0x67c8d0], 0
je 0x40b100
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
test eax, eax
je 0x40b14e
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov edx, dword [ebp - 0xc0]
cmovae ecx, dword [ebp - 0x2c]
call fcn.00499700
jmp 0x40b147
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00406b50
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x40b171
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.004086c0
xor eax, eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x7c], 0
cmp eax, 8
jb 0x40b19d
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.004086c0
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jmp 0x40b444
push str.cefnew.7z
lea ecx, [ebp - 0x74]
call fcn.00406b90
push str.https:__cdn.pdfxd.com_download_pdf_cefnew.7z
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 8
call fcn.00406b90
push 0
mov byte [ebp - 4], 9
push dword [ebp - 0xc0]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x44]
call fcn.00406b90
sub esp, 0x28
mov byte [ebp - 4], 0xa
mov eax, esp
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0x44]
mov dword [eax], 0x6321dc
mov dword [eax + 0x24], eax
lea eax, [ebp - 0x74]
push eax
call fcn.0047ebe0
mov byte [ebp - 4], 9
add esp, 0x2c
mov ecx, dword [ebp - 0x30]
mov dword [0x67c8e0], eax
cmp ecx, 8
jb 0x40b245
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.004086c0
mov eax, dword [0x67c8e0]
test eax, eax
je 0x40b2f9
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x2c]
call fcn.00406b90
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e510
cmp dword [0x67c8c4], 0
jne 0x40b290
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 0xbb8
call edi
cmp dword [0x67c8c4], 0
je 0x40b280
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
test eax, eax
je 0x40b2e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov edx, dword [ebp - 0xc0]
cmovae ecx, dword [ebp - 0x2c]
call fcn.00499700
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40b2d9
mov dword [ebp - 4], 0xb
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x40b2f9
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004086c0
push str.cefnew_small.7z
lea ecx, [ebp - 0x44]
call fcn.00406b90
push str.https:__cdn.pdfxd.com_download_pdf_cefnew_small.7z
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
call fcn.00406b90
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
push dword [ebp - 0xc0]
call fcn.00406b90
sub esp, 0x28
mov byte [ebp - 4], 0x10
mov eax, esp
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x2c]
mov dword [eax], 0x6321dc
mov dword [eax + 0x24], eax
lea eax, [ebp - 0x44]
push eax
call fcn.0047ebe0
mov eax, dword [ebp - 0x18]
add esp, 0x2c
cmp eax, 8
jb 0x40b368
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004086c0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x40b39a
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.004086c0
xor eax, eax
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x94], 0
cmp eax, 8
jb 0x40b3cc
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004086c0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x34], 0
cmp eax, 8
jb 0x40b3fe
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.004086c0
xor eax, eax
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xac], 0
cmp eax, 8
jb 0x40b430
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.004086c0
xor eax, eax
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0xc4]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b464
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xc0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40b486
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0058995a
mov esp, ebp
pop ebp
ret