Function at 0x140001f40
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rbp
push rsi
lea rbp, [r11 - 0x6a8]
sub rsp, 0x798
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rbp + 0x660], rax
cmp dword [r8], 0
mov rsi, rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x40], rcx
je 0x140002480
lea rax, str.include__Windows.h__ninclude__stdio.h__ninclude__Ip2string.h__npragma_comment_lib___Ntdll.lib___n_nifndef_NT_SUCCESS_ndefine_NT_SUCCESS_Status_____NTSTATUS__Status_____0__nendif_n
mov qword [r11 + 0x10], rbx
movups xmm0, xmmword [rax]
lea rcx, [rbp + 0x60]
mov qword [r11 - 0x18], rdi
movups xmm1, xmmword [rax + 0x10]
mov qword [r11 - 0x30], r14
lea rdx, str.BOOL_DecodeIPv6Fuscation_const_char_IPV6____PVOID_LpBaseAddress___n_tPCSTR_Terminator__NULL__n_tPVOID_LpBaseAddress2__NULL__n_tNTSTATUS_STATUS__n_tint_i__0__n_tfor__int_j__0__j___ElementsNumber__j___n_t_tLpBaseAddress2__PVOID__ULONG_PTR_LpBaseAddress__i___n_t_tSTATUS__RtlIpv6StringToAddressA__PCSTR_IPV6_j___Terminator___in6_addr_LpBaseAddress2___n_t_tif___NT_SUCCESS_STATUS____n_t_t_tprintf______RtlIpv6StringToAddressA_failed_for__s_result__x___IPV6_j___STATUS___n_t_t_treturn_FALSE__n_t_t_n_t_telse__n_t_t_ti__i__16__n_t_t_n_t_n_treturn_TRUE__n_n
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x80]
movups xmmword [rcx + 0x60], xmm0
movups xmm0, xmmword [rax + 0x70]
movups xmmword [rcx + 0x70], xmm0
movups xmm0, xmmword [rax + 0x90]
movups xmmword [rcx + 0x80], xmm1
movups xmm1, xmmword [rax + 0xa0]
mov eax, dword [rax + 0xb0]
movups xmmword [rcx + 0x90], xmm0
movups xmmword [rcx + 0xa0], xmm1
mov dword [rcx + 0xb0], eax
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp + 0x154], rax
mov dword [rbp + 0x15c], eax
lea rcx, [rbp + 0x260]
mov eax, 4
movups xmmword [rbp + 0x114], xmm0
movups xmmword [rbp + 0x124], xmm0
movups xmmword [rbp + 0x134], xmm0
movups xmmword [rbp + 0x144], xmm0
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x140002050
mov rax, qword [rdx]
mov r8d, 0x1f1
mov qword [rcx], rax
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
movzx eax, word [rdx + 0xc]
mov word [rcx + 0xc], ax
movzx eax, byte [rdx + 0xe]
xor edx, edx
mov byte [rcx + 0xe], al
lea rcx, [rbp + 0x46f]
call fcn.140028f30
mov rbx, 0xffffffffffffffff
lea rax, [rbp + 0x60]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400020e0
mov rcx, qword [0x14003d988]
lea rdx, [rbp + 0x60]
xor r14d, r14d
xor r9d, r9d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x14003d988]
lea r8d, [r14 + 0x21]
xor r9d, r9d
mov qword [rsp + 0x20], r14
lea rdx, str._nconst_char__IPv6Shell_______n_t
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x788], r12
lea rdx, [rsi + 0xd]
mov rsi, qword [rsp + 0x40]
lea edi, [r14 + 0x10]
mov eax, r14d
mov qword [rsp + 0x780], r13
mov dword [rsp + 0x38], eax
mov r8d, r14d
mov dword [rsp + 0x3c], r14d
mov qword [rsp + 0x770], r15
nop word [rax + rax]
lea rcx, [rdx + 1]
mov qword [rsp + 0x48], rcx
cmp edi, 0x10
jne 0x14000233e
movzx eax, byte [rdx - 1]
inc r8d
movzx r13d, byte [rdx - 4]
movzx r12d, byte [rdx - 3]
movzx r15d, byte [rdx - 2]
movzx r14d, byte [rdx - 9]
movzx esi, byte [rdx - 8]
movzx edi, byte [rdx - 7]
movzx ebx, byte [rdx - 6]
movzx r9d, byte [rdx - 0xc]
mov byte [rsp + 0x34], al
movzx eax, byte [rdx]
mov byte [rsp + 0x33], al
movzx eax, byte [rcx]
movzx ecx, byte [rdx - 0xb]
mov byte [rsp + 0x32], al
movzx eax, byte [rdx + 2]
mov byte [rsp + 0x31], al
movzx eax, byte [rdx - 5]
mov byte [rsp + 0x30], al
movzx eax, byte [rdx - 0xa]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x3c], r8d
movzx r8d, byte [rdx - 0xd]
lea rdx, str._0.2X_0.2X:_0.2X_0.2X
mov dword [rsp + 0x20], ecx
lea rcx, [rbp - 0x48]
call fcn.1400011c0
mov r9d, esi
mov dword [rsp + 0x28], ebx
mov r8d, r14d
mov dword [rsp + 0x20], edi
lea rdx, str._0.2X_0.2X:_0.2X_0.2X
lea rcx, [rbp - 0x68]
call fcn.1400011c0
movzx r8d, byte [rsp + 0x30]
lea rdx, str._0.2X_0.2X:_0.2X_0.2X
mov r9d, r13d
mov dword [rsp + 0x28], r15d
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x20], r12d
call fcn.1400011c0
movzx eax, byte [rsp + 0x31]
lea rdx, str._0.2X_0.2X:_0.2X_0.2X
movzx ecx, byte [rsp + 0x32]
movzx r9d, byte [rsp + 0x33]
movzx r8d, byte [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x58]
call fcn.1400011c0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x68]
lea rax, [rsp + 0x78]
lea r8, [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea rdx, str._s:_s:_s:_s
lea rcx, [rbp + 0x160]
call fcn.1400011c0
mov rsi, qword [rsp + 0x40]
lea r8, [rbp + 0x160]
movsxd rax, dword [rsp + 0x38]
lea rcx, [rsi - 0x10]
cmp rax, rcx
lea rcx, [rbp - 0x20]
je 0x140002359
lea rdx, str.__s__
call fcn.1400011c0
mov rbx, 0xffffffffffffffff
lea rax, [rbp - 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400022c6
mov rcx, qword [0x14003d988]
lea rdx, [rbp - 0x20]
xor r14d, r14d
xor r9d, r9d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [rsp + 0x3c]
lea edi, [r14 + 1]
mov eax, 0x2aaaaaab
imul r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*2]
add ecx, ecx
cmp r8d, ecx
jne 0x140002333
mov rcx, qword [0x14003d988]
lea r8d, [r14 + 2]
xor r9d, r9d
mov qword [rsp + 0x20], r14
lea rdx, [0x14003527c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x48]
mov eax, dword [rsp + 0x38]
jmp 0x140002343
inc edi
mov rdx, rcx
inc eax
mov dword [rsp + 0x38], eax
cdqe
cmp rax, rsi
ja 0x140002399
mov eax, dword [rsp + 0x38]
jmp 0x140002160
lea rdx, str.__s_
call fcn.1400011c0
mov rbx, 0xffffffffffffffff
lea rax, [rbp - 0x20]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140002373
mov rcx, qword [0x14003d988]
lea rdx, [rbp - 0x20]
xor r14d, r14d
xor r9d, r9d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x14003d988]
lea rdx, str._n__n
xor r9d, r9d
mov qword [rsp + 0x20], r14
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [rsp + 0x3c]
lea rdx, str.define_ElementsNumber__d_ndefine_SizeOfShellcode__d_n_n
mov r9d, esi
lea rcx, [rbp + 0x1e0]
call fcn.1400011c0
mov r15, qword [rsp + 0x770]
lea rax, [rbp + 0x1e0]
mov r13, qword [rsp + 0x780]
mov r8, rbx
mov r12, qword [rsp + 0x788]
mov rdi, qword [rsp + 0x790]
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140002400
mov rcx, qword [0x14003d988]
lea rdx, [rbp + 0x1e0]
xor r9d, r9d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rax, [rbp + 0x260]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140002430
mov rcx, qword [0x14003d988]
lea rdx, [rbp + 0x260]
mov r8, rbx
mov qword [rsp + 0x20], r14
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x14003d988]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x50]
mov r14, qword [rsp + 0x778]
mov rbx, qword [rsp + 0x7b8]
mov dword [rax], 1
mov rcx, qword [rbp + 0x660]
xor rcx, rsp
call fcn.140006800
add rsp, 0x798
pop rsi
pop rbp
ret