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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xf133b2
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0xf387a0]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push esi
push edi
mov eax, dword [0xf387a0]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
push 0x206
xor ebx, ebx
lea ecx, [esp + 0xb2]
xor eax, eax
push ebx
push ecx
mov word [esp + 0xb8], ax
call fcn.00ec1460
add esp, 0xc
push 1
push 0x23
lea edx, [esp + 0xb4]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Local
lea eax, [esp + 0xb0]
push 0x104
push eax
call fcn.00eb9664
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
call esi
test eax, eax
jne 0xe7a9f2
push ebx
lea edx, [esp + 0xb0]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.AppData
lea eax, [esp + 0xb0]
push 0x104
push eax
call fcn.00eb9664
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
call esi
test eax, eax
jne 0xe7aa29
push ebx
lea edx, [esp + 0xb0]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov word [esp + 0x3c], ax
lea eax, [esp + 0xac]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xe7aa46
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x40]
call fcn.00e51cc0
push 1
push 0xf24acc
lea esi, [esp + 0x40]
mov dword [esp + 0x2d0], ebx
call fcn.00e5b3b0
call fcn.00e76970
lea esi, [esp + 0x1c]
call fcn.00e7da70
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x2d4], 1
call fcn.00e5b6f0
mov edi, 8
mov byte [esp + 0x2c8], bl
cmp dword [esp + 0x34], edi
jb 0xe7aac0
mov edx, dword [esp + 0x20]
push edx
call fcn.00eb98f8
add esp, 4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], edi
jae 0xe7aace
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0xe7aaef
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], edi
jae 0xe7aae7
lea eax, [esp + 0x3c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
xor eax, eax
push ecx
mov esi, 7
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], ax
call fcn.00e51940
push 0xffffffffffffffff
mov byte [esp + 0x2cc], 2
push ebx
lea eax, [esp + 0x40]
xor edx, edx
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], dx
call fcn.00e51940
push esi
push str.kit.dt
lea esi, [esp + 0x5c]
mov byte [esp + 0x2d0], 3
call fcn.00e5b3b0
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], edi
jae 0xe7ab6a
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0xe7acd6
push 1
push 0xf24acc
lea esi, [esp + 0x40]
call fcn.00e5b3b0
push 1
push 0xf24acc
lea esi, [esp + 0x78]
call fcn.00e5b3b0
push 7
push str.temp.7z
call fcn.00e5b3b0
lea ecx, [esp + 0x8c]
push ecx
mov edx, str.http:__download.cleanmoon.cn_wke_forox.rar
call fcn.00e6c2a0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
mov byte [esp + 0x2e8], 4
push ebx
mov eax, esi
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00e51940
lea edi, [esp + 0x38]
call fcn.00e532e0
mov esi, 0x10
add esp, 0x1c
cmp dword [eax + 0x18], esi
jb 0xe7abfe
mov eax, dword [eax + 4]
jmp 0xe7ac01
add eax, 4
mov edx, eax
lea ecx, [esp + 0x8c]
call fcn.00e6c3d0
cmp dword [esp + 0x34], esi
jb 0xe7ac22
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00eb98f8
add esp, 4
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0xe7ac31
lea eax, [esp + 0x3c]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x98]
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00e51940
lea edi, [esp + 0x3c]
call fcn.00e532e0
add esp, 0x1c
mov byte [esp + 0x2cc], 5
cmp dword [eax + 0x18], esi
jb 0xe7ac79
mov eax, dword [eax + 4]
jmp 0xe7ac7c
add eax, 4
mov ecx, 0xf2b078
mov edx, eax
call fcn.00eae1b0
add esp, 4
cmp dword [esp + 0x34], esi
jb 0xe7ac9e
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00eb98f8
add esp, 4
mov eax, dword [esp + 0x74]
mov esi, 8
cmp dword [esp + 0x88], esi
jae 0xe7acb4
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0xa4], esi
jb 0xe7acd4
mov edx, dword [esp + 0x90]
push edx
call fcn.00eb98f8
add esp, 4
mov edi, esi
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], edi
jae 0xe7ace4
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne byte [esp + 0x17]
cmp dword [esp + 0x6c], edi
jb 0xe7ad05
mov eax, dword [esp + 0x58]
push eax
call fcn.00eb98f8
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], cx
cmp dword [esp + 0x88], edi
jb 0xe7ad2f
mov edx, dword [esp + 0x74]
push edx
call fcn.00eb98f8
add esp, 4
xor eax, eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], ax
cmp dword [esp + 0x50], edi
jb 0xe7ad57
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00eb98f8
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.00eb9637
mov esp, ebp
pop ebp
ret