Function at 0x140001130
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x110
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x80], xmm6
mov qword [rbp + 0x78], 0xfffffffffffffffe
mov ebx, edx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], recvfrom
lea rcx, [rbp - 0x50]
mov edx, r8d
call fcn.140001ba0
lea rdi, [rbp - 0x30]
mov rcx, rdi
mov edx, ebx
call fcn.140001ba0
mov r8, qword [rbp - 0x20]
mov rax, qword [rbp - 0x18]
mov rcx, rax
sub rcx, r8
cmp rcx, 8
jae 0x1400011d0
lea rax, str.km.move_
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 8
lea rcx, [rbp - 0x30]
mov edx, 8
xor r9d, r9d
call fcn.140001ec0
mov rdi, rax
jmp 0x14000125f
lea rcx, [r8 + 8]
mov qword [rbp - 0x20], rcx
cmp rax, 0x10
mov rcx, qword [rbp - 0x30]
mov rbx, rdi
cmovae rbx, rcx
lea rdx, [0x14004a0d5]
mov r14d, 8
mov r15d, 8
cmp rbx, rdx
jae 0x14000121a
lea r9, [rbx + r8]
lea rdx, str.km.move_
cmp r9, rdx
jb 0x14000121a
mov r15, rbx
sub r15, rdx
ja 0x14000121a
xor r15d, r15d
inc r8
cmp rax, 0x10
cmovb rcx, rdi
add rcx, 8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
lea r12, str.km.move_
mov rcx, rbx
mov rdx, r12
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
sub r14, r15
lea rdx, [r15 + r12]
add rdx, 8
add rbx, r15
mov rcx, rbx
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rbp + 0x60], xmm1
movaps xmmword [rbp + 0x50], xmm0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], recvfrom
mov byte [rdi], 0
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x68]
cmp rdx, rcx
jne 0x1400012ae
mov qword [rsp + 0x20], 1
lea r9, [0x14004a023]
lea rcx, [rbp + 0x50]
mov edx, 1
call fcn.140002070
jmp 0x1400012ce
lea rax, [rcx + 1]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
mov r8, rax
cmp rdx, 0x10
jb 0x1400012c7
mov r8, qword [rbp + 0x50]
mov word [r8 + rcx], 0x2c
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp], xmm1
movaps xmmword [rbp - 0x10], xmm0
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], recvfrom
mov byte [rax], 0
lea rdi, [rbp + 0x10]
lea r8, [rbp - 0x10]
lea r9, [rbp - 0x50]
mov rcx, rdi
call fcn.1400021f0
mov rax, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
mov rdx, rcx
sub rdx, rax
cmp rdx, 3
jae 0x14000133b
mov qword [rsp + 0x20], 3
lea r9, [0x14004aa48]
lea rcx, [rbp + 0x10]
mov edx, 3
call fcn.140002070
mov rdi, rax
jmp 0x140001357
lea rdx, [rax + 3]
mov qword [rbp + 0x20], rdx
mov rdx, rdi
cmp rcx, 0x10
jb 0x140001350
mov rdx, qword [rbp + 0x10]
mov dword [rdx + rax], 0xa0d29
mov rbx, qword [rdi]
movups xmm6, xmmword [rdi + 8]
mov r14, qword [rdi + 0x18]
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], recvfrom
mov byte [rdi], 0
mov rax, qword [rbp + 0x48]
cmp rax, 0x10
jb 0x1400013b4
mov rcx, qword [rbp + 0x30]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400013af
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400015ba
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14003aec4
mov qword [rbp + 0x30], rbx
movups xmmword [rbp + 0x38], xmm6
mov qword [rbp + 0x48], r14
mov rax, qword [rbp + 0x28]
cmp rax, 0x10
jb 0x1400013ff
mov rcx, qword [rbp + 0x10]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400013fa
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400015ba
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14003aec4
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], recvfrom
mov byte [rbp + 0x10], 0
mov rax, qword [rbp + 8]
cmp rax, 0x10
jb 0x140001452
mov rcx, qword [rbp - 0x10]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000144d
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400015ba
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14003aec4
mov qword [rbp], 0
mov qword [rbp + 8], recvfrom
mov byte [rbp - 0x10], 0
mov rax, qword [rbp + 0x68]
cmp rax, 0x10
jb 0x1400014a5
mov rcx, qword [rbp + 0x50]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400014a0
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400015ba
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14003aec4
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], recvfrom
mov byte [rbp + 0x50], 0
mov rax, qword [rbp - 0x18]
cmp rax, 0x10
jb 0x1400014f8
mov rcx, qword [rbp - 0x30]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400014f3
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400015ba
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14003aec4
mov rax, qword [rbp - 0x38]
cmp rax, 0x10
jb 0x140001537
mov rcx, qword [rbp - 0x50]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140001532
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400015ba
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14003aec4
cmp r14, 0x10
lea rdi, [rbp + 0x30]
cmovae rdi, rbx
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [rsi]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbp + 0x48]
cmp rax, 0x10
jb 0x1400015a1
mov rcx, qword [rbp + 0x30]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000159c
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400015ba
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14003aec4
movaps xmm6, xmmword [rbp + 0x80]
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3