Function at 0x41e3a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8d53
mov eax, dword fs:[0]
push eax
mov eax, 0x4704
call fcn.00477a70
mov eax, dword [0x4f9340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
push 0x4c1fbc
lea ecx, [ebp - 0x4708]
call fcn.00418464
mov byte [ebp - 4], 2
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x4708]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x470c], eax
cmp eax, 0xffffffff
je 0x41e5fa
push 0xffffffffffffffff
push dword [ebp - 0x4708]
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x41e5f4
mov esi, 0x800
push esi
mov dword [ebp - 0x4700], ebx
call fcn.00474aa6
mov dword [ebp - 0x4704], eax
mov byte [ebp - 4], 4
push esi
push ebx
push dword [ebp - 0x4704]
call fcn.00473120
lea eax, [ebp - 0x4710]
push eax
mov eax, dword [ebp - 0x4700]
mov ecx, esi
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x4704]
add ecx, eax
push ecx
mov dword [ebp - 0x4710], 0x1000
call fcn.00427529
add dword [ebp - 0x4700], eax
lea eax, [ebp + 0x10]
push eax
mov eax, esi
sub eax, dword [ebp - 0x4700]
push eax
mov eax, dword [ebp - 0x4704]
add eax, dword [ebp - 0x4700]
push eax
call fcn.00427551
add dword [ebp - 0x4700], eax
lea eax, [ebp + 8]
push eax
mov eax, esi
sub eax, dword [ebp - 0x4700]
push eax
mov eax, dword [ebp - 0x4704]
add eax, dword [ebp - 0x4700]
push eax
call fcn.00432048
add dword [ebp - 0x4700], eax
lea eax, [ebp + 0xc]
push eax
mov eax, esi
sub eax, dword [ebp - 0x4700]
push eax
mov eax, dword [ebp - 0x4704]
add eax, dword [ebp - 0x4700]
push eax
call fcn.00432048
add dword [ebp - 0x4700], eax
mov eax, dword [ebp - 0x4700]
add esp, 0x40
and eax, 7
je 0x41e50d
push 8
pop ecx
sub ecx, eax
add dword [ebp - 0x4700], ecx
mov edi, 0xfff
push edi
lea eax, [ebp - 0x100f]
push ebx
push eax
mov byte [ebp - 0x1010], bl
call fcn.00473120
push edi
lea eax, [ebp - 0x200f]
push ebx
push eax
mov byte [ebp - 0x2010], bl
call fcn.00473120
add esp, 0x18
push ebx
push 0x4c1fe8
lea ecx, [ebp - 0x46fc]
call fcn.00427f27
push ebx
push dword [ebp - 0x4700]
lea ecx, [ebp - 0x46fc]
push dword [ebp - 0x4704]
call fcn.0042d908
mov edi, dword [ebp - 0x4700]
shl edi, 3
push edi
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x4011]
push eax
lea ecx, [ebp - 0x46fc]
call fcn.00425fbe
push edi
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x2010]
push eax
lea ecx, [ebp - 0x46fc]
call fcn.00426056
lea eax, [ebp - 0x2010]
push eax
push esi
push dword [ebp - 0x4704]
call fcn.004778d5
add esp, 0xc
push ebx
lea eax, [ebp - 0x4700]
push eax
push esi
push dword [ebp - 0x4704]
push dword [ebp - 0x470c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x470c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4704]
call fcn.004287ad
jmp 0x41e5fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4708]
add ecx, 0xfffffff0
call fcn.00409a10
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00409a10
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00409a10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00473108
leave
ret