Function at 0x14010af50
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rax + 8]
call fcn.140137430
test eax, eax
jne 0x14010b110
movsxd rax, dword [rsp + 0xa0]
add rax, 0x28
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.140138010
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rax + 8]
mov qword [rcx], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x20]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0xa0]
mov dword [rax + 0x20], ecx
movsxd rax, dword [rsp + 0xa0]
movsxd rcx, dword [rsp + 0xa0]
mov rdx, qword [rsp + 0x38]
add rdx, 0x24
mov qword [rsp + 0x48], rdx
mov r9, rax
mov r8, qword [rsp + 0x98]
mov rdx, rcx
mov rax, qword [rsp + 0x48]
mov rcx, rax
call fcn.1401056c0
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rax]
call fcn.140137540
test eax, eax
je 0x14010b0c3
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rax, qword [rax]
cmp qword [rax - 0x10], 0
jbe 0x14010b0a1
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
mov rcx, qword [rcx]
mov rax, qword [rax]
mov rcx, qword [rcx - 0x18]
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0x50], rax
jmp 0x14010b0aa
mov qword [rsp + 0x50], 0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x58], rax
jmp 0x14010b0cc
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
lea r9, [0x14010b4a0]
mov r8, qword [rax]
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400e0450
xor eax, eax
jmp 0x14010b48b
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
mov eax, dword [rax + 0x18]
sub eax, ecx
mov rcx, qword [rsp + 0x30]
sub eax, dword [rcx + 4]
cmp eax, dword [rsp + 0xa0]
jge 0x14010b25b
mov rax, qword [rsp + 0x30]
cmp dword [rax + 4], 0
jle 0x14010b183
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x30]
movsxd rcx, dword [rcx]
mov rdx, qword [rsp + 0x30]
add rcx, qword [rdx + 0x10]
mov rdx, qword [rsp + 0x30]
movsxd rdx, dword [rdx + 0x18]
mov r9, rax
mov r8, rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
call fcn.140105810
mov rax, qword [rsp + 0x30]
mov dword [rax], 0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 4]
mov eax, dword [rax + 0x18]
sub eax, ecx
cmp eax, dword [rsp + 0xa0]
jge 0x14010b25b
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0xa0]
jge 0x14010b1d6
mov eax, dword [rsp + 0x40]
add eax, 0x1000
mov dword [rsp + 0x40], eax
jmp 0x14010b1ae
movsxd rax, dword [rsp + 0x40]
mov rdx, rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
call fcn.1403c5a20
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x10], rcx
cmp qword [rsp + 0x60], 0
jne 0x14010b24f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x634
lea rdx, [0x1404f1c70]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x634
lea rdx, [0x1404f1cc0]
lea rcx, [0x1404f1d10]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x18], ecx
movsxd rax, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x30]
mov edx, dword [rdx]
mov ecx, dword [rcx + 0x18]
sub ecx, edx
mov rdx, qword [rsp + 0x30]
sub ecx, dword [rdx + 4]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x30]
movsxd rdx, dword [rdx]
mov r8, qword [rsp + 0x30]
mov r8, qword [r8 + 0x10]
add r8, rdx
mov rdx, r8
mov r8, qword [rsp + 0x30]
movsxd r8, dword [r8 + 4]
add rdx, r8
mov qword [rsp + 0x68], rdx
mov r9, rax
mov r8, qword [rsp + 0x98]
mov rdx, rcx
mov rax, qword [rsp + 0x68]
mov rcx, rax
call fcn.1401056c0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
add eax, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 4], eax
mov dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rcx + 0x20]
mov rcx, qword [rax]
call fcn.140036c00
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
lea r8, [0x1404f1d34]
mov edx, 0xffffffff
mov rcx, qword [rax]
call fcn.14003bf90
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov edx, 0xfffffffe
mov rcx, qword [rax]
call fcn.140033b00
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
lea rdx, [0x1404f1d40]
mov rcx, qword [rax]
call fcn.140035090
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rax]
call fcn.14003f030
test eax, eax
je 0x14010b388
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
lea rdx, str.DynamicBuffer.WriteSink___readable__:
mov rcx, qword [rax]
call fcn.1400e28c0
nop
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rax]
call fcn.140036e50
mov rcx, qword [rsp + 0x90]
call fcn.140137540
test eax, eax
je 0x14010b404
cmp qword [rsp + 0x90], 0
je 0x14010b3c9
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
jmp 0x14010b3d2
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x30]
movsxd rcx, dword [rcx]
mov rdx, qword [rsp + 0x30]
add rcx, qword [rdx + 0x10]
mov r9, rax
mov r8, rcx
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.140113cf0
mov dword [rsp + 0x78], eax
jmp 0x14010b40c
mov dword [rsp + 0x78], 1
mov rax, qword [rsp + 0x30]
cmp dword [rax + 8], 0
jne 0x14010b430
mov rax, qword [rsp + 0x30]
mov dword [rax + 4], 0
mov rax, qword [rsp + 0x30]
mov dword [rax], 0
jmp 0x14010b47b
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 8]
mov eax, dword [rax + 4]
sub eax, ecx
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jle 0x14010b47b
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
add eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x30]
mov dword [rcx], eax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 8]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 0
cmp dword [rsp + 0x44], 0
jne 0x14010b2e1
mov eax, 1
add rsp, 0x80
pop rdi
ret