Function at 0x140210410
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.140173d0e
nop
mov rax, qword [rbp + 0x200]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x210], 0
je 0x140210460
mov rax, qword [rbp + 0x210]
mov dword [rax], 0
cmp qword [rbp + 0x28], 0
je 0x140210471
cmp qword [rbp + 0x208], 0
jne 0x140210487
mov edx, Ordinal_26
mov rcx, qword [rbp + 0x1f0]
call fcn.14021a260
jmp 0x140211012
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.14020fba0
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.14020fe50
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 0x140210877
mov eax, dword [rbp + 4]
mov dword [rbp + 0x1b4], eax
jmp 0x140210881
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.14016f425
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 0x14021090c
mov eax, dword [rbp + 4]
mov dword [rbp + 0x1b4], eax
jmp 0x140210916
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.14016f425
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.140174934
mov rcx, qword [rbp + 0x208]
mov dword [rcx + 0x44], eax
mov edx, dword [rbp + 0x1f8]
mov rcx, qword [rbp + 0x1f0]
call fcn.14017483f
mov rcx, qword [rbp + 0x208]
mov dword [rcx + 0x48], eax
mov edx, dword [rbp + 0x1f8]
mov rcx, qword [rbp + 0x1f0]
call fcn.140172120
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 0x140210a54
mov rax, qword [rbp + 0x208]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x1b8], rax
jmp 0x140210a66
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 0x140210ac8
mov rax, qword [rbp + 0x208]
mov rcx, qword [rbp + 0x208]
mov rcx, qword [rcx + 0x28]
cmp qword [rax + 0x20], rcx
jbe 0x140210aa6
mov rax, qword [rbp + 0x208]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x1c0], rax
jmp 0x140210ab8
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 0x140210ada
mov rax, qword [rbp + 0x208]
mov rax, qword [rax + 0x38]
mov qword [rbp + 0x1c8], rax
mov eax, 0xffffffff
cmp qword [rbp + 0x1c8], rax
jne 0x14021100d
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 0x14021100d
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 0x140210b79
mov edx, 9
mov rcx, qword [rbp + 0x1f0]
call fcn.14021a260
jmp 0x140211012
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 0x140210bfd
mov edx, 9
mov rcx, qword [rbp + 0x1f0]
call fcn.14021a260
jmp 0x140211012
cmp dword [rbp + 0x84], 1
jne 0x140210fdd
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 0x140210c3c
mov rax, qword [rbp + 0x210]
mov dword [rax], 1
mov rax, qword [rbp + 0x208]
mov ecx, 0xffffffff
cmp qword [rax + 0x28], rcx
jne 0x140210d71
mov eax, dword [rbp + 0xe4]
cmp rax, 8
jae 0x140210c74
mov edx, 9
mov rcx, qword [rbp + 0x1f0]
call fcn.14021a260
jmp 0x140211012
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 0x140210ea6
mov eax, dword [rbp + 0xe4]
cmp rax, 8
jae 0x140210da9
mov edx, 9
mov rcx, qword [rbp + 0x1f0]
call fcn.14021a260
jmp 0x140211012
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 0x140210fdb
mov eax, dword [rbp + 0xe4]
cmp rax, 8
jae 0x140210ede
mov edx, 9
mov rcx, qword [rbp + 0x1f0]
call fcn.14021a260
jmp 0x140211012
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 0x14021100d
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 0x140210b5a
mov eax, 1
lea rsp, [rbp + 0x1d8]
pop rdi
pop rbp
ret