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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10112808
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x10152034]
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 0x100dab07
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp + 8], ecx
cmp dword [ebp + 8], 0
je 0x100daeba
mov edx, dword [ebp + 8]
cmp dword [edx + 0xc], 4
jne 0x100daeb5
mov dword [ebp - 0x1b0], 0x1012ed38
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 0x100dab92
cmp byte [ebp - 0x1a5], 0
je 0x100dab86
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 0x100dab92
add dword [ebp - 0x1b4], 2
add dword [ebp - 0x1b0], 2
cmp byte [ebp - 0x1aa], 0
jne 0x100dab34
mov dword [ebp - 0x1c0], 0
jmp 0x100dab9d
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 0x100daeb5
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 0x100dac17
push str.page_info_size_too_small.
push 1
push 0x39
push 0x1012ed64
push 0x1012edcc
call fcn.100ff930
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 0x100daed9
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.100da900
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 0x100dad05
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.100da900
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.100c0820
add esp, 4
mov dword [ebp - 0x204], eax
lea ecx, [ebp - 0x1a4]
call fcn.10040a50
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.10040530
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 0x100dae4d
mov dword [ebp - 0x1bc], 0x1012edf8
jmp 0x100dae57
mov dword [ebp - 0x1bc], 0x1012edf0
mov eax, dword [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x15c]
call fcn.10006d10
push eax
push 0x1012ee38
push 1
push 0x52
push 0x1012ee00
push str.CLightWebsocket::HandleUserWebPage
call fcn.100ff930
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 0x100daaff
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.1010a06b
mov esp, ebp
pop ebp
ret