Function at 0x1000e280
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f0c8
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x10160068]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x840], edi
mov dword [ebp - 0x838], 0
mov dword [ebp - 4], 1
cmp dword [ebp + 0x1c], 0
jne 0x1000e339
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x101376f0
mov word [edi], ax
call fcn.1000b730
mov dword [ebp - 0x838], 1
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x1000e7eb
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e7e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e81b
jmp 0x1000e7e1
push 0x800
lea eax, [ebp - 0x814]
push 0
push eax
call fcn.100e7700
add esp, 0xc
lea eax, [ebp - 0x814]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1000e7bc
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x814]
push str.Page
push eax
call esi
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000e39d
push eax
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.Page.html
lea eax, [ebp - 0x814]
push eax
call esi
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 4
mov dword [ebp - 0x834], 0
call fcn.100ced35
add esp, 4
mov dword [ebp - 0x830], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp - 0x834], eax
mov byte [ebp - 4], 3
xor eax, eax
lea ecx, [ebp - 0x814]
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 7
mov word [ebp - 0x82c], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e430
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x82c]
call fcn.1000b730
mov byte [ebp - 4], 4
lea eax, [ebp - 0x82c]
push 0x80
push 2
push 1
push 0x10000000
push eax
lea ecx, [ebp - 0x834]
call fcn.1008e6d0
mov bl, al
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x818]
cmp edx, 8
jb 0x1000e4bc
mov ecx, dword [ebp - 0x82c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e4b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e820
push edx
push ecx
call fcn.100cf0c8
add esp, 8
xor eax, eax
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 7
mov word [ebp - 0x82c], ax
test bl, bl
je 0x1000e781
push 8
mov dword [ebp - 0x81c], eax
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x818], eax
push str._html__r_n
mov dword [ebp - 0x81c], eax
mov dword [ebp - 0x818], 0xf
mov byte [ebp - 0x82c], al
call fcn.100111c0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x818]
mov eax, ecx
mov ebx, dword [ebp - 0x81c]
sub eax, ebx
push 0x2a
push str._meta_http_equiv_refresh__content_0_url
cmp eax, 0x2a
jb 0x1000e561
cmp ecx, 0x10
lea esi, [ebp - 0x82c]
lea eax, [ebx + 0x2a]
cmovae esi, dword [ebp - 0x82c]
mov dword [ebp - 0x81c], eax
lea eax, [esi + ebx]
push eax
call fcn.100e7180
add esp, 0xc
mov byte [esi + ebx + 0x2a], 0
jmp 0x1000e57b
mov byte [ebp - 0x83c], 0
lea ecx, [ebp - 0x82c]
push dword [ebp - 0x83c]
push 0x2a
call fcn.100118d0
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x858]
call fcn.100903a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x82c]
push eax
call fcn.10010f60
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x844]
cmp edx, 0x10
jb 0x1000e5d7
mov ecx, dword [ebp - 0x858]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e5cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e825
push edx
push ecx
call fcn.100cf0c8
add esp, 8
mov ecx, dword [ebp - 0x818]
mov eax, ecx
mov ebx, dword [ebp - 0x81c]
sub eax, ebx
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 0xf
mov byte [ebp - 0x858], 0
push 0xb
push str.___r_n__html_
cmp eax, 0xb
jb 0x1000e63a
cmp ecx, 0x10
lea esi, [ebp - 0x82c]
lea eax, [ebx + 0xb]
cmovae esi, dword [ebp - 0x82c]
mov dword [ebp - 0x81c], eax
lea eax, [esi + ebx]
push eax
call fcn.100e7180
add esp, 0xc
mov byte [esi + ebx + 0xb], 0
jmp 0x1000e654
mov byte [ebp - 0x83c], 0
lea ecx, [ebp - 0x82c]
push dword [ebp - 0x83c]
push 0xb
call fcn.100118d0
cmp dword [ebp - 0x818], 0x10
lea ecx, [ebp - 0x830]
push ecx
push dword [ebp - 0x81c]
lea eax, [ebp - 0x82c]
mov dword [ebp - 0x830], 0
cmovae eax, dword [ebp - 0x82c]
lea ecx, [ebp - 0x834]
push eax
call fcn.1008e870
lea ecx, [ebp - 0x834]
test al, al
je 0x1000e723
call fcn.1008e8c0
lea eax, [ebp - 0x814]
mov ecx, edi
push eax
call fcn.1000b340
mov dword [ebp - 0x838], 1
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x818]
cmp edx, 0x10
jb 0x1000e6f4
mov ecx, dword [ebp - 0x82c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e6ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e82a
push edx
push ecx
call fcn.100cf0c8
add esp, 8
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0xf
mov byte [ebp - 0x82c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x834]
call fcn.1008e660
jmp 0x1000e2f8
call fcn.1008e8c0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x818]
cmp edx, 0x10
jb 0x1000e766
mov ecx, dword [ebp - 0x82c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e75c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e81b
push edx
push ecx
call fcn.100cf0c8
add esp, 8
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0xf
mov byte [ebp - 0x82c], 0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x834]
test esi, esi
je 0x1000e7bc
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1000e7a7
test eax, eax
je 0x1000e7a7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.100cf0c8
add esp, 8
mov dword [ebp - 0x834], 0
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x101376f0
mov word [edi], ax
call fcn.1000b730
jmp 0x1000e2ee
push edx
push ecx
call fcn.100cf0c8
add esp, 8
xor eax, eax
mov dword [ebp + 0x20], 7
mov dword [ebp + 0x1c], eax
mov word [ebp + 0xc], ax
mov eax, edi
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.100ceb24
mov esp, ebp
pop ebp
ret 0x1c
call fcn.100ecf9f
call fcn.100ecf9f
call fcn.100ecf9f
call fcn.100ecf9f
int3