Function at 0x14003eb20
Capabilities:
Terminate process

Disassembly:
push rdi
push r15
sub rsp, 0x38
mov r15, rcx
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14003eb67
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, [rdi + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x50], rbx
xorps xmm0, xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x28], r13
xor r13d, r13d
mov qword [rsp + 0x20], r14
mov esi, r13d
mov r14d, r13d
movups xmmword [rax], xmm0
nop word [rax + rax]
mov rax, qword [r15 + 0x20]
mov ebx, dword [r14 + rax]
test ebx, ebx
je 0x14003ebe2
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
je 0x14003ec6c
cmp qword [rdi], r13
jne 0x14003ebbd
mov qword [rdi], rax
jmp 0x14003ebc5
mov rax, qword [rdi + 8]
mov qword [rax + 8], rcx
mov dword [rcx], ebx
mov qword [rcx + 8], r13
mov qword [rdi + 8], rcx
mov rax, qword [r15 + 0x20]
imul rcx, rbx, 0x40c
mov dword [rcx + rax + 0x408], r13d
inc esi
add r14, 4
cmp esi, 0x102
jb 0x14003eb90
mov rcx, qword [rdi]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x30], r12
test rcx, rcx
je 0x14003ed99
nop word [rax + rax]
mov rax, qword [rcx + 8]
mov r12d, dword [rcx]
mov qword [rdi], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ebp, r13d
mov rbx, r13
imul r13, r12, 0x40c
mov r14, r13
mov rax, qword [r15 + 0x20]
mov esi, dword [r14 + rax]
cmp esi, 0xffffffff
je 0x14003ed47
cmp esi, r12d
je 0x14003ed47
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
je 0x14003ed6c
cmp qword [rdi], 0
jne 0x14003ec99
mov qword [rdi], rax
jmp 0x14003eca1
mov ecx, 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
mov rax, qword [rdi + 8]
mov qword [rax + 8], rcx
mov dword [rcx], esi
mov qword [rcx + 8], 0
mov qword [rdi + 8], rcx
mov r8, qword [r15 + 0x20]
mov edx, dword [r8 + r13 + 0x408]
imul rcx, rdx, 0x103
mov eax, edx
add rcx, rbx
cmp dword [r8 + rcx*4], 0xffffffff
jne 0x14003ecf2
nop
imul rcx, rax, 0x40c
mov edx, dword [rcx + r8 + 0x408]
imul rcx, rdx, 0x103
mov eax, edx
add rcx, rbx
cmp dword [r8 + rcx*4], 0xffffffff
je 0x14003ecd0
mov eax, edx
mov r9, rsi
imul rcx, rax, 0x103
add rcx, rbx
lea rdx, [rcx*4]
mov eax, dword [rdx + r8]
imul rcx, rsi, 0x40c
mov dword [rcx + r8 + 0x408], eax
mov rax, qword [r15 + 0x20]
mov rcx, qword [r15 + 0x30]
mov edx, dword [rdx + rax]
add rdx, rdx
mov r8d, dword [rcx + rdx*8 + 8]
test r8d, r8d
je 0x14003ed47
mov rdx, qword [rcx + rdx*8]
shl r9, 4
add r9, rcx
mov rcx, r9
call fcn.14003e430
inc ebp
inc rbx
add r14, 4
cmp ebp, 0x102
jb 0x14003ec30
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003ed99
xor r13d, r13d
jmp 0x14003ec10
mov ecx, 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
mov rcx, rdi
mov r12, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x38
pop r15
pop rdi
jmp qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]