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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov rax, qword [rdx]
mov r15, rcx
movzx ebp, byte [rdx + 0x24]
mov rdi, rdx
mov rbx, qword [rcx + 0x10]
not ebp
mov r14d, dword [rsp + 0xc0]
xor ecx, ecx
mov r12d, dword [rax]
and ebp, 1
mov eax, dword [rdx + 8]
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x90], eax
lea r13d, [r12 + rbp]
mov dword [rsp + 0x30], ecx
add r13d, dword [rsp + 0xb8]
test r14d, r14d
je 0x1400d1658
mov esi, r9d
sub esi, r14d
jmp 0x1400d1666
mov eax, dword [r15 + 0x3c]
lea esi, [rax + 1]
add eax, r13d
mov dword [r15 + 0x3c], eax
mov eax, dword [r8 + 0xc]
test eax, eax
je 0x1400d1684
lea r14d, [rax + 1]
mov dword [rsp + 0x98], r14d
mov r14d, dword [rsp + 0xc0]
jmp 0x1400d168f
mov eax, dword [r8 + 8]
mov dword [rsp + 0x98], eax
mov eax, dword [r15 + 0x48]
mov ecx, 5
mov r9d, dword [rsp + 0xb0]
dec eax
mov dword [r15 + 0x48], eax
test r9d, r9d
mov dword [rdx + 0x1c], eax
mov r8d, esi
mov rdx, qword [rdx]
mov eax, 1
cmovne eax, ecx
mov rcx, r15
mov byte [rsp + 0x20], al
call fcn.1400ee2e0
test ebp, ebp
je 0x1400d172a
movsxd rcx, dword [rbx + 0x90]
lea edx, [rsi + r12]
mov r8d, dword [rdi + 0xc]
cmp dword [rbx + 0x94], ecx
jg 0x1400d16f9
xor eax, eax
mov r9d, edx
mov edx, 0x7e
mov dword [rsp + 0x20], eax
mov rcx, rbx
call fcn.1400bb2e0
jmp 0x1400d172a
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
test r14d, r14d
jne 0x1400d1753
mov eax, dword [rsp + 0xb8]
test eax, eax
jle 0x1400d1753
mov edx, dword [rsp + 0xa8]
lea r8d, [rsi + r12]
add r8d, ebp
mov r9d, eax
mov rcx, r15
call fcn.1400efc30
cmp dword [rsp + 0x90], 0
lea r14, [0x14019e058]
jle 0x1400d19fb
mov r8, qword [rsp + 0xa0]
mov r9d, esi
mov rdx, rdi
mov dword [rsp + 0x20], r13d
mov rcx, r15
call fcn.1400c7280
mov edx, dword [r15 + 0x3c]
lea r8d, [rsi + r12]
mov dword [rsp + 0x34], eax
lea eax, [rdx + 1]
add edx, dword [rdi + 8]
mov dword [rsp + 0xc0], eax
mov eax, r12d
mov dword [r15 + 0x3c], edx
sub eax, dword [rdi + 8]
add eax, ebp
mov dword [rsp + 0xb0], eax
test ebp, ebp
jne 0x1400d17b7
mov r8d, dword [rdi + 0xc]
mov edx, reloc.WS2_32.dll_recvfrom
mov eax, 0x78
test ebp, ebp
mov rcx, rbx
cmove edx, eax
call fcn.14011a510
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [rdi + 8]
mov r8d, dword [rsp + 0xc0]
mov dword [rsp + 0x38], eax
cmp dword [rbx + 0x94], ecx
jg 0x1400d1802
mov dword [rsp + 0x20], edx
mov r9d, esi
mov edx, 0x5a
mov rcx, rbx
call fcn.1400bb2e0
jmp 0x1400d1832
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], esi
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
je 0x1400d1840
mov rbp, r14
jmp 0x1400d1853
movsxd rax, dword [rdi + 0x18]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rbp, [rax + rcx*8]
mov rax, qword [r15]
cmp byte [rax + 0x67], 0
jne 0x1400d1c27
mov r14, qword [rbp + 0x10]
xor edx, edx
mov eax, dword [rsp + 0xb0]
add eax, dword [rsp + 0xb8]
mov dword [rbp + 8], eax
movzx r8d, word [r14 + 6]
mov rcx, qword [r14 + 0x18]
call fcn.1401585e8
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
je 0x1400d18ac
cmp qword [rax + 0x308], 0
jne 0x1400d18e8
add dword [r14], 0xffffffff
jne 0x1400d18e8
mov rcx, qword [r14 + 0x10]
mov rdx, r14
call fcn.1400ea6d0
jmp 0x1400d18e8
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 0x1400d18e0
mov r9d, 0xfffffff8
mov r8, r14
mov rcx, rbx
call fcn.14013a520
jmp 0x1400d18e8
mov qword [rdx + 0x10], r14
mov byte [rdx + 1], 0xf8
movzx r9d, word [r14 + 8]
mov rcx, r15
movzx eax, word [r14 + 6]
mov r8d, dword [rsp + 0x90]
sub r9d, eax
mov rdx, qword [rdi]
dec r9d
call fcn.1400ff4a0
mov qword [rbp + 0x10], rax
xor r9d, r9d
movsxd rbp, dword [rbx + 0x90]
mov edx, select
mov rcx, rbx
lea r8d, [rbp + 1]
mov dword [rsp + 0x20], r8d
call fcn.14011a5f0
dec dword [r15 + 0x48]
mov edx, 0xa
mov eax, dword [r15 + 0x48]
mov rcx, rbx
mov dword [rdi + 0x14], eax
mov r8d, dword [r15 + 0x3c]
inc r8d
mov dword [r15 + 0x3c], r8d
mov r9d, dword [rdi + 0x14]
mov dword [rdi + 0x10], r8d
call fcn.14011a580
mov r8d, dword [rdi + 0xc]
mov edx, 0x92
mov rcx, rbx
call fcn.14011a510
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x1400d198a
mov r9d, dword [rdi + 0x1c]
mov r8d, eax
mov edx, reloc.WS2_32.dll_recvfrom
mov rcx, rbx
call fcn.14011a580
mov rax, qword [rbx]
lea r14, [0x14019e058]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x1400d19a5
mov rax, r14
jmp 0x1400d19b9
movsxd rax, dword [rsp + 0x38]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov r8d, dword [rsp + 0xc0]
mov rcx, r15
mov dword [rax + 8], edx
mov edx, esi
mov r9d, dword [rdi + 8]
call fcn.1400efc30
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
jne 0x1400d19f7
mov rax, qword [rbx + 0x88]
lea rcx, [rbp*2]
add rcx, rbp
lea r14, [rax + rcx*8]
mov dword [r14 + 8], edx
mov r8d, dword [rsp + 0x98]
test r8d, r8d
je 0x1400d1b48
movsxd rcx, dword [rbx + 0x90]
mov ebp, dword [rdi + 0xc]
lea edx, [rcx + 4]
cmp dword [rbx + 0x94], ecx
jg 0x1400d1a3c
xor eax, eax
mov r9d, edx
mov edx, 0x3c
mov dword [rsp + 0x20], eax
mov rcx, rbx
call fcn.1400bb2e0
xor r9d, r9d
jmp 0x1400d1a6d
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], 0x3c
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
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400d1a99
mov dword [rsp + 0x20], r9d
mov r8d, ebp
xor r9d, r9d
mov edx, 0x20
mov rcx, rbx
call fcn.1400bb2e0
xor r9d, r9d
jmp 0x1400d1ac6
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x20
mov dword [rax + rcx*8 + 4], ebp
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
mov eax, dword [rsp + 0x90]
sub r12d, eax
movsxd r14, dword [rbx + 0x90]
mov dword [rsp + 0x30], r14d
lea edx, [rsi + rax]
cmp dword [rbx + 0x94], r14d
jg 0x1400d1b0a
mov dword [rsp + 0x28], r12d
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, ebp
mov edx, 0x28
mov rcx, rbx
call fcn.14009bbb0
mov dword [rsp + 0x30], eax
jmp 0x1400d1b38
lea rcx, [r14 + r14*2]
lea eax, [r14 + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xfd28
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov dword [rax + rcx*8 + 0x10], r12d
mov r8d, ebp
mov edx, 0x82
mov rcx, rbx
call fcn.14011a510
mov r10d, dword [rsp + 0x34]
test r10d, r10d
jne 0x1400d1b70
mov r8, qword [rsp + 0xa0]
mov r9d, esi
mov rdx, rdi
mov dword [rsp + 0x20], r13d
mov rcx, r15
call fcn.1400c7280
mov r10d, eax
mov eax, dword [rsp + 0x90]
sub r13d, eax
movzx edx, byte [rdi + 0x24]
movsxd rcx, dword [rbx + 0x90]
and edx, 1
mov r8d, dword [rdi + 0xc]
add edx, 0x8a
lea r9d, [rsi + rax]
cmp dword [rbx + 0x94], ecx
jg 0x1400d1bb5
mov dword [rsp + 0x28], r13d
mov rcx, rbx
mov dword [rsp + 0x20], r9d
mov r9d, r10d
call fcn.14009bbb0
jmp 0x1400d1bec
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], r10d
mov dword [rax + rcx*8 + 0xc], r9d
mov dword [rax + rcx*8 + 0x10], r13d
mov byte [rax + rcx*8 + 1], 0xfd
movsxd rcx, dword [rsp + 0x30]
test ecx, ecx
je 0x1400d1c27
mov edx, dword [rdi + 0x20]
test edx, edx
jne 0x1400d1c02
mov edx, dword [rbx + 0x90]
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
je 0x1400d1c14
lea r8, [0x14019e058]
jmp 0x1400d1c23
mov rax, qword [rbx + 0x88]
lea rcx, [rcx + rcx*2]
lea r8, [rax + rcx*8]
mov dword [r8 + 8], edx
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret