Function at 0x14006eb20
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rsp + 0x110], rbx
mov rax, qword [0x1402e44c0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r13d, r8d
mov rsi, rdx
mov r12, rcx
mov qword [rbp - 0x21], rcx
mov qword [rbp - 0x19], rdx
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
xor ebx, ebx
mov edi, ebx
mov qword [rbp + 0x17], rbx
mov r14d, ebx
test r8d, r8d
jle 0x14006ee18
lea edx, [r8 - 1]
mov r15d, ebx
nop word [rax + rax]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
mov rdi, rbx
mov qword [rbp - 1], rbx
movsxd rcx, r15d
mov rax, qword [rsi + 0x10]
mov qword [rbp - 0x41], rbx
mov qword [rbp - 0x39], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x51], 0
cmp r14d, edx
je 0x14006ecb9
cmp rax, rcx
jb 0x14006ef81
sub rax, rcx
mov r8d, 0xfa0
cmp rax, r8
cmovb r8, rax
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14006ebe5
mov rax, qword [rsi]
lea rdx, [rax + rcx]
lea rcx, [rbp - 0x51]
call fcn.140072990
nop
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x69]
call fcn.14006cb70
lea rcx, [rbp - 0x11]
cmp rcx, rax
je 0x14006ec2e
mov rbx, qword [rax]
mov qword [rbp - 0x11], rbx
mov rcx, qword [rax + 8]
mov qword [rbp - 9], rcx
mov rdi, qword [rax + 0x10]
mov qword [rbp - 1], rdi
xor r8d, r8d
mov qword [rax], r8
mov qword [rax + 8], r8
mov qword [rax + 0x10], r8
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14006ec76
mov rdx, qword [rbp - 0x59]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ec63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ef7b
call fcn.1401c4e44
xor eax, eax
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], rax
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x14006edac
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006eda7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ef6f
jmp 0x14006eda7
cmp rax, rcx
jb 0x14006ef9f
sub rax, rcx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14006ece0
mov rax, qword [rsi]
lea rdx, [rax + rcx]
lea rcx, [rbp - 0x51]
call fcn.140072990
nop
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x69]
call fcn.14006cb70
lea rcx, [rbp - 0x11]
cmp rcx, rax
je 0x14006ed29
mov rbx, qword [rax]
mov qword [rbp - 0x11], rbx
mov rcx, qword [rax + 8]
mov qword [rbp - 9], rcx
mov rdi, qword [rax + 0x10]
mov qword [rbp - 1], rdi
xor r8d, r8d
mov qword [rax], r8
mov qword [rax + 8], r8
mov qword [rax + 0x10], r8
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14006ed71
mov rdx, qword [rbp - 0x59]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ed5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ef87
call fcn.1401c4e44
xor eax, eax
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], rax
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x14006edac
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006eda7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ef8d
call fcn.1401c4e44
mov r9, qword [rbp - 9]
mov r8, qword [rbp - 0x11]
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp + 7]
call fcn.140080310
nop
test rbx, rbx
je 0x14006edfa
sub rdi, rbx
cmp rdi, 0x1000
jb 0x14006edef
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14006ef93
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.1401c4e44
inc r14d
add r15d, 0xfa0
cmp r14d, r13d
jge 0x14006ee14
lea edx, [r13 - 1]
xor ebx, ebx
jmp 0x14006eb90
mov rdi, qword [rbp + 0x17]
mov rdx, r12
lea rcx, [rbp - 0x51]
call fcn.140072d00
mov rcx, rax
call fcn.14006e9a0
mov r14, qword [rbp + 0xf]
mov rbx, qword [rbp + 7]
sub r14, rbx
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14006ee46
mov rdx, qword [r12]
lea r8, [0x1402b4000]
lea rcx, [rbp - 0x21]
call fcn.1401f5fe0
movsxd r8, r14d
mov r9, qword [rbp - 0x21]
mov edx, 1
mov rcx, rbx
call fcn.1401f5cdc
mov rcx, qword [rbp - 0x21]
call fcn.1401ef3f4
nop
test rbx, rbx
je 0x14006eead
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x14006eea1
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ef99
mov rdx, rdi
mov rcx, rbx
call fcn.1401c4e44
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x14006eee9
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x14006eee4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006ef69
mov rcx, r8
call fcn.1401c4e44
xor ebx, ebx
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], bl
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14006ef33
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14006ef2e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006ef75
mov rcx, r8
call fcn.1401c4e44
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1401c4e20
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401f53bc
nop
call fcn.1401f53bc
nop
call fcn.1401f53bc
nop
call fcn.1401f53bc
nop
call fcn.140078250
nop
call fcn.1401f53bc
nop
call fcn.1401f53bc
nop
call fcn.1401f53bc
nop
call fcn.1401f53bc
nop
call fcn.140078250
int3