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

Disassembly:
push 0xffffffffffffffff
push 0x10070f24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x43c
push ebx
push ebp
push esi
push edi
mov ecx, 0x83
xor eax, eax
lea edi, [esp + 0x13a]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x20], ebx
mov word [esp + 0x138], 0x3e9
mov word [esp + 0x13a], 0x20c
mov word [esp + 0x24], 3
mov dword [esp + 0x2c], 0x98967f
mov esi, dword [esp + 0x45c]
lea edx, [esp + 0x24]
push edx
push str.MEDIA_CHECK_ID
mov eax, dword [esi + 4]
mov dword [esp + 0x45c], ebx
add eax, 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
mov eax, dword [esp + 0x2c]
jl 0x1002086d
mov dword [esp + 0x13c], eax
cmp eax, 0x895440
jle 0x10020885
cmp eax, 0x98967f
jge 0x10020885
lea eax, [esp + 0x24]
push eax
jmp 0x10020aca
mov eax, dword [esi + 4]
lea edx, [esp + 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
push 0xc
mov edi, eax
call fcn.1003bfe0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, ebx
mov byte [esp + 0x454], 1
je 0x100208d8
push edi
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [esi], eax
jne 0x100208da
cmp edi, ebx
je 0x100208da
push 0x8007000e
call fcn.1006e336
jmp 0x100208da
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x454], bl
mov dword [esp + 0x18], esi
jne 0x100208f3
push 0x8007000e
call fcn.1006e336
cmp esi, ebx
mov byte [esp + 0x454], 2
je 0x10020926
cmp dword [esi + 4], ebx
jne 0x10020921
mov eax, dword [esi]
push eax
call fcn.1006e458
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x10020921
cmp dword [esi], ebx
je 0x10020921
push 0x8007000e
call fcn.1006e336
mov eax, dword [esi + 4]
jmp 0x10020928
xor eax, eax
lea ecx, [esp + 0x244]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp esi, ebx
mov byte [esp + 0x454], bl
je 0x10020976
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10020976
mov eax, dword [esi]
cmp eax, ebx
je 0x1002095d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x1002096d
push eax
call fcn.1003c010
add esp, 4
push esi
call fcn.1003c010
add esp, 4
push 0x40000
call fcn.1003bfe0
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x10020993
lea eax, [esp + 0x24]
push eax
jmp 0x10020aca
push ebx
push 0x80
push 3
push ebx
push 1
lea ecx, [esp + 0x258]
push closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10020ac5
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ebx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 0x14]
xor ecx, ecx
xor esi, esi
or ecx, eax
or edx, esi
mov dword [esp + 0x1c], edx
ja 0x100209ea
cmp ecx, 0x4000
jbe 0x10020abe
lea eax, [esp + 0x10]
push ebx
push eax
push 0x3e800
push ebp
push edi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x10], ebx
je 0x10020abe
lea ecx, [esp + 0x348]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x34]
lea eax, [esp + 0x348]
push edx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push ebx
push 0x100
push 2
push ebx
push 1
lea ecx, [esp + 0x48]
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10020abe
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push ebx
push edx
push eax
push ebp
push esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10020abe
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x140]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x460]
lea edx, [esp + 0x138]
push 0x210
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
push ebp
mov esi, eax
call fcn.1003c010
add esp, 4
cmp esi, ebx
jge 0x10020abe
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x44c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x448
ret