Function at 0x1400dd4f0
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 0x1400dd513
mov rcx, qword [rdx]
mov r8, rcx
mov r13, rcx
jmp 0x1400dd519
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 0x1400dd8ff
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.1400dd9a0
test al, al
je 0x1400dd697
lea eax, [rsi - 8]
cmp eax, 0x54
ja case.0x1400dd5c7.16
cdqe
movzx eax, byte [r10 + rax + 0xdd93c]
mov ecx, dword [r10 + rax*4 + 0xdd918]
add rcx, r10
jmp rcx
mov dword [rsp + 0xb8], 0x22005c
mov eax, dword [rsp + 0xb8]
jmp 0x1400dd64e
mov dword [rsp + 0xc0], 0x5c005c
mov eax, dword [rsp + 0xc0]
jmp 0x1400dd64e
mov dword [rsp + 0xc8], 0x2f005c
mov eax, dword [rsp + 0xc8]
jmp 0x1400dd64e
mov dword [rsp + 0x20], 0x62005c
mov eax, dword [rsp + 0x20]
jmp 0x1400dd64e
mov dword [rsp + 0x24], 0x66005c
mov eax, dword [rsp + 0x24]
jmp 0x1400dd64e
mov dword [rsp + 0x28], 0x6e005c
mov eax, dword [rsp + 0x28]
jmp 0x1400dd64e
mov dword [rsp + 0x2c], 0x72005c
mov eax, dword [rsp + 0x2c]
jmp 0x1400dd64e
mov dword [rsp + 0x30], 0x74005c
mov eax, dword [rsp + 0x30]
jmp 0x1400dd64e
mov eax, r9d
cmp qword [rbx + 0x18], 8
mov dword [rsp + 0x48], eax
jb 0x1400dd666
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx]
lea rdx, [rax + rcx*2]
jmp 0x1400dd673
mov rax, qword [rbx + 0x10]
lea rdx, [rbx + rax*2]
mov rax, rbx
jb 0x1400dd676
mov rax, qword [rbx]
sub rdx, rax
lea r8, [rsp + 0x48]
sar rdx, 1
mov r9d, 2
mov rcx, rbx
call fcn.140047990
xor r9d, r9d
jmp 0x1400dd8af
lea eax, [rsi - 0x20]
cmp ax, 0x5e
jbe 0x1400dd783
cmp si, di
jae 0x1400dd783
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 0x1400dd752
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx]
lea rdx, [rax + rcx*2]
jmp 0x1400dd75f
mov rax, qword [rbx + 0x10]
lea rdx, [rbx + rax*2]
mov rax, rbx
jb 0x1400dd762
mov rax, qword [rbx]
sub rdx, rax
lea r8, [rsp + 0x60]
sar rdx, 1
mov r9d, 6
mov rcx, rbx
call fcn.140047990
xor r9d, r9d
jmp 0x1400dd8af
mov r15, qword [rbx + 0x10]
mov r14, qword [rbx + 0x18]
cmp r15, r14
jae 0x1400dd7be
lea rax, [r15 + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp r14, 8
jb 0x1400dd7a4
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 0x1400dd8c6
mov rax, r8
sub rax, r15
cmp rax, 1
jb 0x1400dd910
lea r12, [r15 + 1]
mov rdi, r12
or rdi, 7
cmp rdi, r8
jbe 0x1400dd7e3
mov rdi, r8
jmp 0x1400dd804
mov rcx, r14
mov rax, r8
shr rcx, 1
sub rax, rcx
cmp r14, rax
jbe 0x1400dd7f9
mov rdi, r8
jmp 0x1400dd804
lea rax, [r14 + rcx]
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.14002bf30
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 0x1400dd87c
mov rdi, qword [rbx]
mov rdx, rdi
call fcn.1402b53e0
xor eax, eax
mov word [r15 + rbp], si
lea rdx, [r14*2 + 2]
mov word [r15 + rbp + 2], ax
cmp rdx, 0x1000
jb 0x1400dd86f
mov rcx, qword [rdi - 8]
add rdx, 0x27
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1400dd90a
mov rdi, rcx
mov rcx, rdi
call fcn.140296f94
xor r9d, r9d
jmp 0x1400dd892
mov rdx, rbx
call fcn.1402b53e0
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 0x1400dd590
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.1402ba3ec
int3
call fcn.14002c880
int3