Function at 0x69cd49f2
Capabilities:
Delete file
Get common file path
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x54
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
add eax, 0x51d4
mov dword [eax], 0
mov eax, dword [ebp - 0x2c]
add eax, 0x51d4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 5
mov dword [esp], 0
mov eax, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call eax
sub esp, 0x14
test eax, eax
setne al
test al, al
je 0x69cd4a52
mov eax, 1
jmp 0x69cd4d1c
mov eax, dword [ebp - 0x2c]
add eax, 0x51d4
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenW]
call eax
sub esp, 4
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x5278], edx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x5278]
mov eax, dword [ebp - 0x2c]
add edx, 0x28e8
mov word [eax + edx*2 + 4], 0x5c
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x5278]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x5278], edx
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x28fb68]
mov ecx, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x5278]
add eax, 0x28e8
lea edx, [eax + eax]
mov eax, dword [ebp - 0x2c]
add eax, edx
add eax, 4
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x69ce4798
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_wsprintfW]
call eax
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x5278], 1
mov dword [esp + 8], 0x14
mov dword [esp + 4], 0
lea eax, [ebp - 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x2c]
add eax, 0x51d4
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80000080
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10000000
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileW]
call eax
sub esp, 0x1c
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x51b0], edx
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x51b0]
cmp eax, 0xffffffff
jne 0x69cd4b6a
mov eax, 1
jmp 0x69cd4d1c
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x519c], edx
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x519c]
test eax, eax
je 0x69cd4c92
cmp eax, 0xb7
jne 0x69cd4cfa
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x51b0]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetFileSize]
call eax
sub esp, 8
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x5194], edx
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x5194]
cmp eax, 0x9100
je 0x69cd4c47
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x51b0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [esp], 0x3e8
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [ebp - 0x2c]
add eax, 0x51d4
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call eax
sub esp, 4
mov dword [esp], 0x3e8
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x5278]
test eax, eax
je 0x69cd4c3d
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x5278], 0
jmp 0x69cd4b02
mov eax, 1
jmp 0x69cd4d1c
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x2c]
lea ebx, [eax + 0x5194]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + 0xa54c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x51b0]
lea edx, [ebp - 0x1c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x9100
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
call eax
sub esp, 0x14
jmp 0x69cd4d17
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x2c]
add eax, 0xa54c
mov dword [esp + 8], 0x9100
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x2c]
lea ebx, [eax + 0x5190]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + 0xa54c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x51b0]
lea edx, [ebp - 0x1c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x9100
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WriteFile]
call eax
sub esp, 0x14
jmp 0x69cd4d17
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x51b0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 1
jmp 0x69cd4d1c
mov eax, 0
mov ebx, dword [ebp - 4]
leave
ret