Function at 0x140034e70
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 [0x14008e148]
xor rax, rbp
mov qword [rbp + 0x228], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.140027536
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 0x140034f09
cmp qword [rbp + 0xa8], 0xff
jbe 0x140034f10
xor eax, eax
jmp 0x140035676
mov rax, qword [rbp + 0x250]
mov rax, qword [rax + 0x28]
mov qword [rbp + 0xe8], rax
jmp 0x140034f38
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 0x140034ffc
mov rax, qword [rbp + 0xe8]
cmp dword [rax + 0x38], 0
jne 0x140034f86
cmp qword [rbp + 0x108], 0
jne 0x140034f84
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x108], rax
jmp 0x140034ff7
mov rax, qword [rbp + 0xe8]
cmp dword [rax + 0x38], 1
je 0x140034ff7
mov rax, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x250]
mov ecx, dword [rcx + 0x2ab8]
cmp dword [rax + 0x24], ecx
jne 0x140034ff7
mov rax, qword [rbp + 0xe8]
movzx eax, word [rax + 0x28]
mov rcx, qword [rbp + 0x250]
movzx ecx, word [rcx + 0x2abc]
cmp eax, ecx
jne 0x140034fe6
mov rax, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x260]
mov ecx, dword [rcx + 0x28]
cmp dword [rax + 0x1c], ecx
jne 0x140034fe6
xor eax, eax
jmp 0x140035676
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
jmp 0x140034f24
cmp qword [rbp + 0x108], 0
je 0x14003501d
mov rax, qword [rbp + 0x250]
mov rax, qword [rax + 0x2af8]
cmp qword [rbp + 0xc8], rax
jb 0x140035024
xor eax, eax
jmp 0x140035676
mov rax, qword [rbp + 0x250]
mov rax, qword [rax + 0x38]
cmp qword [rbp + 0xa8], rax
jbe 0x14003504a
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.140027617
mov rcx, qword [rbp + 0x108]
mov qword [rcx + 0x40], rax
mov rax, qword [rbp + 0x108]
cmp qword [rax + 0x40], 0
jne 0x14003507a
xor eax, eax
jmp 0x140035676
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 0x1400351b0
mov rax, qword [rbp + 0x108]
movzx eax, byte [rax + 0x20]
mov dword [rbp + 0x224], eax
jmp 0x1400351c1
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 0x1400351f6
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 0x140035229
mov rax, qword [rbp + 0x108]
movzx eax, byte [rax + 0x21]
mov dword [rbp + 0x224], eax
jmp 0x14003523a
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 0x14003526f
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 0x1400352a3
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 0x140035349
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.1400274a0
mov rax, qword [rbp + 0x88]
add rax, 0x40
mov rcx, rax
call fcn.1400274a0
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.140026fe6
jmp 0x140035291
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 0x14003536e
mov dword [rbp + 0x44], 0x240
jmp 0x14003537e
cmp dword [rbp + 0x44], 0x1000
jbe 0x14003537e
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 0x1400353be
mov rax, qword [rbp + 0x108]
cmp dword [rax + 0x50], 0
jne 0x1400353be
mov rax, qword [rbp + 0x108]
mov dword [rax + 0xd4], 0x10000
jmp 0x14003548e
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x14], 0
je 0x1400353d8
mov rax, qword [rbp + 0x108]
cmp dword [rax + 0x50], 0
jne 0x140035434
mov rax, qword [rbp + 0x250]
mov rcx, qword [rbp + 0x108]
mov ecx, dword [rcx + 0x50]
cmp dword [rax + 0x14], ecx
jbe 0x140035400
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0x224], eax
jmp 0x140035410
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 0x14003548e
mov rax, qword [rbp + 0x250]
mov rcx, qword [rbp + 0x108]
mov ecx, dword [rcx + 0x50]
cmp dword [rax + 0x14], ecx
jae 0x14003545c
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0x224], eax
jmp 0x14003546c
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 0x1400354b4
mov rax, qword [rbp + 0x108]
mov dword [rax + 0xd4], 0x1000
jmp 0x1400354d8
mov rax, qword [rbp + 0x108]
cmp dword [rax + 0xd4], 0x10000
jbe 0x1400354d8
mov rax, qword [rbp + 0x108]
mov dword [rax + 0xd4], 0x10000
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x10], 0
jne 0x1400354ee
mov dword [rbp + 0x64], 0x10000
jmp 0x14003550a
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 0x140035532
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 0x140035544
mov dword [rbp + 0x64], 0x1000
jmp 0x140035554
cmp dword [rbp + 0x64], 0x10000
jbe 0x140035554
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.1400266ef
mov rax, qword [rbp + 0x108]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140027171
mov rax, rdi
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.140026a1e
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret