Function at 0x14000b0c0
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 [0x14002b5c0]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp dword [0x1402b1e18], 5
jne 0x14000b0ff
cmp qword [0x1402b1e10], 0
jne 0x14000b109
mov eax, 1
jmp 0x14000b387
mov rax, qword [0x1402b1e10]
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 0x14000b377
movzx eax, word [rsp + 0x32]
and eax, 7
test eax, eax
je 0x14000b15f
xor eax, eax
jmp 0x14000b387
movzx eax, word [rsp + 0x32]
and eax, 0x300
test eax, eax
je 0x14000b375
mov eax, 0x1000
sub eax, dword [0x1402b1f68]
mov ecx, dword [0x1402b1f68]
mov rdx, qword [0x1402b1f60]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rcx, qword [0x1402b1e10]
call sub.WS2_32.dll_recv
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 1
jge 0x14000b1b6
xor eax, eax
jmp 0x14000b387
mov eax, dword [rsp + 0x48]
mov ecx, dword [0x1402b1f68]
add ecx, eax
mov eax, ecx
mov dword [0x1402b1f68], eax
mov rax, qword [0x1402b1f60]
mov qword [rsp + 0x50], rax
mov eax, dword [0x1402b1f68]
cmp rax, 4
jb 0x14000b375
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
xor eax, 0xbf320f30
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
mov eax, dword [0x1402b1f68]
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx + 2]
add rcx, 4
cmp rax, rcx
jb 0x14000b35b
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 2]
mov rcx, qword [0x1402b1f60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [0x1402b1f60]
add rax, 4
mov qword [rsp + 0x60], rax
jmp 0x14000b250
mov rax, qword [rsp + 0x60]
add rax, 4
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x60], rax
ja 0x14000b271
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
xor eax, 0x198547a6
mov rcx, qword [rsp + 0x60]
mov dword [rcx], eax
jmp 0x14000b242
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x14000b288
xor eax, eax
jmp 0x14000b387
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 0x14000b2c9
cmp byte [rsp + 0x88], 4
je 0x14000b2d4
cmp byte [rsp + 0x88], 5
je 0x14000b2df
cmp byte [rsp + 0x88], 6
je 0x14000b2ea
jmp 0x14000b2f3
call fcn.14000afa0
mov dword [rsp + 0x68], eax
jmp 0x14000b2f3
call fcn.14000b3c0
mov dword [rsp + 0x68], eax
jmp 0x14000b2f3
call fcn.14000af80
mov dword [rsp + 0x68], eax
jmp 0x14000b2f3
call fcn.14000b0a0
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 [0x1402b1f68]
sub rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14000b344
mov rax, qword [rsp + 0x70]
mov rcx, qword [0x1402b1f60]
add rcx, rax
mov rax, rcx
mov r8, qword [rsp + 0x78]
mov rdx, rax
mov rcx, qword [0x1402b1f60]
call fcn.1400298b0
nop
mov eax, dword [rsp + 0x78]
mov dword [0x1402b1f68], eax
cmp dword [rsp + 0x68], 0
jne 0x14000b359
xor eax, eax
jmp 0x14000b387
jmp 0x14000b370
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
xor eax, 0xbf320f30
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
jmp 0x14000b375
jmp 0x14000b1d6
jmp 0x14000b382
cmp dword [rsp + 0x44], 0xffffffff
jne 0x14000b382
xor eax, eax
jmp 0x14000b387
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.d2d1.dll_Ordinal_1
call fcn.1400166c0
mov rax, rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400167c0
add rsp, 0xa0
pop rdi
ret