Function at 0x40de72
Capabilities:
Write file on windows

Disassembly:
push 0x18
mov eax, 0x452969
call fcn.0043bf0a
push str.Notify...
lea ecx, [ebp - 0x10]
call fcn.0040215a
xor esi, esi
push esi
lea eax, [ebp - 0x10]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.0040e5e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push esi
call fcn.0043a4ae
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x10]
pop ecx
mov dword [ebp - 0x18], edx
cmp eax, esi
jbe 0x40ded9
cmp dword [ebp - 0x1c], eax
jbe 0x40ded9
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
cmp ecx, 0x64
jae 0x40ded9
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
push esi
push 3
push esi
push esi
push 0x40000000
push eax
call ebx
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x40e01e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
je 0x40df42
push str.Could_not_find_ARM_server_to_notify
lea ecx, [ebp + 8]
call fcn.0040215a
push 0x186a0
lea eax, [ebp + 8]
push eax
push 2
mov dword [ebp - 4], 1
call fcn.0040e5e0
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
jmp 0x40dfc3
mov eax, dword [edi + 0x14]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x40dfcb
push str.Wait_to_notify_ARM_Server_failed
lea ecx, [ebp + 8]
call fcn.0040215a
push 2
pop eax
push 0x186a0
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.0040e5e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push 3
pop ebx
push str.Notify_ARM_Server_failed:_invalid_handle
lea ecx, [ebp - 0x18]
call fcn.0040215a
push esi
lea eax, [ebp - 0x18]
push eax
push 2
mov dword [ebp - 4], 6
call fcn.0040e5e0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, ebx
call fcn.0043bfe2
ret 4
mov eax, dword [edi + 0x14]
push esi
push esi
push 3
push esi
push esi
push 0x40000000
push eax
call ebx
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x40e01e
push str.Failed_to_contact_ARM_Server_to_notify
lea ecx, [ebp + 8]
call fcn.0040215a
push 3
pop ebx
push 0x186a0
lea eax, [ebp + 8]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040e5e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
jmp 0x40df8c
mov dword [ebp - 0x20], esi
cmp dword [ebp + 8], esi
je 0x40e02f
mov dword [ebp + 8], 0xc9
jmp 0x40e040
mov eax, dword [0x48a504]
neg eax
sbb eax, eax
add eax, 0xcb
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 0x20]
push eax
push 4
pop ebx
push ebx
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x14]
test eax, eax
jne 0x40e091
push str.Notify_ARM_Server:_failed_WriteFile
call fcn.0040215a
push 0x186a0
lea eax, [ebp - 0x14]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040e5e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push 3
pop ebx
jmp 0x40e0c2
push 2
pop ebx
push str.WriteFile_succeeded_in_Notify
call fcn.0040215a
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebp - 4], 5
call fcn.0040e5e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x10], eax
jmp 0x40dfba