Function at 0x48fb70
Capabilities:
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64d6db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c4
push ebx
push esi
lea ebx, [ecx + 0x339c]
push edi
add ecx, 0x88
push ebx
mov dword [ebp - 0x10], ecx
call fcn.00409c50
push 0x204
lea eax, [ebp - 0x2cc]
push 0
push eax
mov dword [ebp - 0x2d0], 0
call fcn.006100a0
add esp, 0xc
push 1
push 0x1a
lea ecx, [ebp - 0x2d0]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x2d0]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x48fbe2
mov edx, dword [0x66ea40]
mov eax, 0x672cbc
mov dword [edi], edx
mov esi, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48fc00
lea edi, [ebp - 0x2d0]
sub eax, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x48fc16
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x2d0]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x48fc40
mov dword [edi], edx
lea edi, [ebp - 0x2d0]
add edi, 0xfffffffe
jmp 0x48fc60
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x48fc60
mov ecx, 9
mov esi, 0x673628
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x2d0]
push 0x672b60
push edx
movsw word es:[edi], word [esi]
call fcn.00614a04
mov esi, eax
add esp, 8
test esi, esi
je 0x48fcbf
mov eax, dword [ebx]
cmp dword [eax - 4], 1
mov edi, dword [eax - 0xc]
jle 0x48fcaa
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, ebx
call fcn.00404a90
mov eax, dword [ebx]
push esi
push edi
push 1
push eax
call fcn.006161f6
push esi
call fcn.0061466b
add esp, 0x14
lea ecx, [ebp - 0xc8]
call fcn.0048f270
mov dword [ebp - 4], 0
mov eax, dword [ebx]
push eax
lea ecx, [ebp - 0x80]
call fcn.00405830
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp dword [ebp - 0xb4], 0
mov esi, eax
jne 0x48fd2b
call fcn.0060ed18
mov dword [ebp - 0xb4], eax
test eax, eax
jne 0x48fd2b
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.004d55a0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xc0]
push eax
push 0x716768
call fcn.00426c90
mov ecx, dword [0x716738]
push 0
push 0x427de0
push esi
push 0x193
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x48fd04
lea edx, [ebp - 0x2d0]
push 0x6711ac
push edx
call fcn.00614a04
push 2
mov esi, eax
push 0
push esi
call fcn.006167c5
push esi
call fcn.006166d6
push 0
push 0
push esi
mov edi, eax
call fcn.006167c5
mov eax, dword [ebx]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
add esp, 0x24
or eax, ecx
jge 0x48fdaf
push edi
mov ecx, ebx
call fcn.00405120
mov eax, dword [ebx]
push esi
push edi
push 1
push eax
call fcn.00614929
push esi
mov edi, eax
call fcn.0061466b
add esp, 0x14
test edi, edi
js 0x48fde8
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x48fde8
mov ecx, dword [ebp - 0x10]
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
push ebx
mov byte [edi + eax], 0
call fcn.00408210
jmp 0x48fd04
push 0x80070057
call fcn.004011d0
int3