Function at 0x140017220
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x40
mov r14, rcx
mov ecx, 0x558
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140017268
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
call fcn.140001010
lea ecx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edx, edx
mov r8d, 0x558
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
or dword [rbx + 8], 1
mov ecx, socket
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
jne 0x1400172bd
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
call fcn.140001010
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movups xmm0, xmmword [str.memcached_responses]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
movups xmmword [rax], xmm0
mov eax, dword [0x1400584f0]
mov qword [rsp + 0x70], r12
mov dword [rcx + 0x10], eax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r15
xor r15d, r15d
mov qword [r14 + 0x20], rbx
mov r12d, r15d
mov rax, qword [str.ERROR]
lea ebp, [r15 + 1]
test rax, rax
je 0x140017429
lea rbx, str.ERROR
mov r13d, r15d
nop dword [rax]
nop word [rax + rax]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], r15b
jne 0x140017327
lea rcx, [rdi + 2]
test rcx, rcx
cmove rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140017478
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov word [rsi + rdi], 0x20
lea rax, str.ERROR
mov r9d, dword [rax + r13 + 0xc]
lea ebx, [rdi + 1]
mov eax, dword [rax + r13 + 0x10]
mov r8d, ebx
mov rcx, qword [r14 + 0x20]
mov rdx, rsi
mov dword [rsp + 0x20], eax
call fcn.14003e620
mov byte [rsi + rdi], 9
lea rax, str.ERROR
mov r9d, dword [rax + r13 + 0xc]
mov r8d, ebx
mov eax, dword [rax + r13 + 0x10]
mov rdx, rsi
mov rcx, qword [r14 + 0x20]
mov dword [rsp + 0x20], eax
call fcn.14003e620
mov byte [rsi + rdi], recv
lea rax, str.ERROR
mov r9d, dword [rax + r13 + 0xc]
mov r8d, ebx
mov eax, dword [rax + r13 + 0x10]
mov rdx, rsi
mov rcx, qword [r14 + 0x20]
mov dword [rsp + 0x20], eax
call fcn.14003e620
mov byte [rsi + rdi], 0xa
mov r8d, ebx
mov rcx, qword [r14 + 0x20]
lea rdi, str.ERROR
mov eax, dword [rdi + r13 + 0x10]
mov rdx, rsi
mov r9d, dword [rdi + r13 + 0xc]
mov dword [rsp + 0x20], eax
call fcn.14003e620
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc r12d
lea rcx, [r12 + r12*2]
lea r13, [rcx*8]
mov rax, qword [rdi + r13]
lea rbx, [rdi + r13]
test rax, rax
jne 0x140017320
mov rcx, qword [r14 + 0x20]
call fcn.14003f1f0
mov rax, qword [r14 + 0x20]
mov ecx, 0x558
mov qword [0x1401728b0], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140017499
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
call fcn.140001010
mov ecx, ebp
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____out_of_memory__aborting_n
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
xor edx, edx
mov r8d, 0x558
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
or dword [rbx + 8], ebp
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx], rax
test rax, rax
jne 0x1400174e7
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
call fcn.140001010
mov ecx, ebp
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movups xmm0, xmmword [str.memcached_stats]
movups xmmword [rax], xmm0
mov qword [r14 + 0x28], rbx
mov rax, qword [0x14006bf90]
test rax, rax
je 0x14001760e
lea r13, [0x14006bf90]
mov r12, r15
mov rdi, r13
nop dword [rax]
nop word [rax + rax]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140017527
lea rcx, [rbx + 2]
test rcx, rcx
cmove rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140017648
mov rdx, qword [rdi]
mov r8, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov word [rsi + rbx], 0x20
lea r8d, [rbx + 1]
mov eax, dword [r12 + r13 + 0x10]
mov rdx, rsi
mov r9d, dword [r12 + r13 + 0xc]
mov rcx, qword [r14 + 0x28]
mov dword [rsp + 0x20], eax
call fcn.14003e620
mov byte [rsi + rbx], 9
lea r8d, [rbx + 1]
mov eax, dword [r12 + r13 + 0x10]
mov rdx, rsi
mov r9d, dword [r12 + r13 + 0xc]
mov rcx, qword [r14 + 0x28]
mov dword [rsp + 0x20], eax
call fcn.14003e620
mov byte [rsi + rbx], recv
lea r8d, [rbx + 1]
mov eax, dword [r12 + r13 + 0x10]
mov rdx, rsi
mov r9d, dword [r12 + r13 + 0xc]
mov rcx, qword [r14 + 0x28]
mov dword [rsp + 0x20], eax
call fcn.14003e620
mov byte [rsi + rbx], 0xa
lea r8d, [rbx + 1]
mov eax, dword [r12 + r13 + 0x10]
mov rdx, rsi
mov r9d, dword [r12 + r13 + 0xc]
mov rcx, qword [r14 + 0x28]
mov dword [rsp + 0x20], eax
call fcn.14003e620
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc r15d
lea rcx, [r15 + r15*2]
lea r12, [rcx*8]
mov rax, qword [r12 + r13]
lea rdi, [r12 + r13]
test rax, rax
jne 0x140017520
mov rcx, qword [r14 + 0x28]
call fcn.14003f1f0
mov rax, qword [r14 + 0x28]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x30]
mov qword [0x1401728b8], rax
mov rax, qword [r14 + 0x10]
add rsp, 0x40
pop r14
pop rbp
pop rbx
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____out_of_memory__aborting_n
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3