Function at 0x14001cc30
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 [0x1400360c0]
xor rax, rbp
mov qword [rbp + 0x228], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.140011668
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 0x14001ccc9
cmp qword [rbp + 0xa8], 0xff
jbe 0x14001ccd0
xor eax, eax
jmp 0x14001d45f
mov rax, qword [rbp + 0x250]
mov rax, qword [rax + 0x28]
mov qword [rbp + 0xe8], rax
jmp 0x14001ccf8
mov rax, qword [rbp + 0xe8]
add rax, 0x1c8
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0x250]
imul rax, qword [rax + 0x30], 0x1c8
mov rcx, qword [rbp + 0x250]
add rax, qword [rcx + 0x28]
cmp qword [rbp + 0xe8], rax
jae 0x14001cdbc
mov rax, qword [rbp + 0xe8]
cmp dword [rax + 0x38], 0
jne 0x14001cd46
cmp qword [rbp + 0x108], 0
jne 0x14001cd44
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x108], rax
jmp 0x14001cdb7
mov rax, qword [rbp + 0xe8]
cmp dword [rax + 0x38], 1
je 0x14001cdb7
mov rax, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x250]
mov ecx, dword [rcx + 0x2ab8]
cmp dword [rax + 0x24], ecx
jne 0x14001cdb7
mov rax, qword [rbp + 0xe8]
movzx eax, word [rax + 0x28]
mov rcx, qword [rbp + 0x250]
movzx ecx, word [rcx + 0x2abc]
cmp eax, ecx
jne 0x14001cda6
mov rax, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x260]
mov ecx, dword [rcx + 0x28]
cmp dword [rax + 0x1c], ecx
jne 0x14001cda6
xor eax, eax
jmp 0x14001d45f
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
jmp 0x14001cce4
cmp qword [rbp + 0x108], 0
je 0x14001cddd
mov rax, qword [rbp + 0x250]
mov rax, qword [rax + 0x2af8]
cmp qword [rbp + 0xc8], rax
jb 0x14001cde4
xor eax, eax
jmp 0x14001d45f
mov rax, qword [rbp + 0x250]
mov rax, qword [rax + 0x38]
cmp qword [rbp + 0xa8], rax
jbe 0x14001ce0a
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.1400116bd
mov rcx, qword [rbp + 0x108]
mov qword [rcx + 0x40], rax
mov rax, qword [rbp + 0x108]
cmp qword [rax + 0x40], 0
jne 0x14001ce3a
xor eax, eax
jmp 0x14001d45f
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 + 0x108]
mov rcx, qword [rbp + 0x250]
mov ecx, dword [rcx + 0x1c]
mov dword [rax + 0xd0], ecx
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 + 0x1b8], eax
mov rax, qword [rbp + 0x260]
movzx eax, byte [rax + 6]
cmp eax, 0xff
jne 0x14001cf87
mov rax, qword [rbp + 0x108]
movzx eax, byte [rax + 0x20]
mov dword [rbp + 0x224], eax
jmp 0x14001cf98
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 0x14001cfcd
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 0x14001d000
mov rax, qword [rbp + 0x108]
movzx eax, byte [rax + 0x21]
mov dword [rbp + 0x224], eax
jmp 0x14001d011
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 0x14001d046
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 0x14001d07a
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 0x14001d120
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.14001163b
mov rax, qword [rbp + 0x88]
add rax, 0x40
mov rcx, rax
call fcn.14001163b
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.1400114ec
jmp 0x14001d068
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 0x14001d145
mov dword [rbp + 0x44], 0x240
jmp 0x14001d155
cmp dword [rbp + 0x44], 0x1000
jbe 0x14001d155
mov dword [rbp + 0x44], 0x1000
mov rax, qword [rbp + 0x108]
mov eax, dword [rax + 0xd0]
cmp dword [rbp + 0x44], eax
jae 0x14001d177
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 0x14001d1a7
mov rax, qword [rbp + 0x108]
cmp dword [rax + 0x50], 0
jne 0x14001d1a7
mov rax, qword [rbp + 0x108]
mov dword [rax + 0xd4], 0x10000
jmp 0x14001d277
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x14], 0
je 0x14001d1c1
mov rax, qword [rbp + 0x108]
cmp dword [rax + 0x50], 0
jne 0x14001d21d
mov rax, qword [rbp + 0x250]
mov rcx, qword [rbp + 0x108]
mov ecx, dword [rcx + 0x50]
cmp dword [rax + 0x14], ecx
jbe 0x14001d1e9
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0x224], eax
jmp 0x14001d1f9
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 0x14001d277
mov rax, qword [rbp + 0x250]
mov rcx, qword [rbp + 0x108]
mov ecx, dword [rcx + 0x50]
cmp dword [rax + 0x14], ecx
jae 0x14001d245
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0x224], eax
jmp 0x14001d255
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 0x14001d29d
mov rax, qword [rbp + 0x108]
mov dword [rax + 0xd4], 0x1000
jmp 0x14001d2c1
mov rax, qword [rbp + 0x108]
cmp dword [rax + 0xd4], 0x10000
jbe 0x14001d2c1
mov rax, qword [rbp + 0x108]
mov dword [rax + 0xd4], 0x10000
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x10], 0
jne 0x14001d2d7
mov dword [rbp + 0x64], 0x10000
jmp 0x14001d2f3
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 0x14001d31b
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 0x14001d32d
mov dword [rbp + 0x64], 0x1000
jmp 0x14001d33d
cmp dword [rbp + 0x64], 0x10000
jbe 0x14001d33d
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.1400111ef
mov rax, qword [rbp + 0x108]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140011573
mov rax, rdi
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.1400112df
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret