Function at 0x1400384d0
Capabilities:
Enumerate pe sections

Disassembly:
mov byte [rsp + 0x18], r8b
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.140027536
mov qword [rbp + 8], 0
mov dword [rbp + 0x64], 1
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0xf0]
mov qword [rbp + 0x28], rax
jmp 0x140038527
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x1a0]
add rax, 0xf0
cmp qword [rbp + 0x28], rax
je 0x14003856c
mov rax, qword [rbp + 0x28]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax + 0x10]
movzx ecx, word [rbp + 0x1a8]
cmp eax, ecx
jne 0x14003856a
mov rax, qword [rbp + 8]
movzx eax, byte [rax + 0x29]
movzx ecx, byte [rbp + 0x1b0]
cmp eax, ecx
jne 0x14003856a
jmp 0x14003856c
jmp 0x14003851c
mov rax, qword [rbp + 0x1a0]
add rax, 0xf0
cmp qword [rbp + 0x28], rax
jne 0x14003861c
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x110]
mov qword [rbp + 0x28], rax
jmp 0x1400385a2
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x1a0]
add rax, 0x110
cmp qword [rbp + 0x28], rax
je 0x1400385fb
mov rax, qword [rbp + 0x28]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax + 0x26]
cmp eax, 1
jge 0x1400385d1
xor eax, eax
jmp 0x140038800
mov rax, qword [rbp + 8]
movzx eax, word [rax + 0x10]
movzx ecx, word [rbp + 0x1a8]
cmp eax, ecx
jne 0x1400385f9
mov rax, qword [rbp + 8]
movzx eax, byte [rax + 0x29]
movzx ecx, byte [rbp + 0x1b0]
cmp eax, ecx
jne 0x1400385f9
jmp 0x1400385fb
jmp 0x140038597
mov rax, qword [rbp + 0x1a0]
add rax, 0x110
cmp qword [rbp + 0x28], rax
jne 0x140038615
xor eax, eax
jmp 0x140038800
mov dword [rbp + 0x64], 0
cmp qword [rbp + 8], 0
jne 0x14003862a
xor eax, eax
jmp 0x140038800
movzx eax, byte [rbp + 0x1b0]
mov rcx, qword [rbp + 0x1a0]
cmp rax, qword [rcx + 0x48]
jae 0x140038709
movzx eax, byte [rbp + 0x1b0]
imul rax, rax, 0x50
mov rcx, qword [rbp + 0x1a0]
add rax, qword [rcx + 0x40]
mov qword [rbp + 0x88], rax
movzx eax, word [rbp + 0x1a8]
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
mov word [rbp + 0xa4], ax
movzx eax, word [rbp + 0xa4]
mov rcx, qword [rbp + 0x88]
movzx eax, word [rcx + rax*2 + 6]
test eax, eax
jle 0x140038709
movzx eax, word [rbp + 0xa4]
mov rcx, qword [rbp + 0x88]
movzx eax, word [rcx + rax*2 + 6]
dec ax
movzx ecx, word [rbp + 0xa4]
mov rdx, qword [rbp + 0x88]
mov word [rdx + rcx*2 + 6], ax
movzx eax, word [rbp + 0xa4]
mov rcx, qword [rbp + 0x88]
movzx eax, word [rcx + rax*2 + 6]
test eax, eax
jne 0x140038709
movzx eax, word [rbp + 0xa4]
mov ecx, 1
mov dword [rbp + 0x174], ecx
movzx ecx, al
mov eax, dword [rbp + 0x174]
shl eax, cl
not eax
mov rcx, qword [rbp + 0x88]
movzx ecx, word [rcx + 4]
and ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0x88]
mov word [rcx + 4], ax
mov rax, qword [rbp + 8]
movzx eax, byte [rax + 0x28]
and eax, 0xf
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 8]
mov rcx, rax
call fcn.14002764e
mov rax, qword [rbp + 8]
cmp qword [rax + 0x58], 0
je 0x1400387a8
cmp dword [rbp + 0x64], 0
je 0x14003875a
mov rax, qword [rbp + 8]
movzx eax, word [rax + 0x24]
mov rcx, qword [rbp + 0x1a0]
mov ecx, dword [rcx + 0xd8]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0x1a0]
mov dword [rcx + 0xd8], eax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x58]
mov rax, qword [rax]
dec rax
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x58]
mov qword [rcx], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x58]
cmp qword [rax], 0
jne 0x1400387a8
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x58]
mov eax, dword [rax + 8]
bts eax, 8
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x58]
mov dword [rcx + 8], eax
mov rax, qword [rbp + 8]
mov rcx, qword [rax + 0x58]
call fcn.140026aeb
mov rcx, qword [rbp + 8]
call fcn.140026703
mov rax, qword [rbp + 0x1a0]
add rax, 0xf0
mov rcx, qword [rbp + 0x1a0]
cmp qword [rcx + 0xf0], rax
jne 0x1400387d3
mov eax, dword [rbp + 0x44]
jmp 0x140038800
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0xf0]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov eax, dword [rax + 0x14]
mov rcx, qword [rbp + 8]
add eax, dword [rcx + 0x18]
mov rcx, qword [rbp + 0x1a0]
mov dword [rcx + 0x70], eax
mov eax, dword [rbp + 0x44]
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret