Function at 0x1400bec30
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x288]
mov rax, qword [0x1402571c0]
xor rax, rbp
mov qword [rbp + 0x228], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400a8dd4
nop
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0x108], 0
mov rax, qword [rbp + 0x260]
mov ecx, dword [rax + 0x10]
call qword [sym.imp.WS2_32.dll_ntohl]
mov eax, eax
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 1
jb 0x1400becca
cmp qword [rbp + 0xa8], 0xff
jbe 0x1400becd1
xor eax, eax
jmp 0x1400bf43b
mov rax, qword [rbp + 0x250]
mov rax, qword [rax + 0x28]
mov qword [rbp + 0xe8], rax
jmp 0x1400becf9
mov rax, qword [rbp + 0xe8]
add rax, 0x1d8
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0x250]
imul rax, qword [rax + 0x30], 0x1d8
mov rcx, qword [rbp + 0x250]
add rax, qword [rcx + 0x28]
cmp qword [rbp + 0xe8], rax
jae 0x1400bedbd
mov rax, qword [rbp + 0xe8]
cmp dword [rax + 0x38], 0
jne 0x1400bed47
cmp qword [rbp + 0x108], 0
jne 0x1400bed45
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x108], rax
jmp 0x1400bedb8
mov rax, qword [rbp + 0xe8]
cmp dword [rax + 0x38], 1
je 0x1400bedb8
mov rax, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x250]
mov ecx, dword [rcx + 0x2ab8]
cmp dword [rax + 0x24], ecx
jne 0x1400bedb8
mov rax, qword [rbp + 0xe8]
movzx eax, word [rax + 0x28]
mov rcx, qword [rbp + 0x250]
movzx ecx, word [rcx + 0x2abc]
cmp eax, ecx
jne 0x1400beda7
mov rax, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x260]
mov ecx, dword [rcx + 0x28]
cmp dword [rax + 0x1c], ecx
jne 0x1400beda7
xor eax, eax
jmp 0x1400bf43b
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
jmp 0x1400bece5
cmp qword [rbp + 0x108], 0
je 0x1400bedde
mov rax, qword [rbp + 0x250]
mov rax, qword [rax + 0x2af8]
cmp qword [rbp + 0xc8], rax
jb 0x1400bede5
xor eax, eax
jmp 0x1400bf43b
mov rax, qword [rbp + 0x250]
mov rax, qword [rax + 0x38]
cmp qword [rbp + 0xa8], rax
jbe 0x1400bee0b
mov rax, qword [rbp + 0x250]
mov rax, qword [rax + 0x38]
mov qword [rbp + 0xa8], rax
imul rax, qword [rbp + 0xa8], 0x50
mov rcx, rax
call fcn.1400a91b2
mov rcx, qword [rbp + 0x108]
mov qword [rcx + 0x40], rax
mov rax, qword [rbp + 0x108]
cmp qword [rax + 0x40], 0
jne 0x1400bee3b
xor eax, eax
jmp 0x1400bf43b
mov rax, qword [rbp + 0x108]
mov rcx, qword [rbp + 0xa8]
mov qword [rax + 0x48], rcx
mov rax, qword [rbp + 0x108]
mov dword [rax + 0x38], 2
mov rax, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x260]
mov ecx, dword [rcx + 0x28]
mov dword [rax + 0x1c], ecx
mov rax, qword [rbp + 0x250]
mov rax, qword [rax + 0x2ab8]
mov rcx, qword [rbp + 0x108]
mov qword [rcx + 0x24], rax
mov rax, qword [rbp + 0x260]
movzx ecx, word [rax + 4]
call qword [sym.imp.WS2_32.dll_ntohs]
mov rcx, qword [rbp + 0x108]
mov word [rcx + 0x18], ax
mov rax, qword [rbp + 0x260]
mov ecx, dword [rax + 0x14]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rcx, qword [rbp + 0x108]
mov dword [rcx + 0x50], eax
mov rax, qword [rbp + 0x260]
mov ecx, dword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rcx, qword [rbp + 0x108]
mov dword [rcx + 0x54], eax
mov rax, qword [rbp + 0x260]
mov ecx, dword [rax + 0x1c]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rcx, qword [rbp + 0x108]
mov dword [rcx + 0xa4], eax
mov rax, qword [rbp + 0x260]
mov ecx, dword [rax + 0x20]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rcx, qword [rbp + 0x108]
mov dword [rcx + 0x9c], eax
mov rax, qword [rbp + 0x260]
mov ecx, dword [rax + 0x24]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rcx, qword [rbp + 0x108]
mov dword [rcx + 0xa0], eax
mov rax, qword [rbp + 0x260]
mov ecx, dword [rax + 0x2c]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rcx, qword [rbp + 0x108]
mov dword [rcx + 0x1c8], eax
mov rax, qword [rbp + 0x260]
movzx eax, byte [rax + 6]
cmp eax, 0xff
jne 0x1400bef71
mov rax, qword [rbp + 0x108]
movzx eax, byte [rax + 0x20]
mov dword [rbp + 0x224], eax
jmp 0x1400bef82
mov rax, qword [rbp + 0x260]
movzx eax, byte [rax + 6]
mov dword [rbp + 0x224], eax
movzx eax, byte [rbp + 0x224]
mov byte [rbp + 4], al
movzx eax, byte [rbp + 4]
inc eax
and eax, 3
mov byte [rbp + 4], al
movzx eax, byte [rbp + 4]
mov rcx, qword [rbp + 0x108]
movzx ecx, byte [rcx + 0x20]
cmp eax, ecx
jne 0x1400befb7
movzx eax, byte [rbp + 4]
inc eax
and eax, 3
mov byte [rbp + 4], al
mov rax, qword [rbp + 0x108]
movzx ecx, byte [rbp + 4]
mov byte [rax + 0x20], cl
mov rax, qword [rbp + 0x260]
movzx eax, byte [rax + 7]
cmp eax, 0xff
jne 0x1400befea
mov rax, qword [rbp + 0x108]
movzx eax, byte [rax + 0x21]
mov dword [rbp + 0x224], eax
jmp 0x1400beffb
mov rax, qword [rbp + 0x260]
movzx eax, byte [rax + 7]
mov dword [rbp + 0x224], eax
movzx eax, byte [rbp + 0x224]
mov byte [rbp + 0x24], al
movzx eax, byte [rbp + 0x24]
inc eax
and eax, 3
mov byte [rbp + 0x24], al
movzx eax, byte [rbp + 0x24]
mov rcx, qword [rbp + 0x108]
movzx ecx, byte [rcx + 0x21]
cmp eax, ecx
jne 0x1400bf030
movzx eax, byte [rbp + 0x24]
inc eax
and eax, 3
mov byte [rbp + 0x24], al
mov rax, qword [rbp + 0x108]
movzx ecx, byte [rbp + 0x24]
mov byte [rax + 0x21], cl
mov rax, qword [rbp + 0x108]
mov rax, qword [rax + 0x40]
mov qword [rbp + 0x88], rax
jmp 0x1400bf064
mov rax, qword [rbp + 0x88]
add rax, 0x50
mov qword [rbp + 0x88], rax
imul rax, qword [rbp + 0xa8], 0x50
mov rcx, qword [rbp + 0x108]
add rax, qword [rcx + 0x40]
cmp qword [rbp + 0x88], rax
jae 0x1400bf10d
xor eax, eax
mov rcx, qword [rbp + 0x88]
mov word [rcx], ax
xor eax, eax
mov rcx, qword [rbp + 0x88]
mov word [rcx + 2], ax
xor eax, eax
mov rcx, qword [rbp + 0x88]
mov word [rcx + 0x26], ax
xor eax, eax
mov rcx, qword [rbp + 0x88]
mov word [rcx + 0x28], ax
mov rax, qword [rbp + 0x88]
add rax, 0x30
mov rcx, rax
call fcn.1400a8abe
nop
mov rax, qword [rbp + 0x88]
add rax, 0x40
mov rcx, rax
call fcn.1400a8abe
nop
xor eax, eax
mov rcx, qword [rbp + 0x88]
mov word [rcx + 4], ax
mov rax, qword [rbp + 0x88]
add rax, 6
mov r8d, 0x20
xor edx, edx
mov rcx, rax
call fcn.1400a76c8
nop
jmp 0x1400bf052
mov rax, qword [rbp + 0x260]
mov ecx, dword [rax + 8]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0x240
jae 0x1400bf132
mov dword [rbp + 0x44], 0x240
jmp 0x1400bf142
cmp dword [rbp + 0x44], 0x1000
jbe 0x1400bf142
mov dword [rbp + 0x44], 0x1000
mov rax, qword [rbp + 0x108]
mov ecx, dword [rbp + 0x44]
mov dword [rax + 0xd0], ecx
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x14], 0
jne 0x1400bf182
mov rax, qword [rbp + 0x108]
cmp dword [rax + 0x50], 0
jne 0x1400bf182
mov rax, qword [rbp + 0x108]
mov dword [rax + 0xd4], 0x10000
jmp 0x1400bf252
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x14], 0
je 0x1400bf19c
mov rax, qword [rbp + 0x108]
cmp dword [rax + 0x50], 0
jne 0x1400bf1f8
mov rax, qword [rbp + 0x250]
mov rcx, qword [rbp + 0x108]
mov ecx, dword [rcx + 0x50]
cmp dword [rax + 0x14], ecx
jbe 0x1400bf1c4
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0x224], eax
jmp 0x1400bf1d4
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x224], eax
xor edx, edx
mov eax, dword [rbp + 0x224]
mov ecx, 0x10000
div ecx
imul eax, eax, 0x1000
mov rcx, qword [rbp + 0x108]
mov dword [rcx + 0xd4], eax
jmp 0x1400bf252
mov rax, qword [rbp + 0x250]
mov rcx, qword [rbp + 0x108]
mov ecx, dword [rcx + 0x50]
cmp dword [rax + 0x14], ecx
jae 0x1400bf220
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0x224], eax
jmp 0x1400bf230
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x224], eax
xor edx, edx
mov eax, dword [rbp + 0x224]
mov ecx, 0x10000
div ecx
imul eax, eax, 0x1000
mov rcx, qword [rbp + 0x108]
mov dword [rcx + 0xd4], eax
mov rax, qword [rbp + 0x108]
cmp dword [rax + 0xd4], 0x1000
jae 0x1400bf278
mov rax, qword [rbp + 0x108]
mov dword [rax + 0xd4], 0x1000
jmp 0x1400bf29c
mov rax, qword [rbp + 0x108]
cmp dword [rax + 0xd4], 0x10000
jbe 0x1400bf29c
mov rax, qword [rbp + 0x108]
mov dword [rax + 0xd4], 0x10000
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x10], 0
jne 0x1400bf2b2
mov dword [rbp + 0x64], 0x10000
jmp 0x1400bf2ce
xor edx, edx
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x10]
mov ecx, 0x10000
div ecx
imul eax, eax, 0x1000
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x260]
mov ecx, dword [rax + 0xc]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp dword [rbp + 0x64], eax
jbe 0x1400bf2f6
mov rax, qword [rbp + 0x260]
mov ecx, dword [rax + 0xc]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0x1000
jae 0x1400bf308
mov dword [rbp + 0x64], 0x1000
jmp 0x1400bf318
cmp dword [rbp + 0x64], 0x10000
jbe 0x1400bf318
mov dword [rbp + 0x64], 0x10000
mov byte [rbp + 0x128], 0x83
mov byte [rbp + 0x129], 0xff
mov rax, qword [rbp + 0x108]
movzx ecx, word [rax + 0x1a]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x12c], ax
movzx eax, byte [rbp + 4]
mov byte [rbp + 0x12e], al
movzx eax, byte [rbp + 0x24]
mov byte [rbp + 0x12f], al
mov rax, qword [rbp + 0x108]
mov ecx, dword [rax + 0xd0]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x130], eax
mov ecx, dword [rbp + 0x64]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x134], eax
mov ecx, dword [rbp + 0xa8]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x138], eax
mov rax, qword [rbp + 0x250]
mov ecx, dword [rax + 0x10]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x13c], eax
mov rax, qword [rbp + 0x250]
mov ecx, dword [rax + 0x14]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x140], eax
mov rax, qword [rbp + 0x108]
mov ecx, dword [rax + 0xa4]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x144], eax
mov rax, qword [rbp + 0x108]
mov ecx, dword [rax + 0x9c]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x148], eax
mov rax, qword [rbp + 0x108]
mov ecx, dword [rax + 0xa0]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x14c], eax
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0x1c]
mov dword [rbp + 0x150], eax
mov word [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x128]
mov rcx, qword [rbp + 0x108]
call fcn.1400a4e14
nop
mov rax, qword [rbp + 0x108]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1400a7dda
mov rax, rdi
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.1400a5d78
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret