Function at 0x140024c10
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x270
mov rax, qword [0x140092008]
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.140046a9c
lea r8, str.AMLTJOM_MailBox
mov edx, 0x2e
lea rcx, [rsp + 0x80]
call fcn.14004e50c
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.api_ms_win_core_file_l1_1_0.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140024eb6
lea r9d, [r14 + 0xd]
lea r8, str.AMLTJOM_MailBox
lea edx, [r14 + 0x1f]
lea rcx, [rsp + 0x48]
call fcn.14004e424
mov dword [rsp + 0x78], 1
mov qword [rsp + 0x70], rbx
test rbx, rbx
jne 0x140024cf0
lea r14d, [rbx + 5]
jmp 0x140024e84
test rdi, rdi
je 0x140024e48
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x290], rbp
mov r9, rbx
mov qword [rsp + 0x2a0], rsi
inc r9
cmp byte [rdi + r9], 0
jne 0x140024d13
inc r9
mov rdx, rbx
inc rdx
cmp byte [rdi + rdx], 0
jne 0x140024d23
inc rdx
lea rcx, [rsp + 0xb0]
mov r8, rdi
call fcn.14004e424
mov rax, rbx
inc rax
cmp byte [rdi + rax], 0
jne 0x140024d42
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 0x140024d60
inc r9
mov rdx, rbx
inc rdx
cmp byte [rdx + rdi + 0x12], 0
jne 0x140024d71
inc rdx
lea r8, [rdi + 0x12]
mov rcx, rsi
call fcn.14004e424
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rax + rdi + 0x12], 0
jne 0x140024d90
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 0x140024db0
inc r9
mov rdx, rbx
inc rdx
cmp byte [rdx + rdi + 0x34], 0
jne 0x140024dc1
inc rdx
lea r8, [rdi + 0x34]
mov rcx, rsi
call fcn.14004e424
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rax + rdi + 0x34], 0
jne 0x140024de0
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 0x140024e00
inc r9
mov rdx, rbx
inc rdx
cmp byte [rdi + rdx + 0x56], 0
jne 0x140024e11
inc rdx
lea r8, [rdi + 0x56]
lea rcx, [rsi + 1]
call fcn.14004e424
nop dword [rax + rax]
cmp byte [rdi + rbx + 0x57], 0
lea rbx, [rbx + 1]
jne 0x140024e30
mov byte [rsi + rbx + 1], 0
mov rsi, qword [rsp + 0x2a0]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.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.api_ms_win_core_file_l1_1_0.dll_WriteFile]
test eax, eax
jne 0x140024e97
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x140024e92
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, r14d
jmp 0x140024ebb
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140024eb2
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
jne 0x140024eb2
mov eax, 2
jmp 0x140024ebb
xor eax, eax
jmp 0x140024ebb
mov eax, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14003ce20
add rsp, 0x270
pop r14
pop rdi
pop rbx
ret