Function at 0x1000fa10
Capabilities:
Delete file
Encode data using xor
Encrypt data using aes
Encrypt data using rc4 ksa
Get file size
Read file on windows
Reference aes constants
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x100f18cb
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x4d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10139d00]
xor eax, esp
push eax
lea eax, [esp + 0x4f4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x504]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x1b], 0
mov dword [esp + 0x34], vtable.CRijndael.0
mov byte [esp + 0x38], 0
mov dword [esp + 0x4fc], 0
test eax, eax
je 0x1000fff6
test ecx, ecx
je 0x1000fff6
mov ecx, dword [0x101e05ac]
mov edx, dword [0x101e05b0]
xor eax, eax
mov dword [esp + 0x4ad], eax
mov dword [esp + 0x4b1], eax
mov dword [esp + 0x4b5], eax
mov dword [esp + 0x4b9], eax
mov esi, 0x20
mov dword [esp + 0x4bd], eax
mov dword [esp + 0x4c1], eax
mov dword [esp + 0x4c5], eax
mov word [esp + 0x4c9], ax
mov byte [esp + 0x4cb], al
mov eax, dword [0x101e05a8]
mov dword [esp + 0x4b0], ecx
push esi
lea ecx, [esp + 0x4b0]
mov dword [esp + 0x4b8], edx
mov dword [esp + 0x4b0], eax
mov eax, dword [0x101e05b4]
push ecx
lea edx, [esp + 0x410]
push edx
mov dword [esp + 0x4c4], eax
mov dword [esp + 0x408], esi
mov dword [esp + 0x40c], esi
call fcn.100d4950
mov eax, dword [esp + 0x40c]
push eax
lea ecx, [esp + 0x4bc]
push ecx
lea edx, [esp + 0x43c]
push edx
call fcn.100d4950
mov ecx, dword [esp + 0x414]
mov eax, dword [esp + 0x418]
add esp, 0x18
cmp ecx, 0x10
je 0x1000fb6a
cmp ecx, 0x18
je 0x1000fb61
lea ebx, [esi - 0x12]
jmp 0x1000fb80
xor ebx, ebx
cmp eax, esi
sete bl
jmp 0x1000fb7c
cmp eax, 0x10
jne 0x1000fb74
lea ebx, [eax - 6]
jmp 0x1000fb80
xor ebx, ebx
cmp eax, 0x18
setne bl
lea ebx, [ebx + ebx + 0xc]
cdq
and edx, 3
add eax, edx
mov ebp, eax
sar ebp, 2
xor edx, edx
mov dword [esp + 0x404], ebx
mov dword [esp + 0x20], ebp
test ebx, ebx
jl 0x1000fbbb
lea esi, [esp + 0x3c]
test ebp, ebp
jle 0x1000fbb3
mov ecx, ebp
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x404]
inc edx
add esi, 0x20
cmp edx, ebx
jle 0x1000fba0
xor edx, edx
test ebx, ebx
jl 0x1000fbe3
lea esi, [esp + 0x21c]
test ebp, ebp
jle 0x1000fbdb
mov ecx, ebp
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x404]
inc edx
add esi, 0x20
cmp edx, ebx
jle 0x1000fbc8
lea eax, [ebx + 1]
imul eax, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3fc]
cdq
and edx, 3
add eax, edx
mov esi, eax
sar esi, 2
lea ecx, [esp + 0x448]
mov eax, 0x101e05a8
test esi, esi
jle 0x1000fc44
mov edx, esi
movzx edi, byte [eax]
shl edi, 0x18
mov dword [ecx], edi
movzx edi, byte [eax + 1]
inc eax
shl edi, 0x10
or dword [ecx], edi
movzx edi, byte [eax + 1]
inc eax
shl edi, 8
or dword [ecx], edi
movzx edi, byte [eax + 1]
or dword [ecx], edi
inc eax
inc eax
add ecx, 4
sub edx, 1
jne 0x1000fc11
mov ebx, dword [esp + 0x404]
xor edi, edi
test esi, esi
jle 0x1000fc89
cmp edi, dword [esp + 0x1c]
jge 0x1000fc82
mov eax, edi
cdq
idiv ebp
mov ebx, dword [esp + edi*4 + 0x448]
inc edi
lea ecx, [edx + eax*8]
mov dword [esp + ecx*4 + 0x3c], ebx
mov ecx, dword [esp + 0x404]
sub ecx, eax
cmp edi, esi
mov eax, dword [esp + edi*4 + 0x444]
lea edx, [edx + ecx*8]
mov dword [esp + edx*4 + 0x21c], eax
jl 0x1000fc4a
mov ebx, dword [esp + 0x404]
cmp edi, dword [esp + 0x1c]
jge 0x1000fe32
mov edx, 0x10127dc0
jmp 0x1000fca0
mov eax, dword [esp + esi*4 + 0x444]
movsx ebx, byte [edx]
mov ecx, eax
sar ecx, 0x10
and ecx, 0xff
movsx ecx, byte [ecx + str.cw]
xor ecx, ebx
mov ebx, eax
sar ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + str.cw]
shl ecx, 8
xor ecx, ebx
mov ebx, eax
and ebx, 0xff
movzx ebx, byte [ebx + str.cw]
sar eax, 0x18
shl ecx, 8
and eax, 0xff
movzx eax, byte [eax + str.cw]
xor ecx, ebx
shl ecx, 8
xor ecx, eax
xor dword [esp + 0x448], ecx
inc edx
mov dword [esp + 0x30], edx
mov eax, 1
cmp esi, 8
je 0x1000fd40
cmp esi, eax
jle 0x1000fdd4
jmp 0x1000fd20
mov ecx, dword [esp + eax*4 + 0x444]
xor dword [esp + eax*4 + 0x448], ecx
inc eax
cmp eax, esi
jl 0x1000fd20
jmp 0x1000fdd4
mov ecx, dword [esp + eax*4 + 0x444]
xor dword [esp + eax*4 + 0x448], ecx
inc eax
cmp eax, 4
jl 0x1000fd40
mov eax, dword [esp + 0x454]
mov ecx, eax
sar ecx, 0x18
and ecx, 0xff
movsx ecx, byte [ecx + str.cw]
mov ebx, eax
sar ebx, 0x10
and ebx, 0xff
movzx ebx, byte [ebx + str.cw]
shl ecx, 8
xor ecx, ebx
mov ebx, eax
sar ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + str.cw]
shl ecx, 8
and eax, 0xff
movzx eax, byte [eax + str.cw]
xor ecx, ebx
shl ecx, 8
xor ecx, eax
xor dword [esp + 0x458], ecx
mov eax, 5
jmp 0x1000fdc0
mov ecx, dword [esp + eax*4 + 0x444]
xor dword [esp + eax*4 + 0x448], ecx
inc eax
cmp eax, 8
jl 0x1000fdc0
xor ecx, ecx
test esi, esi
jle 0x1000fe21
lea ebx, [ebx]
cmp edi, dword [esp + 0x1c]
jge 0x1000fe2b
mov eax, edi
cdq
idiv ebp
mov ebp, dword [esp + ecx*4 + 0x448]
inc ecx
inc edi
lea ebx, [edx + eax*8]
mov dword [esp + ebx*4 + 0x3c], ebp
mov ebx, dword [esp + 0x404]
mov ebp, dword [esp + 0x20]
sub ebx, eax
cmp ecx, esi
mov eax, dword [esp + ecx*4 + 0x444]
lea edx, [edx + ebx*8]
mov dword [esp + edx*4 + 0x21c], eax
jl 0x1000fde0
mov edx, dword [esp + 0x30]
cmp edi, dword [esp + 0x1c]
jl 0x1000fca0
mov ebx, dword [esp + 0x404]
cmp ebx, 1
mov dword [esp + 0x20], 1
jle 0x1000feb6
lea esi, [esp + 0x23c]
test ebp, ebp
jle 0x1000fea6
mov ecx, esi
mov edx, ebp
mov edi, edi
mov eax, dword [ecx]
mov edi, eax
sar edi, 0x18
and edi, 0xff
mov edi, dword [edi*4 + 0x10126dc0]
mov ebx, eax
sar ebx, 0x10
and ebx, 0xff
xor edi, dword [ebx*4 + 0x101271c0]
mov ebx, eax
sar ebx, 8
and ebx, 0xff
xor edi, dword [ebx*4 + 0x101275c0]
and eax, 0xff
xor edi, dword [eax*4 + 0x101279c0]
add ecx, 4
sub edx, 1
mov dword [ecx - 4], edi
jne 0x1000fe50
mov ebx, dword [esp + 0x404]
mov eax, dword [esp + 0x20]
inc eax
add esi, 0x20
cmp eax, ebx
mov dword [esp + 0x20], eax
jl 0x1000fe46
mov ecx, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ecx
mov byte [esp + 0x54], 1
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x1000ffc8
lea edx, [esp + 0x24]
push edx
xor ebp, ebp
push esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [esp + 0x2c]
push ebp
push 0x80
push 2
push ebp
push 1
push 0x40000000
push eax
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x1000ffba
push ebp
lea ecx, [esp + 0x20]
push ecx
push 0x20
lea edx, [esp + 0x4b8]
push edx
mov dword [esp + 0x2c], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
xor bl, bl
call ebp
test eax, eax
je 0x1000ffaf
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1000ffaf
cmp eax, 0x20
jne 0x1000ffd9
add dword [esp + 0x24], 0xffffffe0
adc dword [esp + 0x28], 0xffffffff
test bl, bl
jne 0x1000ff61
mov bl, 1
push 0x20
lea eax, [esp + 0x4d0]
push eax
lea ecx, [esp + 0x4b4]
push ecx
lea eax, [esp + 0x40]
call fcn.10032470
mov eax, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x4d8]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0x20]
push edx
push 0x20
lea eax, [esp + 0x4b8]
push eax
push esi
call ebp
test eax, eax
jne 0x1000ff40
push edi
mov byte [esp + 0x1f], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x1b], 0
jne 0x1000ffd3
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, byte [esp + 0x1b]
jmp 0x1000fff8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, byte [esp + 0x1b]
jmp 0x1000fff8
xor al, al
mov ecx, dword [esp + 0x4f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4d8]
xor ecx, esp
call fcn.100d0738
add esp, 0x4ec
ret 4