Function at 0x14000e940
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x140048020]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
xor r12d, r12d
mov r15d, r12d
lea r13, [0x14004afe0]
mov qword [rbp - 9], r13
mov rcx, r13
call fcn.140010ad0
test eax, eax
jne 0x14000ed09
mov eax, dword [r14 + 0x10]
mov dword [rbp - 1], eax
lea ecx, [r12 + 1]
call fcn.140017738
mov r9, rax
lea edx, [r12 + 1]
lea r8d, [r12 + 4]
lea rcx, [rbp - 1]
call fcn.140019be0
cmp rax, 4
je 0x14000ec5a
lea r15d, [r12 + 5]
lea r9, [rbp + 0x1c]
mov r8d, dword [rbp - 1]
nop dword [rax]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14000e9e0
mov qword [rbp - 0x49], r12
mov r8, r12
mov qword [rbp - 0x39], r12
mov ecx, 0xf
mov qword [rbp - 0x31], rcx
mov byte [rbp - 0x49], r8b
lea rax, [rbp + 0x1c]
cmp r9, rax
je 0x14000ea46
lea r8, [rbp + 0x1c]
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 0x49]
call fcn.14000b1e0
mov rcx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x39]
mov rax, rcx
sub rax, r8
lea rsi, str.Couldnt_send_string_length_
cmp rax, 0x1c
jb 0x14000ead6
lea rax, [r8 + 0x1c]
mov qword [rbp - 0x39], rax
lea rbx, [rbp - 0x49]
cmp rcx, 0x10
cmovae rbx, qword [rbp - 0x49]
lea rax, [0x140041174]
cmp rax, rbx
jbe 0x14000ea95
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x14000ea95
cmp rbx, rsi
ja 0x14000ea8d
mov rdi, r12
jmp 0x14000ea9a
mov rdi, rbx
sub rdi, rsi
jmp 0x14000ea9a
mov edi, 0x1c
lea rcx, [rbx + 0x1c]
inc r8
mov rdx, rbx
call fcn.140013310
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.140013310
lea rcx, [rbx + rdi]
mov r8d, 0x1c
sub r8, rdi
lea rdx, [rsi + 0x1c]
add rdx, rdi
call fcn.140013310
lea rax, [rbp - 0x49]
jmp 0x14000eaf2
mov qword [rsp + 0x28], 0x1c
mov qword [rsp + 0x20], rsi
mov edx, 0x1c
lea rcx, [rbp - 0x49]
call fcn.14000e680
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 8
lea rdx, str.___abort
lea rcx, [rbp - 0x29]
call fcn.14000b340
mov qword [rbp - 0x69], r12
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x59], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae rax, qword [rbp - 0x69]
mov qword [rbp + 7], rax
mov rax, qword [rbp - 0x59]
mov qword [rbp + 0xf], rax
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.14000e830
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x14000ebc4
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ebbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ed11
call fcn.140011160
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], 0xf
mov byte [rbp - 0x69], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14000ec0f
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ec0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ed17
call fcn.140011160
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x14000ec5a
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ec55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ed03
call fcn.140011160
mov ecx, 1
call fcn.140017738
mov r8d, dword [rbp - 1]
cmp qword [r14 + 0x18], 0x10
jb 0x14000ec72
mov r14, qword [r14]
mov r9, rax
mov edx, 1
mov rcx, r14
call fcn.140019be0
mov rcx, rax
mov eax, dword [rbp - 1]
cmp rcx, rax
je 0x14000ecb8
mov r15d, 5
lea rax, str.Couldnt_send_string___abort
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], 0x1c
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.14000e830
mov ecx, 1
call fcn.140017738
mov rcx, rax
call fcn.140019f50
nop
mov rcx, r13
call fcn.140010ad8
mov eax, r15d
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140011140
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140019074
nop
mov ecx, eax
call fcn.1400107cc
nop
call fcn.140019074
nop
call fcn.140019074
int3