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

Disassembly:
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x20]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002a5c0]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp dword [0x14003d178], 5
jne 0x14000ae0f
cmp qword [0x14003d170], 0
jne 0x14000ae19
mov eax, 1
jmp 0x14000b097
mov rax, qword [0x14003d170]
mov qword [rsp + 0x28], rax
mov eax, 0x300
mov word [rsp + 0x30], ax
xor eax, eax
mov word [rsp + 0x32], ax
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x28]
call sub.WS2_32.dll_WSAPoll
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jle 0x14000b087
movzx eax, word [rsp + 0x32]
and eax, 7
test eax, eax
je 0x14000ae6f
xor eax, eax
jmp 0x14000b097
movzx eax, word [rsp + 0x32]
and eax, 0x300
test eax, eax
je 0x14000b085
mov eax, 0x1000
sub eax, dword [0x14003d2c8]
mov ecx, dword [0x14003d2c8]
mov rdx, qword [0x14003d2c0]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rcx, qword [0x14003d170]
call sub.WS2_32.dll_recv
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 1
jge 0x14000aec6
xor eax, eax
jmp 0x14000b097
mov eax, dword [rsp + 0x48]
mov ecx, dword [0x14003d2c8]
add ecx, eax
mov eax, ecx
mov dword [0x14003d2c8], eax
mov rax, qword [0x14003d2c0]
mov qword [rsp + 0x50], rax
mov eax, dword [0x14003d2c8]
cmp rax, 4
jb 0x14000b085
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
xor eax, 0xbf320f30
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
mov eax, dword [0x14003d2c8]
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx + 2]
add rcx, 4
cmp rax, rcx
jb 0x14000b06b
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 2]
mov rcx, qword [0x14003d2c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [0x14003d2c0]
add rax, 4
mov qword [rsp + 0x60], rax
jmp 0x14000af60
mov rax, qword [rsp + 0x60]
add rax, 4
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x60], rax
ja 0x14000af81
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
xor eax, 0x198547a6
mov rcx, qword [rsp + 0x60]
mov dword [rcx], eax
jmp 0x14000af52
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x14000af98
xor eax, eax
jmp 0x14000b097
mov dword [rsp + 0x68], 0
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
mov byte [rsp + 0x88], al
cmp byte [rsp + 0x88], 3
je 0x14000afd9
cmp byte [rsp + 0x88], 4
je 0x14000afe4
cmp byte [rsp + 0x88], 5
je 0x14000afef
cmp byte [rsp + 0x88], 6
je 0x14000affa
jmp 0x14000b003
call fcn.14000acb0
mov dword [rsp + 0x68], eax
jmp 0x14000b003
call fcn.14000b0d0
mov dword [rsp + 0x68], eax
jmp 0x14000b003
call fcn.14000ac90
mov dword [rsp + 0x68], eax
jmp 0x14000b003
call fcn.14000adb0
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 2]
add rax, 4
mov qword [rsp + 0x70], rax
mov eax, dword [0x14003d2c8]
sub rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14000b054
mov rax, qword [rsp + 0x70]
mov rcx, qword [0x14003d2c0]
add rcx, rax
mov rax, rcx
mov r8, qword [rsp + 0x78]
mov rdx, rax
mov rcx, qword [0x14003d2c0]
call fcn.140028f00
nop
mov eax, dword [rsp + 0x78]
mov dword [0x14003d2c8], eax
cmp dword [rsp + 0x68], 0
jne 0x14000b069
xor eax, eax
jmp 0x14000b097
jmp 0x14000b080
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
xor eax, 0xbf320f30
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
jmp 0x14000b085
jmp 0x14000aee6
jmp 0x14000b092
cmp dword [rsp + 0x44], 0xffffffff
jne 0x14000b092
xor eax, eax
jmp 0x14000b097
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.d2d1.dll_Ordinal_1
call fcn.140015c60
mov rax, rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140015d60
add rsp, 0xa0
pop rdi
ret