Function at 0x1400e3f50
Capabilities:
Enumerate pe sections

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r12
push r15
sub rsp, 0x80
lea rbp, [rdx - 8]
mov r12, r9
add rbp, rcx
mov r15, rcx
cmp rdx, 8
jbe 0x1400e4606
mov r10, qword [rsp + 0xe8]
mov r9d, 1
mov qword [rax + 0x18], rbx
lea rbx, [r8 + 4]
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], rdi
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
movzx eax, word [r8]
mov dword [rsp + 0xc], eax
mov qword [rsp + 0x48], rbx
test eax, eax
je 0x1400e3fbb
lea ecx, [rax - 1]
mov eax, r9d
shl eax, cl
jmp 0x1400e3fbe
mov eax, r9d
movzx r11d, byte [r12 + r10 - 1]
add r8, 4
cdqe
lea rax, [r8 + rax*4]
mov r8, qword [rax + r11*8]
mov qword [rsp + 0x40], rax
mov rdx, r8
shr rdx, 0x20
lea ecx, [rdx + 0x8000]
shr ecx, 0x10
mov eax, ecx
shl eax, 0x10
sub eax, edx
mov edx, eax
sar rdx, cl
movsxd rax, r8d
add rdx, rax
movzx eax, word [rbx + rdx*2]
mov rdx, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xc8]
mov qword [rsp + 0x18], rax
movzx eax, word [rdx]
lea rdi, [rdx + 4]
movzx ebx, byte [rbx + r10 - 1]
mov dword [rsp + 0x10], eax
mov qword [rsp + 0x38], rdi
test eax, eax
je 0x1400e4036
lea ecx, [rax - 1]
mov eax, r9d
shl eax, cl
jmp 0x1400e4039
mov eax, r9d
add rdx, 4
movsxd rcx, eax
lea rcx, [rdx + rcx*4]
mov r8, qword [rcx + rbx*8]
mov qword [rsp + 0x30], rcx
mov rdx, r8
shr rdx, 0x20
lea ecx, [rdx + 0x8000]
shr ecx, 0x10
mov eax, ecx
shl eax, 0x10
sub eax, edx
mov edx, eax
sar rdx, cl
movsxd rax, r8d
add rdx, rax
movzx eax, word [rdi + rdx*2]
mov rdx, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xd8]
mov qword [rsp + 0x20], rax
movzx eax, word [rdx]
lea rsi, [rdx + 4]
mov dword [rsp + 0x14], eax
mov qword [rsp + 0x58], rsi
test eax, eax
je 0x1400e40a2
lea ecx, [rax - 1]
shl r9d, cl
mov r13, qword [rsp + 0xe0]
add rdx, 4
movsxd rax, r9d
movzx r9d, byte [rdi + r10 - 1]
lea rax, [rdx + rax*4]
mov r8, qword [rax + r9*8]
mov qword [rsp + 0x50], rax
mov rdx, r8
shr rdx, 0x20
lea ecx, [rdx + 0x8000]
shr ecx, 0x10
mov eax, ecx
shl eax, 0x10
sub eax, edx
mov edx, eax
sar rdx, cl
movsxd rax, r8d
add rdx, rax
movzx eax, word [rsi + rdx*2]
lea rsi, [0x140000000]
movzx edx, byte [r11 + rsi + 0x3fded0]
movzx r8d, byte [r9 + rsi + 0x3fde20]
mov qword [rsp], rax
mov ecx, r8d
movzx eax, word [r13 + r10*8 - 2]
mov r11d, dword [rsi + rdx*4 + 0x3fde50]
and r11, rax
lea r9d, [r8 + rdx]
movzx eax, word [r13 + r10*8 - 4]
mov rdx, rbx
shl r11, cl
mov ecx, dword [rsi + r8*4 + 0x3fde50]
and rcx, rax
or r11, rcx
cmp dword [rsp + 0xf0], 0
je 0x1400e41c2
mov ebx, reloc.WS2_32.dll_getservbyport
mov rax, r15
cmp edx, ebx
cmovb ebx, edx
sub edx, ebx
mov r14d, edx
je 0x1400e4194
mov eax, dword [r13 + r10*8 - 8]
mov ecx, r9d
mov r8d, dword [rsi + rdx*4 + 0x3fde50]
add r9d, edx
and r8, rax
shl r8, cl
or r8, r11
mov ecx, r9d
shr rcx, 3
mov qword [r15], r8
lea rax, [rcx + r15]
cmp rax, rbp
cmova rax, rbp
shl cl, 3
shr r8, cl
and r9d, 7
jmp 0x1400e4197
mov r8, r11
mov esi, dword [rsi + rbx*4 + 0x3fde50]
mov rcx, r14
mov edx, dword [r13 + r10*8 - 8]
lea r14d, [rbx + r9]
shr rdx, cl
lea rbx, [0x140000000]
and rsi, rdx
mov ecx, r9d
shl rsi, cl
or rsi, r8
jmp 0x1400e41e8
mov eax, dword [r13 + r10*8 - 8]
lea rbx, [0x140000000]
mov esi, dword [rbx + rdx*4 + 0x3fde50]
lea r14d, [r9 + rdx]
and rsi, rax
mov ecx, r9d
shl rsi, cl
mov rax, r15
or rsi, r11
mov qword [rax], rsi
lea r13, [r10 - 2]
mov ecx, r14d
shr rcx, 3
add rax, rcx
cmp rax, rbp
cmova rax, rbp
shl cl, 3
shr rsi, cl
and r14d, 7
cmp r13, r10
jae 0x1400e450c
mov rcx, qword [rsp + 0xc8]
lea rdx, [rdi + r13]
sub rcx, rdi
mov qword [rsp + 0x28], rdx
sub r12, rdi
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xb8], r12
nop word [rax + rax]
movzx ecx, byte [rcx + rdx]
movzx r9d, byte [r12 + rdx]
mov r15d, ecx
movzx r10d, byte [rdx]
mov r11, qword [rsp + 0x20]
mov r12, qword [rsp + 0x18]
movzx edx, byte [r9 + rbx + 0x3fded0]
movzx r8d, byte [r10 + rbx + 0x3fde20]
mov dword [rsp + 0xa8], edx
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 8], r8d
mov r8, qword [rdx + rcx*8]
mov rcx, r8
shr rcx, 0x20
add rcx, r11
shr rcx, 0x10
mov edx, ecx
mov edi, dword [rbx + rdx*4 + 0x3fde50]
lea ebx, [r14 + rcx]
and rdi, r11
sar r11, cl
movsxd rcx, r8d
add r11, rcx
mov rcx, qword [rsp + 0x38]
movzx r11d, word [rcx + r11*2]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], r11
mov r8, qword [rcx + r9*8]
lea r9, [0x140000000]
mov rcx, r8
shr rcx, 0x20
add rcx, r12
shr rcx, 0x10
mov edx, ecx
lea r11d, [rbx + rcx]
mov r9d, dword [r9 + rdx*4 + 0x3fde50]
and r9, r12
sar r12, cl
movsxd rcx, r8d
add r12, rcx
mov rcx, qword [rsp + 0x48]
movzx r12d, word [rcx + r12*2]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x18], r12
mov r10, qword [rcx + r10*8]
lea rcx, [0x140000000]
mov r8, r10
shr r8, 0x20
add r8, qword [rsp]
shr r8, 0x10
mov edx, r8d
mov r12d, dword [rcx + rdx*4 + 0x3fde50]
mov ecx, r11d
mov rdx, qword [rsp]
add r11d, r8d
and r12, rdx
shl r12, cl
mov ecx, ebx
shl r9, cl
mov ecx, r14d
shl rdi, cl
or r12, r9
mov ecx, r8d
or r12, rdi
mov r8d, dword [rsp + 8]
or r12, rsi
sar rdx, cl
movsxd rcx, r10d
mov r10d, dword [rsp + 0xa8]
add rdx, rcx
mov rcx, qword [rsp + 0x58]
lea ebx, [r10 + r15]
movzx edx, word [rcx + rdx*2]
add ebx, r8d
mov qword [rsp], rdx
cmp ebx, 0x1f
jb 0x1400e439f
mov qword [rax], r12
mov edx, r11d
shr rdx, 3
add rax, rdx
movzx ecx, dl
cmp rax, rbp
cmova rax, rbp
and r11d, 7
shl cl, 3
shr r12, cl
mov rdi, qword [rsp + 0xe0]
lea r9d, [r11 + r8]
lea r14, [0x140000000]
mov ecx, r9d
mov r8d, dword [r14 + r8*4 + 0x3fde50]
mov esi, dword [r14 + r10*4 + 0x3fde50]
lea r14d, [r10 + r9]
movzx edx, word [rdi + r13*8 + 6]
and rsi, rdx
movzx edx, word [rdi + r13*8 + 4]
shl rsi, cl
and r8, rdx
mov ecx, r11d
shl r8, cl
or rsi, r8
or rsi, r12
cmp ebx, 0x38
jbe 0x1400e4410
mov qword [rax], rsi
mov edx, r14d
shr rdx, 3
add rax, rdx
movzx ecx, dl
cmp rax, rbp
cmova rax, rbp
and r14d, 7
shl cl, 3
shr rsi, cl
cmp dword [rsp + 0xf0], 0
lea rbx, [0x140000000]
je 0x1400e449a
mov r9d, reloc.WS2_32.dll_getservbyport
cmp r15d, r9d
cmovb r9d, r15d
sub r15d, r9d
je 0x1400e4474
mov ecx, dword [rdi + r13*8]
mov edx, dword [rbx + r15*4 + 0x3fde50]
and rdx, rcx
mov r10d, r15d
mov ecx, r14d
add r14d, r15d
shl rdx, cl
or rsi, rdx
mov edx, r14d
shr rdx, 3
mov qword [rax], rsi
movzx ecx, dl
add rax, rdx
cmp rax, rbp
cmova rax, rbp
and r14d, 7
shl cl, 3
shr rsi, cl
jmp 0x1400e4477
xor r10d, r10d
mov edx, dword [rdi + r13*8]
mov rcx, r10
mov r8d, dword [rbx + r9*4 + 0x3fde50]
shr rdx, cl
mov ecx, r14d
and r8, rdx
shl r8, cl
or rsi, r8
add r14d, r9d
jmp 0x1400e44b5
mov ecx, dword [rdi + r13*8]
mov edx, dword [rbx + r15*4 + 0x3fde50]
and rdx, rcx
mov ecx, r14d
shl rdx, cl
or rsi, rdx
add r14d, r15d
mov r12, qword [rsp + 0xb8]
mov qword [rax], rsi
mov edx, r14d
shr rdx, 3
add rax, rdx
movzx ecx, dl
mov rdx, qword [rsp + 0x28]
cmp rax, rbp
cmova rax, rbp
shl cl, 3
shr rsi, cl
dec rdx
mov rcx, qword [rsp + 0xc8]
and r14d, 7
dec r13
mov qword [rsp + 0x28], rdx
cmp r13, qword [rsp + 0xe8]
jb 0x1400e4240
mov r15, qword [rsp + 0xa0]
mov edx, dword [rsp + 0xc]
mov ecx, r14d
mov r9d, dword [rsp + 0x10]
mov r13, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r10d, dword [rbx + rdx*4 + 0x3fde50]
lea r8d, [r14 + rdx]
and r10, qword [rsp + 0x18]
mov edx, dword [rbx + r9*4 + 0x3fde50]
mov r14, qword [rsp + 0x60]
shl r10, cl
or r10, rsi
mov ecx, r8d
mov rsi, qword [rsp + 0x78]
shr rcx, 3
mov qword [rax], r10
add rax, rcx
cmp rax, rbp
cmova rax, rbp
and rdx, qword [rsp + 0x20]
shl cl, 3
and r8d, 7
shr r10, cl
add r9d, r8d
mov ecx, r8d
mov r8d, dword [rsp + 0x14]
shl rdx, cl
or r10, rdx
mov ecx, r9d
shr rcx, 3
mov edx, dword [rbx + r8*4 + 0x3fde50]
mov rbx, qword [rsp + 0xb0]
mov qword [rax], r10
add rax, rcx
cmp rax, rbp
cmova rax, rbp
and rdx, qword [rsp]
shl cl, 3
and r9d, 7
shr r10, cl
mov ecx, r9d
shl rdx, cl
or r10, rdx
mov qword [rax], r10
lea edx, [r8 + r9]
mov ecx, edx
shr rcx, 3
add rax, rcx
cmp rax, rbp
cmova rax, rbp
shl cl, 3
shr r10, cl
and edx, 7
bts r10, rdx
inc edx
mov ecx, edx
shr rcx, 3
mov qword [rax], r10
add rax, rcx
cmp rax, rbp
jae 0x1400e4606
test dl, 7
mov r11d, 0
seta r11b
sub r11, r15
add rax, r11
jne 0x1400e460d
mov rax, 0xffffffffffffffba
add rsp, 0x80
pop r15
pop r12
pop rbp
ret