Function at 0x4255f0
Capabilities:
Create mailslot
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
push ebx
push esi
push edi
push 0
push 0xffffffffffffffff
push 0
push str..mailslotKSFULL_Call1
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.DLL_CreateMailslotW]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x425628
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push eax
push eax
push 1
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x1c]
mov cl, byte [ebp + 8]
mov dl, byte [ebp + 0xc]
mov byte [esp + 0x38], cl
mov ecx, dword [esi]
mov byte [esp + 0x39], dl
mov edx, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], eax
mov al, byte [ebp + 0x10]
mov dword [esp + 0x3b], ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x3f], edx
mov edx, dword [ebx]
mov byte [esp + 0x3a], al
mov eax, dword [edi]
mov dword [esp + 0x5f], ecx
mov dword [esp + 0x7b], edx
mov dword [esp + 0x5b], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x7f], eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x9b], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x9f], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x43], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x47], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x63], ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0x67], edx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x83], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x87], edx
mov edx, dword [eax + 0xc]
push 0
mov dword [esp + 0xa7], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0xab], edx
mov edx, dword [esi + 0x14]
push 0x80
push 3
mov dword [esp + 0x57], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x5b], edx
mov edx, dword [edi + 0x14]
push 0
mov dword [esp + 0x7b], ecx
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x7f], edx
mov edx, dword [ebx + 0x14]
push 1
mov dword [esp + 0x9f], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0xa3], edx
mov edx, dword [eax + 0x14]
push 0x40000000
push str..mailslotKSFULL_Call0
mov dword [esp + 0x30], 0
mov dword [esp + 0xc7], ecx
mov dword [esp + 0xcb], edx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x425829
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x83
lea edx, [esp + 0x44]
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x42581c
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push 0x83
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x4257be
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
jne 0x42581c
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
movsx ecx, byte [esp + 0x38]
test ecx, ecx
mov dword [esp + 0x14], ecx
jle 0x42581c
lea edx, [esp + 0x7b]
sub esi, edx
lea edx, [esp + 0x7b]
sub edi, edx
lea edx, [esp + 0x7b]
lea eax, [esp + 0x7b]
sub ebx, edx
mov edi, edi
mov edx, dword [eax - 0x40]
mov dword [esi + eax], edx
mov edx, dword [eax - 0x3c]
mov dword [esi + eax + 4], edx
mov edx, dword [eax - 0x20]
mov dword [edi + eax], edx
mov edx, dword [eax - 0x1c]
mov dword [edi + eax + 4], edx
mov edx, dword [eax]
mov dword [ebx + eax], edx
mov edx, dword [eax + 4]
mov dword [ebx + eax + 4], edx
add eax, 8
dec ecx
jne 0x4257f0
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x425840
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
je 0x425840
push 0x30
push 0x4ab978
call sub.KSCommon.dll_int___stdcall_MsgBox_unsigned_short_int_const___unsigned_int_
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c