Function at 0x1803ddac0
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1803ddac0
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rbp
push r15
sub rsp, 0x98
lea rbp, [rdx - 8]
mov r11, r9
add rbp, rcx
mov r15, rcx
cmp rdx, 8
jbe 0x1803de19b
mov r10, qword [rsp + 0xf8]
mov r9d, 1
mov qword [rax + 0x18], rbx
mov qword [rax - 0x18], rsi
mov qword [rax - 0x20], rdi
lea rdi, [r8 + 4]
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
movzx eax, word [r8]
mov dword [rsp + 0x10], eax
mov qword [rsp + 0x50], rdi
test eax, eax
je 0x1803ddb31
lea ecx, [rax - 1]
mov eax, r9d
shl eax, cl
jmp 0x1803ddb34
mov eax, r9d
movzx ebx, byte [r11 + r10 - 1]
add r8, 4
mov r12, qword [rsp + 0xd8]
cdqe
lea rax, [r8 + rax*4]
mov r8, qword [rax + rbx*8]
mov qword [rsp + 0x48], 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 [rdi + rdx*2]
mov rdx, qword [rsp + 0xd0]
movzx edi, byte [r12 + r10 - 1]
mov qword [rsp + 0x20], rax
movzx eax, word [rdx]
lea r11, [rdx + 4]
mov dword [rsp + 0x14], eax
mov qword [rsp + 0x40], r11
test eax, eax
je 0x1803ddbac
lea ecx, [rax - 1]
mov eax, r9d
shl eax, cl
jmp 0x1803ddbaf
mov eax, r9d
add rdx, 4
movsxd rcx, eax
lea rcx, [rdx + rcx*4]
mov r8, qword [rcx + rdi*8]
mov qword [rsp + 0x38], 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 [r11 + rdx*2]
mov rdx, qword [rsp + 0xe0]
mov r11, qword [rsp + 0xe8]
mov qword [rsp + 0x28], rax
movzx eax, word [rdx]
lea rsi, [rdx + 4]
mov dword [rsp + 0x18], eax
mov qword [rsp + 0x60], rsi
test eax, eax
je 0x1803ddc19
lea ecx, [rax - 1]
shl r9d, cl
mov r13, qword [rsp + 0xf0]
add rdx, 4
movsxd rax, r9d
movzx r9d, byte [r11 + r10 - 1]
lea rax, [rdx + rax*4]
mov r8, qword [rax + r9*8]
mov qword [rsp + 0x58], 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]
mov qword [rsp], rax
lea rax, [0x180000000]
movzx r8d, byte [r9 + rax + 0x52e6b0]
movzx edx, byte [rbx + rax + 0x52e728]
mov ecx, r8d
movzx eax, word [r13 + r10*8 - 2]
lea rbx, [0x180000000]
mov esi, dword [rbx + rdx*4 + 0x52e5d0]
lea r14d, [r8 + rdx]
and rsi, rax
movzx eax, word [r13 + r10*8 - 4]
shl rsi, cl
mov ecx, dword [rbx + r8*4 + 0x52e5d0]
mov r8, rdi
and rcx, rax
mov rax, r15
or rsi, rcx
cmp dword [rsp + 0x100], 0
je 0x1803ddd4f
mov r9d, reloc.WS2_32.dll_getservbyport
cmp r8d, r9d
cmovb r9d, r8d
sub r8d, r9d
mov ebx, r8d
je 0x1803ddd1d
mov ecx, r14d
lea rax, [0x180000000]
mov edx, dword [rax + r8*4 + 0x52e5d0]
add r14d, r8d
mov eax, dword [r13 + r10*8 - 8]
and rdx, rax
shl rdx, cl
or rsi, rdx
mov ecx, r14d
shr rcx, 3
mov qword [r15], rsi
lea rax, [rcx + r15]
cmp rax, rbp
cmova rax, rbp
and r14d, 7
shl cl, 3
shr rsi, cl
mov edx, dword [r13 + r10*8 - 8]
lea rcx, [0x180000000]
mov r8d, dword [rcx + r9*4 + 0x52e5d0]
mov rcx, rbx
shr rdx, cl
lea rbx, [0x180000000]
and r8, rdx
mov ecx, r14d
shl r8, cl
or rsi, r8
add r14d, r9d
jmp 0x1803ddd6a
mov ecx, dword [r13 + r10*8 - 8]
mov edx, dword [rbx + rdi*4 + 0x52e5d0]
and rdx, rcx
mov ecx, r14d
shl rdx, cl
or rsi, rdx
add r14d, r8d
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 0x1803de093
mov r9, qword [rsp + 0xc8]
lea rcx, [r11 + r13]
sub r12, r11
mov qword [rsp + 0x30], rcx
sub r9, r11
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0xc8], r9
nop dword [rax]
movzx r9d, byte [r9 + rcx]
movzx r8d, byte [r12 + rcx]
movzx r10d, byte [rcx]
mov r12d, r8d
mov r11, qword [rsp + 0x28]
movzx ecx, byte [r9 + rbx + 0x52e728]
mov r15, qword [rsp + 0x20]
movzx edx, byte [r10 + rbx + 0x52e6b0]
mov dword [rsp + 8], ecx
mov dword [rsp + 0xc], edx
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x68], r8
mov r8, qword [rdx + r8*8]
mov rcx, r8
shr rcx, 0x20
add rcx, r11
shr rcx, 0x10
mov edx, ecx
mov edi, dword [rbx + rdx*4 + 0x52e5d0]
lea ebx, [r14 + rcx]
and rdi, r11
sar r11, cl
movsxd rcx, r8d
add r11, rcx
mov rcx, qword [rsp + 0x40]
movzx r11d, word [rcx + r11*2]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x28], r11
mov r8, qword [rcx + r9*8]
lea r9, [0x180000000]
mov rcx, r8
shr rcx, 0x20
add rcx, r15
shr rcx, 0x10
mov edx, ecx
lea r11d, [rbx + rcx]
mov r9d, dword [r9 + rdx*4 + 0x52e5d0]
and r9, r15
sar r15, cl
movsxd rcx, r8d
add r15, rcx
mov rcx, qword [rsp + 0x50]
movzx r15d, word [rcx + r15*2]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x20], r15
mov r10, qword [rcx + r10*8]
lea rcx, [0x180000000]
mov r8, r10
shr r8, 0x20
add r8, qword [rsp]
shr r8, 0x10
mov edx, r8d
mov r15d, dword [rcx + rdx*4 + 0x52e5d0]
mov ecx, r11d
mov rdx, qword [rsp]
add r11d, r8d
and r15, rdx
shl r15, cl
mov ecx, ebx
shl r9, cl
mov ecx, r14d
shl rdi, cl
or r15, r9
mov ecx, r8d
or r15, rdi
mov r8d, dword [rsp + 0xc]
or r15, rsi
sar rdx, cl
movsxd rcx, r10d
mov r10d, dword [rsp + 8]
add rdx, rcx
mov rcx, qword [rsp + 0x60]
lea ebx, [r10 + r12]
movzx edx, word [rcx + rdx*2]
add ebx, r8d
mov qword [rsp], rdx
cmp ebx, 0x1f
jb 0x1803ddf1e
mov qword [rax], r15
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 r15, cl
mov rdi, qword [rsp + 0xf0]
lea r9d, [r11 + r8]
lea r14, [0x180000000]
movzx edx, r10b
mov r8d, dword [r14 + r8*4 + 0x52e5d0]
mov ecx, r9d
mov esi, dword [r14 + rdx*4 + 0x52e5d0]
lea r14d, [r9 + r10]
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, r15
cmp ebx, 0x38
jbe 0x1803ddf93
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 + 0x100], 0
lea rbx, [0x180000000]
je 0x1803de01d
mov r9d, reloc.WS2_32.dll_getservbyport
cmp r12b, r9b
cmovb r9d, r12d
sub r12d, r9d
je 0x1803ddff7
mov ecx, dword [rdi + r13*8]
mov edx, dword [rbx + r12*4 + 0x52e5d0]
and rdx, rcx
mov r10d, r12d
mov ecx, r14d
add r14d, r12d
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 0x1803ddffa
xor r10d, r10d
mov edx, dword [rdi + r13*8]
mov rcx, r10
mov r8d, dword [rbx + r9*4 + 0x52e5d0]
shr rdx, cl
mov ecx, r14d
and r8, rdx
shl r8, cl
or rsi, r8
add r14d, r9d
jmp 0x1803de03c
mov rcx, qword [rsp + 0x68]
mov edx, dword [rbx + rcx*4 + 0x52e5d0]
mov ecx, dword [rdi + r13*8]
and rdx, rcx
mov ecx, r14d
shl rdx, cl
or rsi, rdx
add r14d, r12d
mov r9, qword [rsp + 0xc8]
mov r12, qword [rsp + 0xd8]
mov qword [rax], rsi
mov edx, r14d
shr rdx, 3
add rax, rdx
movzx ecx, dl
cmp rax, rbp
cmova rax, rbp
shl cl, 3
shr rsi, cl
and r14d, 7
mov rcx, qword [rsp + 0x30]
dec r13
dec rcx
mov qword [rsp + 0x30], rcx
cmp r13, qword [rsp + 0xf8]
jb 0x1803dddc0
mov r15, qword [rsp + 0xb0]
mov edx, dword [rsp + 0x10]
mov ecx, r14d
mov r9d, dword [rsp + 0x14]
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov r10d, dword [rbx + rdx*4 + 0x52e5d0]
lea r8d, [r14 + rdx]
and r10, qword [rsp + 0x20]
mov edx, dword [rbx + r9*4 + 0x52e5d0]
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x88]
shl r10, cl
or r10, rsi
mov ecx, r8d
mov rsi, qword [rsp + 0x90]
shr rcx, 3
mov qword [rax], r10
add rax, rcx
cmp rax, rbp
cmova rax, rbp
and rdx, qword [rsp + 0x28]
shl cl, 3
and r8d, 7
shr r10, cl
add r9d, r8d
mov ecx, r8d
mov r8d, dword [rsp + 0x18]
shl rdx, cl
or r10, rdx
mov ecx, r9d
shr rcx, 3
mov edx, dword [rbx + r8*4 + 0x52e5d0]
mov rbx, qword [rsp + 0xc0]
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 0x1803de19b
test dl, 7
mov r11d, 0
seta r11b
sub r11, r15
add rax, r11
jne 0x1803de1a2
mov rax, 0xffffffffffffffba
add rsp, 0x98
pop r15
pop rbp
ret