Function at 0x14008eb80
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push rbx
push rsi
push r13
push r14
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x140d5c040]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor eax, eax
xorps xmm0, xmm0
xor esi, esi
mov byte [rbp - 0x68], al
cmp dword [0x145d1ef04], 0xffffffff
mov r13, rdx
mov r14, rcx
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
jne 0x14008ebdb
lea rcx, [0x145d1ef20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x14008ebf4
mov rcx, qword [0x145d1eba0]
lea rdx, [rsp + 0x78]
xor r9d, r9d
lea r8d, [r9 + 0x20]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
mov qword [rsp + 0x220], rdi
cmp rbx, 1
jl 0x14008ef0c
mov rcx, qword [rbp - 0x70]
mov rax, 0xffffffffffffffff
add rcx, 1
cmovb rcx, rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, qword [rbp - 0x70]
xor edx, edx
inc r8
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov r8, rbx
lea rdx, [rsp + 0x78]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
cmp byte [0x140d5bfc8], sil
jne 0x14008ec60
movzx eax, byte [rsp + 0x78]
and byte [reloc.WS2_32.dll_gethostbyname], 6
mov byte [0x140d5bfc8], al
mov qword [r14], rdi
mov r8, qword [rdi + 0x18]
cmp rbx, r8
jge 0x14008edfa
movzx eax, byte [reloc.WS2_32.dll_gethostbyname]
mov r14d, 0x19000
mov byte [0x145d1ef4a], al
mov byte [0x145d1ef48], 3
test r13, r13
je 0x14008edb4
mov qword [rsp + 0x1d8], r12
xorps xmm0, xmm0
mov r12, qword [rdi + 0x10]
xor eax, eax
mov qword [rsp + 0x1d0], r15
movaps xmmword [rsp + 0x1c0], xmm6
movsd xmm6, qword [0x140d49e30]
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], rax
nop dword [rax + rax]
mov rcx, r8
movsxd rax, r14d
sub rcx, rbx
cmp rcx, rax
jge 0x14008ece4
mov r14d, r8d
sub r14d, ebx
cmp dword [0x145d1ef04], 0xffffffff
jne 0x14008ecff
lea rcx, [0x145d1ef20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r15d, esi
jmp 0x14008ed19
mov rcx, qword [0x145d1eba0]
lea rdx, [rdi + rbx]
xor r9d, r9d
mov r8d, r14d
call qword [sym.imp.WS2_32.dll_recv]
mov r15d, eax
mov r8, qword [rdi + 0x18]
xorps xmm1, xmm1
movsxd rcx, r15d
xorps xmm0, xmm0
add rbx, rcx
cvtsi2sd xmm0, r8
cvtsi2sd xmm1, rbx
mulsd xmm1, xmm6
divsd xmm1, xmm0
cvttsd2si rax, xmm1
cmp qword [r13 + 0x10], rax
je 0x14008ed84
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x50]
movsd xmm1, qword [rsp + 0x40]
mov qword [r13 + 0x10], rax
mov rax, r12
sub rax, qword [rdi + 0x18]
add rax, 0xffffffffffffffe0
movsd qword [rsp + 0x60], xmm1
add rax, rbx
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
call qword [r13 + inet_addr]
mov r8, qword [rdi + 0x18]
cmp rbx, r8
je 0x14008ed92
test r15d, r15d
jg 0x14008ecd0
mov rcx, r13
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
movaps xmm6, xmmword [rsp + 0x1c0]
mov r15, qword [rsp + 0x1d0]
mov r12, qword [rsp + 0x1d8]
jmp 0x14008ee10
cmp dword [0x145d1ef04], 0xffffffff
jne 0x14008edce
lea rcx, [0x145d1ef20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x14008ede5
mov rcx, qword [0x145d1eba0]
lea rdx, [rdi + rbx]
sub r8d, ebx
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
mov r8, qword [rdi + 0x18]
movsxd rcx, eax
add rbx, rcx
cmp rbx, r8
je 0x14008ee10
test eax, eax
jg 0x14008edb4
jmp 0x14008ee10
jne 0x14008ee10
movzx eax, byte [reloc.WS2_32.dll_gethostbyname]
mov byte [0x145d1ef4a], al
mov byte [0x145d1ef48], 3
movabs rax, 0x6a5d85c495e6fbc3
cmp qword [rdi], rax
jne 0x14008ef08
cmp qword [rdi + 8], 0x63d
jne 0x14008ef08
movabs rax, 0xf6d3a1c9e486
cmp qword [rdi + 0x10], rax
jne 0x14008ef08
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, Ordinal_265
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [0x145d1ede4]
lea r8, [rbp - 0x60]
lea rdx, [0x145d1ee00]
lea rcx, [0x145d1ece0]
call fcn.140091240
movsxd rax, dword [0x145d1ede4]
lea r9, [rsp + 0x70]
mov rdx, qword [rdi + 0x18]
lea r8, [rdi + 0x20]
mov qword [rsp + 0x28], rax
lea rcx, [rdi + 0x20]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x70], rsi
sub rdx, 0x20
mov qword [rsp + 0x20], rax
call fcn.14008fa50
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x14008ef08
mov rax, qword [rdi + 0x20]
mov qword [rdi], rax
mov rax, qword [rdi + 0x28]
mov qword [rdi + 8], rax
mov rcx, qword [rdi + 0x30]
mov qword [rdi + 0x10], rcx
cmp rcx, rdx
ja 0x14008ef0c
movzx eax, byte [reloc.WS2_32.dll_gethostbyname]
add al, 2
mov byte [0x145d1ef49], 0xda
mov byte [0x145d1ef4b], al
test rcx, rcx
je 0x14008ef03
lea rcx, [rdi + 0x20]
nop dword [rax]
movzx eax, byte [rcx + 0x18]
inc rsi
mov byte [rcx], al
lea rcx, [rcx + 1]
cmp rsi, qword [rdi + 0x10]
jb 0x14008eef0
mov byte [rsi + rdi + 0x20], 0
mov al, 1
jmp 0x14008ef0e
xor al, al
mov rdi, qword [rsp + 0x220]
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140093920
add rsp, 0x1e0
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret