Function at 0x11d2a
Capabilities:
Encode data using xor
Read file on windows
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 0x76734d4d
mov esi, 0x208
push esi
xor ebx, ebx
push 1
mov dword [ebp - 4], ebx
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 8], edi
je 0x11f4e
push esi
push ebx
push edi
call sub.ntoskrnl.exe_memset
push 0x15650
push 0x14c32
push esi
push edi
call fcn.000109fc
add esp, 0x1c
push edi
mov edi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x20]
push eax
call edi
cmp byte [ebp + 0xc], bl
lea eax, [ebp - 0x20]
mov dword [ebp - 0x40], 0x18
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], 0x240
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
jne 0x11dc8
push 0x60
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x80100000
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwOpenFile]
test eax, eax
jge 0x11e58
push ebx
push ebx
push 0x60
push 5
push 2
push 0x80
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x40100000
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jl 0x11f44
push esi
push ebx
push dword [ebp - 8]
call sub.ntoskrnl.exe_memset
push dword [ebp + 8]
push 0x14c32
push esi
push dword [ebp - 8]
call fcn.000109fc
add esp, 0x1c
push dword [ebp - 8]
lea eax, [ebp - 0x20]
push eax
call edi
push 0x60
lea eax, [ebp - 0x20]
mov dword [ebp - 0x38], eax
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x80100000
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x40], 0x18
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], 0x240
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenFile]
test eax, eax
jge 0x11e66
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x11f44
mov edi, dword [sym.imp.ntoskrnl.exe_ZwReadFile]
push ebx
push ebx
push 4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call edi
test eax, eax
jl 0x11f16
mov eax, dword [ebp - 4]
push ebx
add eax, 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
call edi
test eax, eax
jl 0x11f16
push 0x76734d4d
push dword [ebp - 4]
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x11f16
push ebx
push ebx
push dword [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call edi
xor edi, edi
cmp dword [ebp - 4], ebx
jbe 0x11ef4
mov eax, dword [ebp + 0xc]
add eax, edi
mov cl, byte [eax]
xor cl, 0x73
sub cl, 0x57
inc edi
mov byte [eax], cl
cmp edi, dword [ebp - 4]
jb 0x11edf
push ebx
push ebx
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push dword [ebp + 0xc]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push dword [ebp - 0x10]
mov edi, dword [sym.imp.ntoskrnl.exe_ZwClose]
call edi
push dword [ebp - 0xc]
call edi
push 0x15650
push 0x14c32
push esi
push dword [ebp - 8]
call fcn.000109fc
add esp, 0x10
push dword [ebp - 8]
call fcn.000110da
push ebx
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
pop edi
pop esi
pop ebx
leave
ret 8