Function at 0x14000af30
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 [0x14003b500]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp dword [0x14003d4b8], 5
jne 0x14000af6f
cmp qword [0x14003d4b0], 0
jne 0x14000af79
mov eax, 1
jmp 0x14000b1f7
mov rax, qword [0x14003d4b0]
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 0x14000b1e7
movzx eax, word [rsp + 0x32]
and eax, 7
test eax, eax
je 0x14000afcf
xor eax, eax
jmp 0x14000b1f7
movzx eax, word [rsp + 0x32]
and eax, 0x300
test eax, eax
je 0x14000b1e5
mov eax, 0x1000
sub eax, dword [0x14003d608]
mov ecx, dword [0x14003d608]
mov rdx, qword [0x14003d600]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rcx, qword [0x14003d4b0]
call sub.WS2_32.dll_recv
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 1
jge 0x14000b026
xor eax, eax
jmp 0x14000b1f7
mov eax, dword [rsp + 0x48]
mov ecx, dword [0x14003d608]
add ecx, eax
mov eax, ecx
mov dword [0x14003d608], eax
mov rax, qword [0x14003d600]
mov qword [rsp + 0x50], rax
mov eax, dword [0x14003d608]
cmp rax, 4
jb 0x14000b1e5
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
xor eax, 0xbf320f30
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
mov eax, dword [0x14003d608]
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx + 2]
add rcx, 4
cmp rax, rcx
jb 0x14000b1cb
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 2]
mov rcx, qword [0x14003d600]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [0x14003d600]
add rax, 4
mov qword [rsp + 0x60], rax
jmp 0x14000b0c0
mov rax, qword [rsp + 0x60]
add rax, 4
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x60], rax
ja 0x14000b0e1
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
xor eax, 0x198547a6
mov rcx, qword [rsp + 0x60]
mov dword [rcx], eax
jmp 0x14000b0b2
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x14000b0f8
xor eax, eax
jmp 0x14000b1f7
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 0x14000b139
cmp byte [rsp + 0x88], 4
je 0x14000b144
cmp byte [rsp + 0x88], 5
je 0x14000b14f
cmp byte [rsp + 0x88], 6
je 0x14000b15a
jmp 0x14000b163
call fcn.14000ae10
mov dword [rsp + 0x68], eax
jmp 0x14000b163
call fcn.14000b230
mov dword [rsp + 0x68], eax
jmp 0x14000b163
call fcn.14000adf0
mov dword [rsp + 0x68], eax
jmp 0x14000b163
call fcn.14000af10
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 [0x14003d608]
sub rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14000b1b4
mov rax, qword [rsp + 0x70]
mov rcx, qword [0x14003d600]
add rcx, rax
mov rax, rcx
mov r8, qword [rsp + 0x78]
mov rdx, rax
mov rcx, qword [0x14003d600]
call fcn.140029620
nop
mov eax, dword [rsp + 0x78]
mov dword [0x14003d608], eax
cmp dword [rsp + 0x68], 0
jne 0x14000b1c9
xor eax, eax
jmp 0x14000b1f7
jmp 0x14000b1e0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
xor eax, 0xbf320f30
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
jmp 0x14000b1e5
jmp 0x14000b046
jmp 0x14000b1f2
cmp dword [rsp + 0x44], 0xffffffff
jne 0x14000b1f2
xor eax, eax
jmp 0x14000b1f7
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.d2d1.dll_Ordinal_1
call fcn.140016540
mov rax, rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140016640
add rsp, 0xa0
pop rdi
ret