Function at 0x1400d7600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [rdx]
mov rdi, rdx
movzx esi, byte [rdx + 0x24]
mov r15, rcx
mov rbx, qword [rcx + 0x10]
xor edx, edx
mov r13d, dword [rsp + 0xa8]
not esi
mov eax, dword [rax]
and esi, 1
mov ebp, dword [rsp + 0xb0]
mov r12d, r9d
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x3c], edx
lea ecx, [rax + rsi]
mov dword [rsp + 0x38], edx
mov eax, dword [rdi + 8]
add ecx, r13d
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x88], eax
test ebp, ebp
je 0x1400d7674
mov r14d, r9d
sub r14d, ebp
jmp 0x1400d7682
mov eax, dword [r15 + 0x38]
lea r14d, [rax + 1]
add eax, ecx
mov dword [r15 + 0x38], eax
mov eax, dword [r8 + 0xc]
test eax, eax
je 0x1400d768e
inc eax
jmp 0x1400d7692
mov eax, dword [r8 + 8]
mov r9d, dword [rsp + 0xa0]
mov ecx, 5
mov dword [rsp + 0x30], eax
mov r8d, r14d
mov eax, dword [r15 + 0x44]
dec eax
mov dword [r15 + 0x44], eax
test r9d, r9d
mov rdx, qword [rdi]
mov dword [rdi + 0x1c], eax
mov eax, 1
cmovne eax, ecx
mov rcx, r15
mov byte [rsp + 0x20], al
call fcn.1400a0020
test esi, esi
je 0x1400d7704
mov edx, dword [rsp + 0x80]
movsxd rcx, dword [rbx + 0x90]
add edx, r14d
mov r8d, dword [rdi + 0xc]
cmp dword [rbx + 0x94], ecx
jg 0x1400d7753
xor eax, eax
mov r9d, edx
mov edx, 0x7e
mov dword [rsp + 0x20], eax
mov rcx, rbx
call fcn.14007c620
xor r9d, r9d
test ebp, ebp
mov ebp, dword [rsp + 0x80]
jne 0x1400d77b5
test r13d, r13d
jle 0x1400d77b5
mov r10, qword [r15 + 0x10]
lea edx, [r14 + rbp]
add edx, esi
movsxd rcx, dword [r10 + 0x90]
cmp dword [r10 + 0x94], ecx
jg 0x1400d7786
mov r9d, edx
mov dword [rsp + 0x20], r13d
mov edx, reloc.WLDAP32.dll_Ordinal_79
mov r8d, r12d
mov rcx, r10
call fcn.14007c620
jmp 0x1400d77b5
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x7e
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
jmp 0x1400d7707
lea eax, [rcx + 1]
mov dword [r10 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r10 + 0x88]
mov dword [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_79
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r9
cmp dword [rsp + 0x88], 0
lea r13, [0x1402df730]
jle 0x1400d7c50
mov eax, dword [rsp + 0x34]
mov r9d, r14d
mov r8, qword [rsp + 0x90]
mov rdx, rdi
mov rcx, r15
mov dword [rsp + 0x20], eax
call fcn.1400d7540
mov edx, dword [r15 + 0x38]
mov r12d, ebp
mov dword [rsp + 0x3c], eax
lea r8d, [rdx + 1]
add edx, dword [rdi + 8]
mov dword [r15 + 0x38], edx
sub r12d, dword [rdi + 8]
add r12d, esi
mov dword [rsp + 0xb0], r8d
test esi, esi
je 0x1400d7870
lea edx, [r14 + rbp]
movsxd rbp, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ebp
jg 0x1400d784c
xor eax, eax
mov r8d, edx
mov edx, reloc.WS2_32.dll_recvfrom
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov rcx, rbx
call fcn.14007c620
mov r8d, dword [rsp + 0xb0]
mov ebp, eax
jmp 0x1400d78da
lea eax, [rbp + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 0x88]
add rcx, rbp
mov dword [rax + rcx*8], reloc.WS2_32.dll_recvfrom
jmp 0x1400d78c9
movsxd rbp, dword [rbx + 0x90]
mov edx, dword [rdi + 0xc]
cmp dword [rbx + 0x94], ebp
jg 0x1400d78a7
xor eax, eax
mov r8d, edx
mov edx, 0x78
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov rcx, rbx
call fcn.14007c620
mov r8d, dword [rsp + 0xb0]
mov ebp, eax
jmp 0x1400d78da
lea eax, [rbp + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 0x88]
add rcx, rbp
mov dword [rax + rcx*8], 0x78
xor r9d, r9d
mov qword [rax + rcx*8 + 0x10], r9
mov qword [rax + rcx*8 + 8], r9
mov dword [rax + rcx*8 + 4], edx
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [rdi + 8]
cmp dword [rbx + 0x94], ecx
jg 0x1400d7902
mov dword [rsp + 0x20], edx
mov r9d, r14d
mov edx, 0x5a
mov rcx, rbx
call fcn.14007c620
jmp 0x1400d7933
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x5a
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
jne 0x1400d794f
movsxd rax, dword [rdi + 0x18]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea r13, [rax + rcx*8]
mov rax, qword [r15]
cmp byte [rax + 0x67], 0
jne 0x1400d7ecf
mov rsi, qword [r13 + 0x10]
xor edx, edx
mov eax, dword [rsp + 0xa8]
add eax, r12d
mov dword [r13 + 8], eax
movzx r8d, word [rsi + 6]
mov rcx, qword [rsi + 0x18]
call fcn.140233420
mov rcx, qword [rbx]
cmp byte [rcx + 0x67], 0
je 0x1400d7996
mov r8, rsi
mov edx, 0xfffffff8
call fcn.14007d1a0
jmp 0x1400d79d2
movsxd rax, dword [rbx + 0x90]
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rdx, [rdx - 3]
cmp byte [rax + rdx*8 + 1], 0
lea rdx, [rax + rdx*8]
je 0x1400d79ca
mov r9d, 0xfffffff8
mov r8, rsi
mov rcx, rbx
call fcn.14007d2c0
jmp 0x1400d79d2
mov qword [rdx + 0x10], rsi
mov byte [rdx + 1], 0xf8
movzx r9d, word [rsi + 8]
mov rcx, r15
movzx eax, word [rsi + 6]
mov r8d, dword [rsp + 0x88]
sub r9d, eax
mov rdx, qword [rdi]
dec r9d
call fcn.1400d9680
mov qword [r13 + 0x10], rax
movsxd rsi, dword [rbx + 0x90]
lea edx, [rsi + 1]
cmp dword [rbx + 0x94], esi
jg 0x1400d7a26
mov dword [rsp + 0x20], edx
mov r8d, edx
mov edx, recv
xor r9d, r9d
mov rcx, rbx
call fcn.14007c620
xor r9d, r9d
jmp 0x1400d7a53
mov rax, qword [rbx + 0x88]
lea rcx, [rsi + rsi*2]
mov dword [rbx + 0x90], edx
xor r9d, r9d
mov dword [rax + rcx*8], send
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
dec dword [r15 + 0x44]
mov eax, dword [r15 + 0x44]
mov dword [rdi + 0x14], eax
mov edx, dword [r15 + 0x38]
inc edx
mov dword [r15 + 0x38], edx
mov r8d, dword [rdi + 0x14]
mov dword [rdi + 0x10], edx
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400d7a9b
mov dword [rsp + 0x20], r9d
mov rcx, rbx
mov r9d, r8d
mov r8d, edx
mov edx, 0xa
call fcn.14007c620
xor r9d, r9d
jmp 0x1400d7ac9
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xa
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [rdi + 0xc]
cmp dword [rbx + 0x94], ecx
jg 0x1400d7af8
mov dword [rsp + 0x20], r9d
mov r8d, edx
xor r9d, r9d
mov edx, 0x92
mov rcx, rbx
call fcn.14007c620
xor r9d, r9d
jmp 0x1400d7b25
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], __WSAFDIsSet
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
mov r12d, dword [rsp + 0x30]
test r12d, r12d
je 0x1400d7b8b
movsxd rcx, dword [rbx + 0x90]
mov r8d, dword [rdi + 0x1c]
cmp dword [rbx + 0x94], ecx
jg 0x1400d7b5c
mov dword [rsp + 0x20], r9d
mov edx, reloc.WS2_32.dll_recvfrom
mov r9d, r8d
mov rcx, rbx
mov r8d, r12d
call fcn.14007c620
jmp 0x1400d7b8b
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], reloc.WS2_32.dll_recvfrom
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rbx]
lea r13, [0x1402df730]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x1400d7ba6
mov rax, r13
jmp 0x1400d7bb8
movsxd rax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov r9d, dword [rsp + 0xb0]
mov dword [rax + 8], edx
mov r10, qword [r15 + 0x10]
mov r8d, dword [rdi + 8]
movsxd rcx, dword [r10 + 0x90]
cmp dword [r10 + 0x94], ecx
jg 0x1400d7bf2
mov dword [rsp + 0x20], r8d
mov edx, reloc.WLDAP32.dll_Ordinal_79
mov r8d, r14d
mov rcx, r10
call fcn.14007c620
jmp 0x1400d7c24
lea eax, [rcx + 1]
xor edx, edx
mov dword [r10 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r10 + 0x88]
mov dword [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_79
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], rdx
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x1400d7c3b
mov rax, r13
mov dword [rax + 8], edx
jmp 0x1400d7c55
mov rax, qword [rbx + 0x88]
lea rcx, [rsi + rsi*2]
mov dword [rax + rcx*8 + 8], edx
lea rax, [rax + rcx*8]
jmp 0x1400d7c55
mov r12d, dword [rsp + 0x30]
test r12d, r12d
je 0x1400d7df1
movsxd rcx, dword [rbx + 0x90]
mov esi, dword [rdi + 0xc]
lea edx, [rcx + 4]
cmp dword [rbx + 0x94], ecx
jg 0x1400d7c91
xor eax, eax
mov r9d, edx
mov edx, reloc.WLDAP32.dll_Ordinal_60
mov dword [rsp + 0x20], eax
mov r8d, r12d
mov rcx, rbx
call fcn.14007c620
xor r10d, r10d
jmp 0x1400d7cc2
lea eax, [rcx + 1]
xor r10d, r10d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_60
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400d7cee
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov r8d, esi
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rbx
call fcn.14007c620
xor r10d, r10d
jmp 0x1400d7d1b
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_32
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
mov ebp, dword [rsp + 0x88]
movsxd r8, dword [rbx + 0x90]
mov r9d, dword [rsp + 0x80]
sub r9d, ebp
mov dword [rsp + 0x38], r8d
lea edx, [r14 + rbp]
cmp dword [rbx + 0x94], r8d
jg 0x1400d7d6b
mov dword [rsp + 0x28], r9d
mov r8d, esi
mov dword [rsp + 0x20], edx
xor r9d, r9d
mov edx, Ordinal_41
mov rcx, rbx
call fcn.14007c680
mov dword [rsp + 0x38], eax
xor r10d, r10d
jmp 0x1400d7d99
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xfd28
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r10d
mov dword [rax + rcx*8 + 0xc], edx
mov dword [rax + rcx*8 + 0x10], r9d
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400d7dc2
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov r8d, esi
mov edx, 0x82
mov rcx, rbx
call fcn.14007c620
jmp 0x1400d7df8
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x82
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
jmp 0x1400d7df8
mov ebp, dword [rsp + 0x88]
mov r11d, dword [rsp + 0x3c]
test r11d, r11d
jne 0x1400d7e23
mov eax, dword [rsp + 0x34]
mov r9d, r14d
mov r8, qword [rsp + 0x90]
mov rdx, rdi
mov rcx, r15
mov dword [rsp + 0x20], eax
call fcn.1400d7540
mov r11d, eax
movzx edx, byte [rdi + 0x24]
lea r9d, [r14 + rbp]
mov r10d, dword [rsp + 0x34]
and edx, 1
movsxd rcx, dword [rbx + 0x90]
add edx, 0x8a
mov r8d, dword [rdi + 0xc]
sub r10d, ebp
cmp dword [rbx + 0x94], ecx
jg 0x1400d7e66
mov dword [rsp + 0x28], r10d
mov rcx, rbx
mov dword [rsp + 0x20], r9d
mov r9d, r11d
call fcn.14007c680
jmp 0x1400d7e9d
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8], dl
xor edx, edx
mov word [rax + rcx*8 + 2], dx
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r11d
mov dword [rax + rcx*8 + 0xc], r9d
mov dword [rax + rcx*8 + 0x10], r10d
mov byte [rax + rcx*8 + 1], 0xfd
movsxd rcx, dword [rsp + 0x38]
test ecx, ecx
je 0x1400d7ecf
mov edx, dword [rdi + 0x20]
test edx, edx
jne 0x1400d7eb3
mov edx, dword [rbx + 0x90]
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
jne 0x1400d7ecb
mov rax, qword [rbx + 0x88]
lea rcx, [rcx + rcx*2]
lea r13, [rax + rcx*8]
mov dword [r13 + 8], edx
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret