Function at 0x4df0d8
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x595943
call fcn.00581dd4
sub esp, 0xd08
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
lea edi, [ebx + 4]
cmp dword [ebx + 0x18], 8
jb 0x4df10b
mov eax, dword [edi]
jmp 0x4df10d
mov eax, edi
push 0x5dee8c
push eax
call fcn.004f9299
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, esi
jne 0x4df136
mov dword [ebp - 0x48], 0xfffffffe
push 0x607d58
lea eax, [ebp - 0x48]
push eax
call fcn.004fe8eb
cmp dword [ebx + 0x18], 8
jb 0x4df13e
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0xa4]
call fcn.0048dc40
lea eax, [ebp - 0xa4]
call fcn.004df0ad
mov ebx, eax
lea ecx, [ebp - 0xa4]
call fcn.00407f70
cmp ebx, 0x10
jae 0x4df175
or dword [ebp - 0x38], 0xffffffff
push 0x607d58
lea eax, [ebp - 0x38]
jmp 0x4df130
push 2
push 0xfffffffffffffff0
push dword [ebp - 0x18]
call fcn.004f9855
add esp, 0xc
mov dword [ebp - 0x88], esi
xor eax, eax
lea edi, [ebp - 0x84]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push dword [ebp - 0x18]
push 1
push 0x10
lea eax, [ebp - 0x88]
push eax
call fcn.004f95a3
add esp, 0x10
cmp eax, 1
je 0x4df1c4
mov dword [ebp - 0x58], 0xfffffffe
push 0x607d58
lea eax, [ebp - 0x58]
jmp 0x4df130
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x20], eax
cmp eax, esi
jle 0x4df5e5
cmp eax, ebx
jg 0x4df5e5
cmp ecx, esi
jle 0x4df5e5
cmp ecx, ebx
jg 0x4df5e5
xor eax, eax
mov word [ebp - 0x2ec], ax
mov ebx, 0x206
push ebx
push esi
lea eax, [ebp - 0x2ea]
push eax
call fcn.004fe380
add esp, 0xc
xor eax, eax
mov word [ebp - 0x904], ax
push ebx
push esi
lea eax, [ebp - 0x902]
push eax
call fcn.004fe380
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x904]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360mobilemgr_supports
lea eax, [ebp - 0x904]
push eax
lea eax, [ebp - 0x2ec]
push eax
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
call edi
lea eax, [ebp - 0x2ec]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4df27b
push esi
lea eax, [ebp - 0x2ec]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov word [ebp - 0x4f4], ax
push ebx
push esi
lea eax, [ebp - 0x4f2]
push eax
call fcn.004fe380
add esp, 0xc
push str.mauthorization.exe
lea eax, [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x4f4]
push eax
call edi
lea eax, [ebp - 0x4f4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push esi
push dword [ebp - 0x18]
call fcn.004f9855
add esp, 0xc
mov eax, dword [ebp - 0x20]
lea esi, [ebp - 0x28]
call fcn.004df62d
push dword [ebp - 0x18]
push 1
push dword [ebp - 0x20]
push dword [ebp - 0x28]
call fcn.004f95a3
add esp, 0x10
cmp eax, 1
je 0x4df2fb
mov dword [ebp - 0x5c], 0xfffffffe
push 0x607d58
lea eax, [ebp - 0x5c]
jmp 0x4df130
push 0x5f65d8
lea eax, [ebp - 0x4f4]
push eax
call fcn.004f9299
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x4df32b
mov dword [ebp - 0x44], 0xfffffffe
push 0x607d58
lea eax, [ebp - 0x44]
jmp 0x4df130
push esi
push 1
push dword [ebp - 0x20]
push dword [ebp - 0x28]
call fcn.004fa893
add esp, 0x10
cmp eax, 1
je 0x4df355
mov dword [ebp - 0x54], 0xfffffffe
push 0x607d58
lea eax, [ebp - 0x54]
jmp 0x4df130
push esi
call fcn.004fbe52
pop ecx
push esi
call fcn.004f9951
pop ecx
xor esi, esi
mov dword [ebp - 0x1c], esi
xor eax, eax
mov word [ebp - 0x6fc], ax
push ebx
push esi
lea eax, [ebp - 0x6fa]
push eax
call fcn.004fe380
add esp, 0xc
push str.mob.tmp
lea eax, [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x6fc]
push eax
call edi
lea eax, [ebp - 0x6fc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.004f9855
add esp, 0xc
mov edi, dword [ebp - 0x2c]
lea esi, [ebp - 0x28]
call fcn.004d208c
push dword [ebp - 0x18]
xor esi, esi
inc esi
push esi
push edi
push dword [ebp - 0x28]
call fcn.004f95a3
add esp, 0x10
cmp eax, esi
je 0x4df3e9
mov dword [ebp - 0x4c], 0xfffffffe
push 0x607d58
lea eax, [ebp - 0x4c]
jmp 0x4df130
push 0x208
xor edi, edi
push edi
lea eax, [ebp - 0xd14]
push eax
call fcn.004fe380
add esp, 0xc
lea eax, [ebp - 0xd14]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov word [ebp - 0xb0c], ax
push ebx
push edi
lea eax, [ebp - 0xb0a]
push eax
call fcn.004fe380
add esp, 0xc
lea eax, [ebp - 0xb0c]
push eax
push edi
push 0x5ff324
lea eax, [ebp - 0xd14]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0xb0c]
push eax
lea ecx, [ebp - 0x78]
call fcn.0048dc40
cmp dword [ebp - 0x60], 8
mov eax, dword [ebp - 0x74]
jae 0x4df461
lea eax, [ebp - 0x74]
push 0x5f65d8
push eax
call fcn.004f9299
pop ecx
pop ecx
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp ebx, edi
jne 0x4df48b
mov dword [ebp - 0x3c], 0xfffffffe
push 0x607d58
lea eax, [ebp - 0x3c]
jmp 0x4df130
push ebx
push esi
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
call fcn.004fa893
add esp, 0x10
cmp eax, esi
je 0x4df4c6
cmp dword [ebp - 0x60], 8
mov eax, dword [ebp - 0x74]
jae 0x4df4ab
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x40], 0xfffffffe
push 0x607d58
lea eax, [ebp - 0x40]
jmp 0x4df130
push ebx
call fcn.004fbe52
pop ecx
push ebx
call fcn.004f9951
pop ecx
mov dword [ebp - 0x1c], edi
push dword [ebp - 0x18]
call fcn.004f9951
pop ecx
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x6fc]
push eax
lea ecx, [ebp - 0xe0]
call fcn.0048dc40
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004e839c
pop ecx
pop ecx
cmp dword [ebp - 0x8c], 0x10
mov esi, dword [ebp - 0xa0]
jae 0x4df51f
lea esi, [ebp - 0xa0]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.004e839c
pop ecx
pop ecx
cmp dword [ebp - 0xac], 0x10
mov eax, dword [ebp - 0xc0]
jae 0x4df546
lea eax, [ebp - 0xc0]
push esi
push eax
call fcn.004def12
pop ecx
pop ecx
mov bl, al
lea ecx, [ebp - 0xc4]
call fcn.00409b60
lea ecx, [ebp - 0xa4]
call fcn.00409b60
lea ecx, [ebp - 0xe0]
call fcn.00407f70
cmp dword [ebp - 0x60], 8
mov eax, dword [ebp - 0x74]
jae 0x4df57e
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test bl, bl
jne 0x4df59a
or dword [ebp - 0x34], 0xffffffff
push 0x607d58
lea eax, [ebp - 0x34]
jmp 0x4df130
lea ecx, [ebp - 0x78]
call fcn.00407f70
push dword [ebp + 8]
lea edx, [ebp - 0x4f4]
call fcn.0042cc10
push dword [ebp + 0xc]
lea edx, [ebp - 0x6fc]
call fcn.0042cc10
cmp dword [ebp - 0x28], edi
je 0x4df5cf
push dword [ebp - 0x28]
call fcn.004f744f
pop ecx
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
or dword [ebp - 0x50], 0xffffffff
push 0x607d58
lea eax, [ebp - 0x50]
jmp 0x4df130