Function at 0x4696f0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565891
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5be26c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 0x5c1478
push 0x5c1454
push 0
push eax
mov dword [ebp - 0x5c], 0
call fcn.00517b96
add esp, 0x14
mov dword [ebp - 0x60], eax
test eax, eax
je 0x4699ff
call fcn.00418ed0
mov ecx, eax
test ecx, ecx
je 0x469a1c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
push 0x24
push str.___allow_universal_access_from_files
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0
call fcn.00410b90
lea eax, [ebp - 0x6c]
push eax
call fcn.004278c0
mov ecx, eax
call fcn.00427890
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 1
mov eax, dword [eax + 0x38]
sub eax, 0x10
push eax
call fcn.004112d0
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x70], edi
push edi
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4697bc
push eax
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
call fcn.00418ed0
mov ecx, eax
test ecx, ecx
je 0x469a26
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4c], eax
push str.____cache_path
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.00410de0
test al, al
jne 0x4697fc
push 0xf
push str.____cache_path
lea ecx, [ebp - 0x4c]
call fcn.0041f550
push dword [edi - 0xc]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
push edi
call fcn.00410b90
push 0xc
push str.___log_file
lea ecx, [ebp - 0x4c]
call fcn.00410b90
mov ecx, dword [edi - 0x10]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 5
mov dword [ebp - 0x64], eax
test ecx, ecx
je 0x469839
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x469851
call fcn.00418ed0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x469a30
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x5c], 1
lea esi, [eax + 0x10]
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], eax
lea edx, [eax + 8]
test edx, edx
js 0x469a3a
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x469893
push edx
lea ecx, [ebp - 0x54]
call fcn.0041d0c0
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
add eax, eax
push eax
push edi
push eax
push esi
call fcn.00422b20
mov edi, dword [ebp - 0x58]
add esp, 0x10
lea eax, [esi + edi*2]
test eax, eax
jne 0x4698c0
call fcn.0051a8c6
mov dword [eax], 0x16
call fcn.0051a7ec
jmp 0x4698ca
movups xmm0, xmmword [str.cef.log]
movups xmmword [eax], xmm0
lea eax, [edi + 8]
cmp eax, dword [esi - 8]
jg 0x469a3a
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea ecx, [ebp - 0x4c]
push dword [esi - 0xc]
push esi
call fcn.00410b90
mov byte [ebp - 4], 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x469907
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x50]
push dword [esi - 0xc]
push esi
call fcn.00410b90
movups xmm0, xmmword [str.___disable_keyboard_filter]
lea ecx, [ebp - 0x48]
lea edx, [ecx + 2]
movups xmmword [ebp - 0x48], xmm0
movups xmm0, xmmword [0x57817c]
movups xmmword [ebp - 0x38], xmm0
movups xmm0, xmmword [0x57818c]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [0x57819c]
movq qword [ebp - 0x18], xmm0
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469950
sub ecx, edx
lea eax, [ebp - 0x48]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00410b90
mov ecx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x50]
push 0
push edi
mov eax, dword [ecx]
push str.special_command
push ecx
call dword [eax + 0x30]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46999c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x64]
or eax, 0xffffffff
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4699b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x4699e0
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4699e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4699e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4699ff
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c16d
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00410dc0
push 0x80004005
call fcn.00410dc0
push 0x80004005
call fcn.00410dc0
push 0x80070057
call fcn.00410dc0
int3