Function at 0x7ff6d8e82930
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x270
mov rax, qword [0x7ff6d8eee010]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
mov byte [rsp + 0x48], 0
mov edx, 0x2e
mov qword [rsp + 0x70], 0
lea r8, str..mailslot_
mov dword [rsp + 0x78], 1
lea rcx, [rsp + 0x80]
call fcn.7ff6d8ea475c
lea r8, str.AMLTJOM_MailBox
mov edx, 0x2e
lea rcx, [rsp + 0x80]
call fcn.7ff6d8eac68c
mov r14d, 3
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x80]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
mov edx, 0x40000000
lea r8d, [r14 - 2]
call qword [sym.imp.KERNEL32.DLL_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x7ff6d8e82bd6
lea r9d, [r14 + 0xd]
lea r8, str.AMLTJOM_MailBox
lea edx, [r14 + 0x1f]
lea rcx, [rsp + 0x48]
call fcn.7ff6d8eac5b8
mov dword [rsp + 0x78], 1
mov qword [rsp + 0x70], rbx
test rbx, rbx
jne 0x7ff6d8e82a10
lea r14d, [rbx + 5]
jmp 0x7ff6d8e82ba4
test rdi, rdi
je 0x7ff6d8e82b68
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x290], rbp
mov r9, rbx
mov qword [rsp + 0x2a0], rsi
inc r9
cmp byte [rdi + r9], 0
jne 0x7ff6d8e82a33
inc r9
mov rdx, rbx
inc rdx
cmp byte [rdi + rdx], 0
jne 0x7ff6d8e82a43
inc rdx
lea rcx, [rsp + 0xb0]
mov r8, rdi
call fcn.7ff6d8eac5b8
mov rax, rbx
inc rax
cmp byte [rdi + rax], 0
jne 0x7ff6d8e82a62
lea rsi, [rsp + 0xb0]
mov r9, rbx
add rsi, rax
mov byte [rsi], 0x2c
inc rsi
nop
inc r9
cmp byte [r9 + rdi + 0x12], 0
jne 0x7ff6d8e82a80
inc r9
mov rdx, rbx
inc rdx
cmp byte [rdx + rdi + 0x12], 0
jne 0x7ff6d8e82a91
inc rdx
lea r8, [rdi + 0x12]
mov rcx, rsi
call fcn.7ff6d8eac5b8
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rax + rdi + 0x12], 0
jne 0x7ff6d8e82ab0
add rsi, rax
mov r9, rbx
mov byte [rsi], 0x2c
inc rsi
nop word [rax + rax]
inc r9
cmp byte [r9 + rdi + 0x34], 0
jne 0x7ff6d8e82ad0
inc r9
mov rdx, rbx
inc rdx
cmp byte [rdx + rdi + 0x34], 0
jne 0x7ff6d8e82ae1
inc rdx
lea r8, [rdi + 0x34]
mov rcx, rsi
call fcn.7ff6d8eac5b8
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rax + rdi + 0x34], 0
jne 0x7ff6d8e82b00
mov rbp, qword [rsp + 0x290]
add rsi, rax
mov r9, rbx
mov byte [rsi], 0x2c
nop dword [rax + rax]
inc r9
cmp byte [rdi + r9 + 0x56], 0
jne 0x7ff6d8e82b20
inc r9
mov rdx, rbx
inc rdx
cmp byte [rdi + rdx + 0x56], 0
jne 0x7ff6d8e82b31
inc rdx
lea r8, [rdi + 0x56]
lea rcx, [rsi + 1]
call fcn.7ff6d8eac5b8
nop dword [rax + rax]
cmp byte [rdi + rbx + 0x57], 0
lea rbx, [rbx + 1]
jne 0x7ff6d8e82b50
mov byte [rsi + rbx + 1], 0
mov rsi, qword [rsp + 0x2a0]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.DLL_lstrlenA]
mov rcx, qword [rsp + 0x70]
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0x20], 0
lea r8d, [rax + 1]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x7ff6d8e82bb7
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x7ff6d8e82bb2
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, r14d
jmp 0x7ff6d8e82bdb
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x7ff6d8e82bd2
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
jne 0x7ff6d8e82bd2
mov eax, 2
jmp 0x7ff6d8e82bdb
xor eax, eax
jmp 0x7ff6d8e82bdb
mov eax, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.7ff6d8e98b50
add rsp, 0x270
pop r14
pop rdi
pop rbx
ret