Function at 0x100ece50
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10121038
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x144]
call fcn.10007e50
mov dword [ebp - 4], 0
jmp 0x100ece97
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp + 8], ecx
cmp dword [ebp + 8], 0
je 0x100ed24a
mov edx, dword [ebp + 8]
cmp dword [edx + 0xc], 4
jne 0x100ed245
mov dword [ebp - 0x1b0], 0x10141ab0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x1b4], ecx
mov edx, dword [ebp - 0x1b4]
mov al, byte [edx]
mov byte [ebp - 0x1a5], al
mov ecx, dword [ebp - 0x1b0]
cmp al, byte [ecx]
jne 0x100ecf22
cmp byte [ebp - 0x1a5], 0
je 0x100ecf16
mov edx, dword [ebp - 0x1b4]
mov al, byte [edx + 1]
mov byte [ebp - 0x1aa], al
mov ecx, dword [ebp - 0x1b0]
cmp al, byte [ecx + 1]
jne 0x100ecf22
add dword [ebp - 0x1b4], 2
add dword [ebp - 0x1b0], 2
cmp byte [ebp - 0x1aa], 0
jne 0x100ecec4
mov dword [ebp - 0x1c0], 0
jmp 0x100ecf2d
sbb edx, edx
or edx, 1
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 0
jne 0x100ed245
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
lea ecx, [ebp - 0x144]
call fcn.10006cd0
lea ecx, [ebp - 0x144]
call fcn.10001ca0
cmp eax, 0xa
jae 0x100ecfa7
push str.page_info_size_too_small.
push 1
push 0x39
push 0x10141adc
push 0x10141ab8
call fcn.1010d8f0
add esp, 0x14
mov byte [ebp - 0x1a9], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.10008000
mov al, byte [ebp - 0x1a9]
jmp 0x100ed269
lea ecx, [ebp - 0x12c]
call fcn.10007e50
mov byte [ebp - 4], 1
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.10006cd0
lea edx, [ebp - 0x18c]
push edx
call fcn.100ecc90
add esp, 4
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c8]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.100080f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18c]
call fcn.10008000
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x12c]
call fcn.10006d10
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 0xffffffff
je 0x100ed095
mov dword [ebp - 0x1d0], 0
push 0
lea edx, [ebp - 0x1d0]
push edx
lea ecx, [ebp - 0x144]
call fcn.10001ca0
push eax
lea ecx, [ebp - 0x144]
call fcn.10006d10
push eax
mov eax, dword [ebp - 0x1b8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x1b8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x174]
push edx
call fcn.100ecc90
add esp, 4
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1e0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1e0]
call fcn.10006d10
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1f4], esp
push ecx
call fcn.100ce0d0
add esp, 4
mov dword [ebp - 0x204], eax
lea ecx, [ebp - 0x1a4]
call fcn.1004e2f0
add esp, 0x18
mov dword [ebp - 0x1c4], eax
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1cc], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1cc]
call fcn.10006d10
push eax
push str._s_UserWebPage__s
lea eax, [ebp - 0x15c]
push eax
call fcn.1004ddd0
add esp, 0x10
mov dword [ebp - 0x200], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1a4]
call fcn.10008000
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x174]
call fcn.10008000
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1f8], esp
lea edx, [ebp - 0x15c]
push edx
call fcn.10007d30
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 4], 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1ec], esp
lea edx, [ebp - 0x12c]
push edx
call fcn.10007d30
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1fc], eax
mov byte [ebp - 4], 9
call dword [sym.imp.NetCommHelper.dll_public:_static_class_CNetManager____cdecl_CNetManager::GetInstance_void_]
mov byte [ebp - 4], 7
mov ecx, eax
call dword [sym.imp.NetCommHelper.dll_public:_bool___thiscall_CNetManager::UploadFile_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___]
mov byte [ebp - 0x1a6], al
mov cl, byte [ebp - 0x1a6]
mov byte [ebp - 0x1a8], cl
movzx edx, byte [ebp - 0x1a8]
test edx, edx
je 0x100ed1dd
mov dword [ebp - 0x1bc], 0x10141b14
jmp 0x100ed1e7
mov dword [ebp - 0x1bc], 0x10141b50
mov eax, dword [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x15c]
call fcn.10006d10
push eax
push 0x10141b30
push 1
push 0x52
push 0x10141b7c
push str.CLightWebsocket::HandleUserWebPage
call fcn.1010d8f0
add esp, 0x1c
lea ecx, [ebp - 0x12c]
call fcn.10006d10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x15c]
call fcn.10008000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.10008000
jmp 0x100ece8f
mov byte [ebp - 0x1a7], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.10008000
mov al, byte [ebp - 0x1a7]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret