Function at 0x1401579d0
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, 0x70
lea rdi, [rsp + 0x40]
mov ecx, ntohs
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], 0
cmp dword [rsp + 0x90], 0
jne 0x140157dd2
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x88]
lea rdx, str.ReadExHandler__p___p_____TotalRead:__llu__bytesRead:__llu
mov ecx, 2
call fcn.14014d930
mov eax, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x40]
add rax, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0xc8], 0
jne 0x140157b8a
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
add rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x18]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x40]
mov r9, qword [rcx + 0x28]
mov r8, rax
lea rdx, str._ReadExHandler__p___llu___llu_____llu_
mov ecx, 2
call fcn.14014d930
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
add rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x68]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x40]
mov r9, qword [rcx + 0x60]
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx + 0x28]
mov rcx, rax
call qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
add rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rax + 0x28]
sub rax, rcx
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x28]
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 0x18]
lea rdx, str._____readOffset:__llu__totalRead:__llu__consumed:__llu__PAUSE:__d
mov ecx, 2
call fcn.14014d930
nop
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0xc8], 0
jne 0x140157bb0
cmp qword [rsp + 0x58], 0
je 0x140157bb0
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x28], 0
ja 0x140157a87
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x28], 0
jne 0x140157bc9
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0xc8], 0
jne 0x140157dbb
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x18], 0
jbe 0x140157c2c
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
add rax, qword [rcx + 0x18]
mov rcx, qword [rsp + 0x40]
mov r9, qword [rcx + 0x28]
mov r8, rax
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.140153880
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x18], 0
jmp 0x140157cec
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 8]
cmp qword [rax + 0x28], rcx
jne 0x140157cec
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
shl rax, 1
mov dword [rsp + 0x20], 0x514
lea r9, [0x140560740]
mov r8d, 1
mov rdx, rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.1403bab60
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
cmp qword [rsp + 0x68], 0
jne 0x140157cd7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x514
lea rdx, [0x140560790]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x514
lea rdx, [0x1405607e0]
lea rcx, [0x140560828]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
shl rax, 1
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax + 8]
sub rax, rcx
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rsp + 0x40]
add rcx, qword [rdx + 0x28]
mov qword [rsp + 0x20], rax
mov r9, rcx
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
lea rdx, str.ILibChain_ReadEx2_______p___llu___llu_
mov ecx, 2
call fcn.14014d930
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rax + 8]
sub rax, rcx
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x40]
add rcx, qword [rdx + 0x18]
mov rdx, qword [rsp + 0x40]
add rcx, qword [rdx + 0x28]
mov rdx, qword [rsp + 0x40]
mov rdx, qword [rdx + 0xc0]
mov qword [rsp + 0x38], rdx
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x30], rdx
lea rdx, [fcn.1401579d0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
mov r9, rcx
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.14013ee50
mov eax, 1
jmp 0x140157dd4
lea rdx, str.HANDLE_will_get_removed
mov ecx, 2
call fcn.14014d930
xor eax, eax
jmp 0x140157dd4
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.14037c300
mov rax, rdi
add rsp, 0x70
pop rdi
ret