Function at 0x140211160
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.140174d6d
nop
mov rax, qword [rbp + 0x200]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x210], 0
je 0x1402111b0
mov rax, qword [rbp + 0x210]
mov dword [rax], 0
cmp qword [rbp + 0x28], 0
je 0x1402111c1
cmp qword [rbp + 0x208], 0
jne 0x1402111d7
mov edx, Ordinal_26
mov rcx, qword [rbp + 0x1f0]
call fcn.14021afb0
jmp 0x140211d62
mov rax, qword [rbp + 0x208]
mov ecx, dword [rbp + 0x1f8]
mov dword [rax], ecx
mov rax, qword [rbp + 0x1f0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x1b8], rax
mov rcx, qword [rbp + 0x1f0]
mov rcx, qword [rcx + 0x68]
add rcx, 0x20
mov edx, dword [rbp + 0x1f8]
call fcn.1402108f0
mov eax, eax
mov rcx, qword [rbp + 0x1b8]
mov rcx, qword [rcx + 0x20]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 0x208]
mov qword [rcx + 8], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 4]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 4]
shl ecx, 8
or eax, ecx
mov rcx, qword [rbp + 0x208]
mov word [rcx + 0x10], ax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 6]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 6]
shl ecx, 8
or eax, ecx
mov rcx, qword [rbp + 0x208]
mov word [rcx + 0x12], ax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 8]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 8]
shl ecx, 8
or eax, ecx
mov rcx, qword [rbp + 0x208]
mov word [rcx + 0x14], ax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 0xa]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0xa]
shl ecx, 8
or eax, ecx
mov rcx, qword [rbp + 0x208]
mov word [rcx + 0x16], ax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 0xe]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0xe]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0xc]
mov edx, 1
imul rdx, rdx, 1
mov r8, qword [rbp + 0x28]
movzx edx, byte [r8 + rdx + 0xc]
shl edx, 8
or ecx, edx
mov edx, eax
call fcn.140210ba0
mov rcx, qword [rbp + 0x208]
mov qword [rcx + 0x450], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 0x10]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x10]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x10]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x10]
shl ecx, 0x18
or eax, ecx
mov rcx, qword [rbp + 0x208]
mov dword [rcx + 0x18], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 0x14]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x14]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x14]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x14]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov rcx, qword [rbp + 0x208]
mov qword [rcx + 0x20], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 0x18]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x18]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x18]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x18]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov rcx, qword [rbp + 0x208]
mov qword [rcx + 0x28], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 0x24]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x24]
shl ecx, 8
or eax, ecx
mov rcx, qword [rbp + 0x208]
mov word [rcx + 0x30], ax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 0x26]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x26]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x26]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x26]
shl ecx, 0x18
or eax, ecx
mov rcx, qword [rbp + 0x208]
mov dword [rcx + 0x34], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 0x2a]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x2a]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x2a]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x2a]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov rcx, qword [rbp + 0x208]
mov qword [rcx + 0x38], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 0x1c]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x1c]
shl ecx, 8
or eax, ecx
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x1ff
jae 0x1402115c7
mov eax, dword [rbp + 4]
mov dword [rbp + 0x1b4], eax
jmp 0x1402115d1
mov dword [rbp + 0x1b4], 0x1ff
mov eax, dword [rbp + 0x1b4]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x28]
add rcx, 0x2e
mov rdx, qword [rbp + 0x208]
add rdx, 0x50
mov qword [rbp + 0x1b8], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rbp + 0x1b8]
mov rcx, rax
call fcn.140170452
nop
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x208]
mov byte [rcx + rax + 0x50], 0
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 0x20]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x20]
shl ecx, 8
or eax, ecx
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x1ff
jae 0x14021165c
mov eax, dword [rbp + 4]
mov dword [rbp + 0x1b4], eax
jmp 0x140211666
mov dword [rbp + 0x1b4], 0x1ff
mov eax, dword [rbp + 0x1b4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x208]
mov ecx, dword [rbp + 4]
mov dword [rax + 0x40], ecx
mov eax, dword [rbp + 4]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x1c]
mov edx, 1
imul rdx, rdx, 1
mov r8, qword [rbp + 0x28]
movzx edx, byte [r8 + rdx + 0x1c]
shl edx, 8
or ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x28]
lea rcx, [rdx + rcx + 0x2e]
mov edx, 1
imul rdx, rdx, 0
mov r8, qword [rbp + 0x28]
movzx edx, byte [r8 + rdx + 0x1e]
mov r8d, 1
imul r8, r8, 1
mov r9, qword [rbp + 0x28]
movzx r8d, byte [r9 + r8 + 0x1e]
shl r8d, 8
or edx, r8d
mov edx, edx
add rcx, rdx
mov rdx, qword [rbp + 0x208]
add rdx, 0x250
mov qword [rbp + 0x1b8], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rbp + 0x1b8]
mov rcx, rax
call fcn.140170452
nop
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x208]
mov byte [rcx + rax + 0x250], 0
mov edx, dword [rbp + 0x1f8]
mov rcx, qword [rbp + 0x1f0]
call fcn.14017599d
mov rcx, qword [rbp + 0x208]
mov dword [rcx + 0x44], eax
mov edx, dword [rbp + 0x1f8]
mov rcx, qword [rbp + 0x1f0]
call fcn.1401758a8
mov rcx, qword [rbp + 0x208]
mov dword [rcx + 0x48], eax
mov edx, dword [rbp + 0x1f8]
mov rcx, qword [rbp + 0x1f0]
call fcn.14017317a
mov rcx, qword [rbp + 0x208]
mov dword [rcx + 0x4c], eax
mov rax, qword [rbp + 0x208]
mov rcx, qword [rbp + 0x208]
mov rcx, qword [rcx + 0x28]
cmp qword [rax + 0x20], rcx
jbe 0x1402117a4
mov rax, qword [rbp + 0x208]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x1b8], rax
jmp 0x1402117b6
mov rax, qword [rbp + 0x208]
mov rax, qword [rax + 0x28]
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x208]
mov rax, qword [rax + 0x38]
cmp qword [rbp + 0x1b8], rax
jbe 0x140211818
mov rax, qword [rbp + 0x208]
mov rcx, qword [rbp + 0x208]
mov rcx, qword [rcx + 0x28]
cmp qword [rax + 0x20], rcx
jbe 0x1402117f6
mov rax, qword [rbp + 0x208]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x1c0], rax
jmp 0x140211808
mov rax, qword [rbp + 0x208]
mov rax, qword [rax + 0x28]
mov qword [rbp + 0x1c0], rax
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 0x1c8], rax
jmp 0x14021182a
mov rax, qword [rbp + 0x208]
mov rax, qword [rax + 0x38]
mov qword [rbp + 0x1c8], rax
mov eax, 0xffffffff
cmp qword [rbp + 0x1c8], rax
jne 0x140211d5d
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 0x1e]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x1e]
shl ecx, 8
or eax, ecx
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x140211d5d
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 0x1c]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x28]
movzx ecx, byte [rdx + rcx + 0x1c]
shl ecx, 8
or eax, ecx
mov eax, eax
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax + 0x2e]
mov qword [rbp + 0x68], rax
mov eax, dword [rbp + 0x44]
cmp rax, 4
jae 0x1402118c9
mov edx, 9
mov rcx, qword [rbp + 0x1f0]
call fcn.14021afb0
jmp 0x140211d62
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x68]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x68]
movzx ecx, byte [rdx + rcx]
shl ecx, 8
or eax, ecx
mov dword [rbp + 0x84], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x68]
movzx eax, byte [rcx + rax + 2]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x68]
movzx ecx, byte [rdx + rcx + 2]
shl ecx, 8
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
add rax, 4
mov ecx, dword [rbp + 0x44]
cmp rax, rcx
jbe 0x14021194d
mov edx, 9
mov rcx, qword [rbp + 0x1f0]
call fcn.14021afb0
jmp 0x140211d62
cmp dword [rbp + 0x84], 1
jne 0x140211d2d
mov rax, qword [rbp + 0x68]
add rax, 4
mov qword [rbp + 0xc8], rax
mov eax, dword [rbp + 0xa4]
mov dword [rbp + 0xe4], eax
cmp qword [rbp + 0x210], 0
je 0x14021198c
mov rax, qword [rbp + 0x210]
mov dword [rax], 1
mov rax, qword [rbp + 0x208]
mov ecx, 0xffffffff
cmp qword [rax + 0x28], rcx
jne 0x140211ac1
mov eax, dword [rbp + 0xe4]
cmp rax, 8
jae 0x1402119c4
mov edx, 9
mov rcx, qword [rbp + 0x1f0]
call fcn.14021afb0
jmp 0x140211d62
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 4]
mov edx, 1
imul rdx, rdx, 1
mov r8, qword [rbp + 0xc8]
movzx edx, byte [r8 + rdx + 4]
shl edx, 8
or ecx, edx
mov edx, 1
imul rdx, rdx, 2
mov r8, qword [rbp + 0xc8]
movzx edx, byte [r8 + rdx + 4]
shl edx, 0x10
or ecx, edx
mov edx, 1
imul rdx, rdx, 3
mov r8, qword [rbp + 0xc8]
movzx edx, byte [r8 + rdx + 4]
shl edx, 0x18
or ecx, edx
mov ecx, ecx
shl rcx, 0x20
or rax, rcx
mov rcx, qword [rbp + 0x208]
mov qword [rcx + 0x28], rax
mov rax, qword [rbp + 0xc8]
add rax, 8
mov qword [rbp + 0xc8], rax
mov eax, dword [rbp + 0xe4]
sub rax, 8
mov dword [rbp + 0xe4], eax
mov rax, qword [rbp + 0x208]
mov ecx, 0xffffffff
cmp qword [rax + 0x20], rcx
jne 0x140211bf6
mov eax, dword [rbp + 0xe4]
cmp rax, 8
jae 0x140211af9
mov edx, 9
mov rcx, qword [rbp + 0x1f0]
call fcn.14021afb0
jmp 0x140211d62
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 4]
mov edx, 1
imul rdx, rdx, 1
mov r8, qword [rbp + 0xc8]
movzx edx, byte [r8 + rdx + 4]
shl edx, 8
or ecx, edx
mov edx, 1
imul rdx, rdx, 2
mov r8, qword [rbp + 0xc8]
movzx edx, byte [r8 + rdx + 4]
shl edx, 0x10
or ecx, edx
mov edx, 1
imul rdx, rdx, 3
mov r8, qword [rbp + 0xc8]
movzx edx, byte [r8 + rdx + 4]
shl edx, 0x18
or ecx, edx
mov ecx, ecx
shl rcx, 0x20
or rax, rcx
mov rcx, qword [rbp + 0x208]
mov qword [rcx + 0x20], rax
mov rax, qword [rbp + 0xc8]
add rax, 8
mov qword [rbp + 0xc8], rax
mov eax, dword [rbp + 0xe4]
sub rax, 8
mov dword [rbp + 0xe4], eax
mov rax, qword [rbp + 0x208]
mov ecx, 0xffffffff
cmp qword [rax + 0x38], rcx
jne 0x140211d2b
mov eax, dword [rbp + 0xe4]
cmp rax, 8
jae 0x140211c2e
mov edx, 9
mov rcx, qword [rbp + 0x1f0]
call fcn.14021afb0
jmp 0x140211d62
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xc8]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx]
shl ecx, 0x18
or eax, ecx
mov eax, eax
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0xc8]
movzx ecx, byte [rdx + rcx + 4]
mov edx, 1
imul rdx, rdx, 1
mov r8, qword [rbp + 0xc8]
movzx edx, byte [r8 + rdx + 4]
shl edx, 8
or ecx, edx
mov edx, 1
imul rdx, rdx, 2
mov r8, qword [rbp + 0xc8]
movzx edx, byte [r8 + rdx + 4]
shl edx, 0x10
or ecx, edx
mov edx, 1
imul rdx, rdx, 3
mov r8, qword [rbp + 0xc8]
movzx edx, byte [r8 + rdx + 4]
shl edx, 0x18
or ecx, edx
mov ecx, ecx
shl rcx, 0x20
or rax, rcx
mov rcx, qword [rbp + 0x208]
mov qword [rcx + 0x38], rax
mov rax, qword [rbp + 0xc8]
add rax, 8
mov qword [rbp + 0xc8], rax
mov eax, dword [rbp + 0xe4]
sub rax, 8
mov dword [rbp + 0xe4], eax
jmp 0x140211d5d
mov eax, dword [rbp + 0xa4]
mov rcx, qword [rbp + 0x68]
lea rax, [rcx + rax + 4]
mov qword [rbp + 0x68], rax
mov eax, dword [rbp + 0x44]
sub rax, 4
mov ecx, dword [rbp + 0xa4]
sub rax, rcx
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jne 0x1402118aa
mov eax, 1
lea rsp, [rbp + 0x1d8]
pop rdi
pop rbp
ret