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

Disassembly:
push rbx
push r13
sub rsp, 0x98
cmp qword [rdx + 0x18], 8
mov rbx, rcx
mov rcx, rdx
jb 0x1400bf373
mov rcx, qword [rdx]
mov r8, rcx
mov r13, rcx
jmp 0x1400bf379
mov r13, rdx
mov r8, rdx
mov rax, qword [rdx + 0x10]
lea rax, [r8 + rax*2]
mov qword [rsp + 0x50], rax
cmp rcx, rax
je 0x1400bf75f
mov qword [rsp + 0xb0], rbp
lea r10, [0x140000000]
mov r11d, 0x5c
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x88], rdi
xor r9d, r9d
mov qword [rsp + 0x80], r12
movabs r8, 0x7ffffffffffffffe
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r15
lea r12d, [r11 - 0x3a]
lea r15d, [r11 + 0x19]
lea edi, [r11 + 0x44]
lea ebp, [r11 - 0x52]
lea r14d, [r11 - 0x2c]
nop word [rax + rax]
movzx esi, word [r13]
movzx ecx, si
call fcn.1400bf800
test al, al
je 0x1400bf4f7
lea eax, [rsi - 8]
cmp eax, 0x54
ja case.0x1400bf427.16
cdqe
movzx eax, byte [r10 + rax + 0xbf79c]
mov ecx, dword [r10 + rax*4 + 0xbf778]
add rcx, r10
jmp rcx
mov dword [rsp + 0xb8], 0x22005c
mov eax, dword [rsp + 0xb8]
jmp 0x1400bf4ae
mov dword [rsp + 0xc0], 0x5c005c
mov eax, dword [rsp + 0xc0]
jmp 0x1400bf4ae
mov dword [rsp + 0xc8], 0x2f005c
mov eax, dword [rsp + 0xc8]
jmp 0x1400bf4ae
mov dword [rsp + 0x20], 0x62005c
mov eax, dword [rsp + 0x20]
jmp 0x1400bf4ae
mov dword [rsp + 0x24], 0x66005c
mov eax, dword [rsp + 0x24]
jmp 0x1400bf4ae
mov dword [rsp + 0x28], 0x6e005c
mov eax, dword [rsp + 0x28]
jmp 0x1400bf4ae
mov dword [rsp + 0x2c], 0x72005c
mov eax, dword [rsp + 0x2c]
jmp 0x1400bf4ae
mov dword [rsp + 0x30], 0x74005c
mov eax, dword [rsp + 0x30]
jmp 0x1400bf4ae
mov eax, r9d
cmp qword [rbx + 0x18], 8
mov dword [rsp + 0x48], eax
jb 0x1400bf4c6
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx]
lea rdx, [rax + rcx*2]
jmp 0x1400bf4d3
mov rax, qword [rbx + 0x10]
lea rdx, [rbx + rax*2]
mov rax, rbx
jb 0x1400bf4d6
mov rax, qword [rbx]
sub rdx, rax
lea r8, [rsp + 0x48]
sar rdx, 1
mov r9d, 2
mov rcx, rbx
call fcn.14003cc00
xor r9d, r9d
jmp 0x1400bf70f
lea eax, [rsi - 0x20]
cmp ax, 0x5e
jbe 0x1400bf5e3
cmp si, di
jae 0x1400bf5e3
movzx ecx, si
mov dword [rsp + 0x38], 0x75005c
shr cx, 0xc
mov eax, reloc.WS2_32.dll_getservbyname
cmp bp, cx
cmova ax, r14w
add ax, cx
movzx ecx, si
mov word [rsp + 0x3c], ax
mov eax, reloc.WS2_32.dll_getservbyname
shr cx, 8
and cx, 0xf
cmp bp, cx
cmova ax, r14w
add ax, cx
movzx ecx, si
mov word [rsp + 0x3e], ax
mov eax, reloc.WS2_32.dll_getservbyname
movsd xmm0, qword [rsp + 0x38]
shr cx, 4
and cx, 0xf
movsd qword [rsp + 0x60], xmm0
cmp bp, cx
cmova ax, r14w
and si, 0xf
add ax, cx
mov word [rsp + 0x40], ax
cmp bp, si
mov eax, reloc.WS2_32.dll_getservbyname
cmova ax, r14w
add ax, si
cmp qword [rbx + 0x18], 8
mov word [rsp + 0x42], ax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x68], eax
jb 0x1400bf5b2
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx]
lea rdx, [rax + rcx*2]
jmp 0x1400bf5bf
mov rax, qword [rbx + 0x10]
lea rdx, [rbx + rax*2]
mov rax, rbx
jb 0x1400bf5c2
mov rax, qword [rbx]
sub rdx, rax
lea r8, [rsp + 0x60]
sar rdx, 1
mov r9d, 6
mov rcx, rbx
call fcn.14003cc00
xor r9d, r9d
jmp 0x1400bf70f
mov r15, qword [rbx + 0x10]
mov r14, qword [rbx + 0x18]
cmp r15, r14
jae 0x1400bf61e
lea rax, [r15 + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp r14, 8
jb 0x1400bf604
mov rax, qword [rbx]
mov r14d, getprotobyname
mov word [rax + r15*2], si
mov word [rax + r15*2 + 2], r9w
lea r15d, [r14 + 0x45]
jmp 0x1400bf726
mov rax, r8
sub rax, r15
cmp rax, 1
jb 0x1400bf770
lea r12, [r15 + 1]
mov rdi, r12
or rdi, 7
cmp rdi, r8
jbe 0x1400bf643
mov rdi, r8
jmp 0x1400bf664
mov rcx, r14
mov rax, r8
shr rcx, 1
sub rax, rcx
cmp r14, rax
jbe 0x1400bf659
mov rdi, r8
jmp 0x1400bf664
lea rax, [r14 + rcx]
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.140026230
add r15, r15
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], rdi
mov rbp, rax
mov r8, r15
mov rcx, rax
cmp r14, 8
jb 0x1400bf6dc
mov rdi, qword [rbx]
mov rdx, rdi
call fcn.14026bb50
xor eax, eax
mov word [r15 + rbp], si
lea rdx, [r14*2 + 2]
mov word [r15 + rbp + 2], ax
cmp rdx, 0x1000
jb 0x1400bf6cf
mov rcx, qword [rdi - 8]
add rdx, 0x27
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1400bf76a
mov rdi, rcx
mov rcx, rdi
call fcn.140269844
xor r9d, r9d
jmp 0x1400bf6f2
mov rdx, rbx
call fcn.14026bb50
xor r9d, r9d
mov word [r15 + rbp], si
mov word [r15 + rbp + 2], r9w
mov r12d, 0x22
mov qword [rbx], rbp
lea r15d, [r12 + 0x53]
lea r14d, [r12 + 0xe]
lea ebp, [r12 - 0x18]
lea edi, [r12 + 0x7e]
mov r11d, 0x5c
lea r10, [0x140000000]
movabs r8, 0x7ffffffffffffffe
add r13, 2
cmp r13, qword [rsp + 0x50]
jne 0x1400bf3f0
mov r14, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x70]
add rsp, 0x98
pop r13
pop rbx
ret
call fcn.140277ff8
int3
call fcn.1400255b0
int3