Function at 0x180003340
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x18006a080]
xor rax, rsp
mov qword [rbp - 8], rax
lea rcx, str.48_89_5C_24_08_48_89_74_24_10_57_48_83_EC_20_48_83_B9_F0_08
call fcn.18000eda0
mov ecx, reloc.WS2_32.dll_ntohl
mov rbx, rax
call fcn.1800521ac
mov edx, Ordinal_33
mov qword [0x18006aea0], rax
lea rax, [0x180003730]
mov qword [0x18006aea8], rbx
xor ecx, ecx
mov qword [0x18006aeb0], rax
mov r8d, 0x3000
lea r9d, [rdx + 0x23]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x18006aeb8], rax
test rax, rax
jne 0x1800033d3
mov rcx, qword [0x18006aea0]
call fcn.180051ed4
jmp 0x180003465
mov rcx, qword [0x18006aea8]
mov rdx, qword [0x18006aea0]
mov dword [rbp - 0x1b], 0x42444c7
mov byte [rbp - 0x20], 0x68
movsd xmm0, qword [rcx]
movsd qword [rdx], xmm0
mov eax, dword [rcx + 8]
mov dword [rdx + 8], eax
movzx eax, word [rcx + 0xc]
mov word [rdx + 0xc], ax
mov rcx, qword [0x18006aea8]
mov rdx, qword [0x18006aeb8]
mov byte [rbp - 0x13], 0xc3
movsd xmm0, qword [rcx]
movsd qword [rdx], xmm0
mov eax, dword [rcx + 8]
mov dword [rdx + 8], eax
movzx eax, word [rcx + 0xc]
mov word [rdx + 0xc], ax
movzx eax, byte [rcx + 0xe]
mov byte [rdx + 0xe], al
mov rax, qword [0x18006aea8]
mov rcx, qword [0x18006aeb8]
add rax, 0xf
mov dword [rbp - 0x1f], eax
movsd xmm0, qword [rbp - 0x20]
sar rax, 0x20
mov dword [rbp - 0x17], eax
mov eax, dword [rbp - 0x18]
movsd qword [rcx + 0xf], xmm0
mov dword [rcx + 0x17], eax
movzx eax, word [rbp - 0x14]
mov word [rcx + 0x1b], ax
mov eax, dword [0x18006aeb0]
lea r9, [rbp - 0x10]
mov rcx, qword [0x18006aea8]
mov edx, 0x1000
mov dword [rbp - 0x1f], eax
mov r8d, 0x40
mov eax, dword [0x18006aeb4]
mov dword [rbp - 0x17], eax
mov byte [rbp - 0x20], 0x68
mov dword [rbp - 0x1b], 0x42444c7
mov byte [rbp - 0x13], 0xc3
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [0x18006aea8]
lea r9, [rbp - 0x10]
mov eax, dword [rbp - 0x18]
mov edx, 0x1000
movsd xmm0, qword [rbp - 0x20]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, word [rbp - 0x14]
mov word [rcx + 0xc], ax
mov r8d, dword [rbp - 0x10]
mov rcx, qword [0x18006aea8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.40_88_BB_84_01_00_00_40_88_AB_85_01_00_00
call fcn.18000eda0
mov qword [0x18006ae98], rax
mov ecx, dword [rax]
mov dword [0x18006ae88], ecx
movzx ecx, word [rax + 4]
mov word [0x18006ae8c], cx
lea rcx, str.44_0F_11_A7_E0_01
movzx eax, byte [rax + 6]
mov byte [0x18006ae8e], al
call fcn.18000eda0
lea r9, [rbp - 0xc]
mov qword [0x18006ae90], rax
mov edx, 0x1000
mov r8d, 0x40
mov rcx, qword [rax]
mov qword [0x18006ae80], rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [0x18006ae98]
lea r9, [rbp - 0xc]
mov edx, 0x1000
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [0x18006ae48]
xor edi, edi
mov byte [0x18006a10c], 1
mov rsi, qword [rax + 0x7c0]
mov eax, edi
mov qword [0x18006ae50], rsi
mov rdx, qword [rsi]
mov qword [0x18006ae60], rdx
cmp qword [rdx], rax
je 0x180003598
nop word [rax + rax]
inc eax
cmp qword [rdx + rax*8], rdi
jne 0x180003590
mov ebx, eax
mov r14, 0xffffffffffffffff
mov eax, 8
mul rbx
cmovo rax, r14
mov rcx, rax
call fcn.1800521ac
mov rdx, qword [0x18006ae60]
lea r8, [rbx*8]
mov rcx, rax
mov qword [0x18006ae58], rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [0x18006ae58]
lea rcx, [0x180003d40]
mov qword [rsi], rax
mov rsi, qword [0x18006ae48]
mov rax, qword [0x18006ae58]
mov qword [rax + 0x320], rcx
mov qword [0x18006ae68], rsi
mov rdx, qword [rsi]
mov qword [0x18006ae78], rdx
cmp qword [rdx], rdi
je 0x180003619
nop
inc edi
cmp qword [rdx + rdi*8], 0
jne 0x180003610
mov ebx, edi
mov eax, 8
mul rbx
cmovo rax, r14
mov rcx, rax
call fcn.1800521ac
mov rdx, qword [0x18006ae78]
lea r8, [rdi*8]
mov rcx, rax
mov qword [0x18006ae70], rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [0x18006ae70]
lea rcx, [0x1800036a0]
mov qword [rsi], rax
mov rax, qword [0x18006ae70]
mov qword [rax + 0x388], rcx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180051890
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret