Function at 0x14002b780
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, qword [rbp + 0xd0]
or rbx, 0xffffffffffffffff
mov qword [rbp - 0x78], rcx
mov rcx, rdi
mov r12, r9
mov r13, r8
mov qword [rbp - 0x70], rdx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x5c], ebx
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x74], ebx
call fcn.14002c6e0
test eax, eax
jne 0x14002ba91
xor eax, eax
lea rcx, [rsp + 0x6c]
mov qword [rsp + 0x178], rsi
mov qword [rsp + 0x170], r14
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x7c], eax
mov byte [rbp - 0x48], al
mov qword [rbp - 0x47], rax
mov qword [rbp - 0x3f], rax
mov qword [rbp - 0x37], rax
mov dword [rbp - 0x2f], eax
mov word [rbp - 0x2b], ax
mov byte [rbp - 0x29], al
mov byte [rbp - 0x68], al
mov qword [rbp - 0x67], rax
mov qword [rbp - 0x5f], rax
mov qword [rbp - 0x57], rax
mov dword [rbp - 0x4f], eax
mov word [rbp - 0x4b], ax
mov byte [rbp - 0x49], al
call fcn.14001d008
mov esi, dword [rsp + 0x6c]
lea r8d, [rbx + 2]
lea rdx, [0x14010e8e0]
lea rcx, [rbp - 0x68]
mov dword [rbp - 0x80], esi
call fcn.14000ca3c
lea rdx, [0x14010e8e0]
lea rcx, [rbp - 0x48]
mov r8d, esi
call fcn.14000ca3c
lea rax, [rbp - 0x68]
mov rcx, rbx
inc rcx
cmp byte [rax + rcx], 0
jne 0x14002b877
lea r8, [rbp - 0x48]
mov rax, rbx
nop word [rax + rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x14002b890
add eax, 0x10
mov edx, 1
add ecx, eax
call fcn.140022b68
lea rdx, str.___FNLSVer
mov r8, rdi
mov rcx, rax
mov r14, rax
call fcn.14002a840
lea rdx, [rbp - 0x68]
mov r8, rdi
mov rcx, r14
call fcn.14002a5f0
lea rdx, [rbp - 0x48]
mov r8, rdi
mov rcx, r14
call fcn.14002a5f0
nop dword [rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x14002b8e0
lea rcx, [rsp + 0x60]
mov rdx, rdi
call fcn.14002bbc0
mov esi, eax
test eax, eax
jne 0x14002b9c8
mov rcx, qword [rsp + 0x60]
lea r9, [rbp - 0x7c]
mov r8d, ebx
mov rdx, r14
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14002b961
lea esi, [rax + 2]
test rdi, rdi
je 0x14002b961
mov rax, qword [rdi + 8]
test rax, rax
je 0x14002b941
mov rcx, qword [rdi]
lea edx, [rsi + 0x17]
mov r9d, 0xb1
mov r8d, esi
call rax
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14002b961
mov rcx, qword [rdi]
lea r8, str.Not_able_to_write_to_the_named_pipe
mov r9d, 0xb2
mov edx, reloc.WS2_32.dll_inet_ntoa
call rax
test esi, esi
jne 0x14002b9c8
mov edx, dword [rbp - 0x80]
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x7c]
lea r8, [rbp - 0x20]
mov qword [rsp + 0x20], rdi
call fcn.14002be10
mov esi, eax
test eax, eax
je 0x14002b9c8
test rdi, rdi
je 0x14002b9c8
mov rax, qword [rdi + 8]
test rax, rax
je 0x14002b9a8
mov rcx, qword [rdi]
mov edx, 0x19
mov r9d, 0x24a
lea r8d, [rdx - 0x15]
call rax
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14002b9c8
mov rcx, qword [rdi]
lea r8, str.FNLS_Version_info_not_available___incompatible_version_of_the_service
mov r9d, 0x24b
mov edx, reloc.WS2_32.dll_inet_ntoa
call rax
mov rcx, r14
call fcn.1400108e4
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x170]
test esi, esi
jne 0x14002ba87
lea rax, [rsp + 0x74]
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x68]
lea rdx, [0x14010ea28]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.14000d748
cmp eax, 8
je 0x14002ba4b
lea eax, [rsi + 3]
jmp 0x14002ba89
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14002ba5a
mov eax, dword [rsp + 0x58]
mov dword [rcx], eax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14002ba69
mov eax, dword [rsp + 0x54]
mov dword [rcx], eax
test r13, r13
je 0x14002ba76
mov ecx, dword [rsp + 0x50]
mov dword [r13], ecx
test r12, r12
je 0x14002ba83
mov ecx, dword [rsp + 0x5c]
mov dword [r12], ecx
xor eax, eax
jmp 0x14002ba89
mov eax, esi
mov rsi, qword [rsp + 0x178]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14000c9f0
add rsp, 0x180
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret