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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x450
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14009a080]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov rbx, r9
mov rdi, r8
mov r15d, edx
mov rsi, rcx
mov r12, qword [rsp + 0x4a0]
mov qword [rbp + 0x10], r12
mov edx, 0xa0
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r13, rax
mov qword [rbp + 0x20], rax
lea r14, [rax + 0x88]
mov qword [r14 + 0x10], rdi
mov ecx, dword [rbx + 0x28]
add rcx, rdi
mov qword [r14 + 8], rcx
movups xmm0, xmmword [rsi]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rsi + 0x60]
movups xmmword [rax + 0x60], xmm0
movups xmm1, xmmword [rsi + 0x70]
movups xmmword [rax + 0x70], xmm1
movsd xmm0, qword [rsi + 0x80]
movsd qword [rax + 0x80], xmm0
lea rax, [r12 + 0x88]
mov qword [rbp + 0x100], rax
mov qword [r13 + 6], rax
mov rax, qword [r14 + 8]
mov qword [r13 + 0x66], rax
xor ebx, ebx
mov dword [rbp + 0x154], ebx
mov dword [rbp + 0x171], ebx
mov word [rbp + 0x175], bx
mov byte [rbp + 0x177], bl
mov dword [rbp + 0x150], r15d
mov qword [rbp + 0x158], r12
mov qword [rbp + 0x160], r13
mov qword [rbp + 0x168], 0xa0
mov byte [rbp + 0x170], bl
mov dword [rbp + 0x340], 0x92b
lea rax, [rbp + 0x150]
mov qword [rbp + 0x348], rax
mov dword [rbp + 0x344], 0x139
mov rax, qword [0x14009db70]
mov rdx, qword [rax]
lea rcx, [rbp + 0x340]
call rdx
cmp rax, 0x91a
je 0x140003fa3
movabs rax, 0xc0e7325828f87622
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x8a483a92ad97276f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rdi, 0xa181123d5c910455
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x340], rax
movabs rsi, 0x8a483a98c9f24b06
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x348], rax
movdqa xmm0, xmmword [rbp + 0x20]
xorps xmm0, xmmword [rbp + 0x340]
movdqa xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x20]
jmp 0x1400040f2
mov rdx, r12
lea rcx, str.shellcode_allocation_:__p_n
call fcn.140001aa0
mov rdx, qword [r14 + 8]
lea rcx, str.dll_main_:__p_n
call fcn.140001aa0
xorps xmm0, xmm0
movups xmmword [rbp + 0x320], xmm0
mov qword [rbp + 0x330], rbx
mov qword [rbp + 0x338], rbx
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.DiscordHook64.dll
lea rcx, [rbp + 0x320]
call fcn.140006c10
lea r8, [rbp + 0x320]
mov edx, r15d
call fcn.140002490
mov qword [rbp + 0x1b8], rax
test rax, rax
jne 0x140004129
movabs rax, 0x81e560523fe26d31
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x340], rax
movabs rax, 0xe43d55fee9862468
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x348], rax
movabs rax, 0xa40662b95969b83
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x350], rax
movabs rbx, 0x5e01f3961c335e88
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x358], rax
movabs rdi, 0xa181123d5c910455
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x320], rax
movabs rsi, 0x8a483a98c9f24b06
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x328], rax
movabs r12, 0xa40662b959691e7
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x330], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x338], rax
vmovdqu ymm0, ymmword [rbp + 0x320]
vpxor ymm1, ymm0, ymmword [rbp + 0x340]
vmovdqa ymmword [rbp + 0x340], ymm1
lea rcx, [rbp + 0x340]
vzeroupper
call fcn.140001aa0
xor al, al
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.140071f20
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movabs rax, 0x94b1327f64b13c61
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0xb56805a7e9cd7426
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0x2a78520baaa9b1d8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rax, 0x6739d3af581367b0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
movabs rax, 0x68f2aaad673af329
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rax, 0x145562e4ae4f1043
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0xab2915f8c00b9b1a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
movabs rax, 0xc7a6b5bd7323485c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movabs rax, 0x7982ce25014182c4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rax, 0x48cfa5b9c9c95856
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs rdi, 0xa181123d5c910455
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x360], rax
movabs rsi, 0x8a483a98c9f24b06
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x368], rax
movabs r12, 0xa40662b959691e7
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x370], rax
movabs rbx, 0x5e01f3961c335e88
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x378], rax
movabs rax, 0x50d29b99477bb509
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x380], rax
movabs rax, 0x341324c49e09307a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x388], rax
movabs rax, 0x941635c7ff2bae2b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x390], rax
movabs rax, 0xff868a82531c777c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x398], rax
movabs rax, 0x59bafa053702a2fd
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x3a0], rax
movabs rax, 0x48cfa5808ce9616e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x3a8], rax
vmovdqu ymm0, ymmword [rbp + 0xa0]
vpxor ymm1, ymm0, ymmword [rbp + 0x360]
vmovdqa ymmword [rbp + 0xa0], ymm1
vmovdqu ymm0, ymmword [rbp + 0xc0]
vpxor ymm1, ymm0, ymmword [rbp + 0x380]
vmovdqa ymmword [rbp + 0xc0], ymm1
vmovdqa xmm0, xmmword [rbp + 0xe0]
vxorps xmm0, xmm0, xmmword [rbp + 0x3a0]
vmovdqa xmmword [rbp + 0xe0], xmm0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x40], xmm0
xor eax, eax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
lea rax, [rbp + 0xa0]
mov r8, 0xffffffffffffffff
vzeroupper
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140004390
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x40]
call fcn.140006c10
lea rax, [rbp + 0x40]
mov qword [rbp + 8], rax
xor eax, eax
mov dword [rbp + 0x204], eax
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x210]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x200], r15d
mov rax, qword [rbp + 0x1b8]
mov qword [rbp + 0x208], rax
mov qword [rbp + 0x318], 0
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x210]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rcx, qword [rbp + 0x40]
lea rdx, [rbp + 0x210]
sub rdx, rcx
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rcx + rdx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140004420
mov dword [rbp + 0x110], 0x92b
lea rax, [rbp + 0x200]
mov qword [rbp + 0x118], rax
mov dword [rbp + 0x114], 0x179
mov rax, qword [0x14009db70]
mov rdx, qword [rax]
lea rcx, [rbp + 0x110]
call rdx
mov rax, qword [rbp + 0x318]
mov qword [rbp], rax
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x1400044b0
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400044a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400044a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400722dc
mov rax, qword [rbp]
xor ecx, ecx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], cl
test rax, rax
jne 0x14000456f
movabs rax, 0xcfa1775933f2743a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0xee264ff7afd23f69
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0xa40662b959691ed
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x320], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x328], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x330], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x338], rax
vmovdqu ymm0, ymmword [rbp + 0x320]
vpxor ymm1, ymm0, ymmword [rbp + 0x40]
vmovdqa ymmword [rbp + 0x40], ymm1
lea rcx, [rbp + 0x40]
jmp 0x1400040ef
mov dword [rbp + 0x1b8], ecx
mov dword [rbp + 0x17c], ecx
mov dword [rbp + 0x178], r15d
add rax, 3
mov qword [rbp + 0x180], rax
lea rax, [rbp + 0x1b8]
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x190], 4
mov dword [rbp + 0x120], 0x92b
lea rax, [rbp + 0x178]
mov qword [rbp + 0x128], rax
mov dword [rbp + 0x124], Ordinal_301
lea rcx, [rbp + 0x120]
mov rax, qword [0x14009db70]
call qword [rax]
movsxd rax, dword [rbp + 0x1b8]
mov rcx, qword [rbp]
add rax, 7
add rcx, rax
mov qword [rbp], rcx
movabs rax, 0xfef57c582ff47625
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x60], rax
movabs rax, 0xb03b49fdbb962f67
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x68], rax
movabs rax, 0x380a47b0eea1c7
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x70], rax
mov qword [rbp + 8], rbx
mov rax, qword [rbp + 8]
mov qword [rbp + 0x78], rax
mov qword [rbp + 8], rdi
mov rax, qword [rbp + 8]
mov qword [rbp + 0x3c0], rax
mov qword [rbp + 8], rsi
mov rax, qword [rbp + 8]
mov qword [rbp + 0x3c8], rax
mov qword [rbp + 8], r12
mov rax, qword [rbp + 8]
mov qword [rbp + 0x3d0], rax
mov qword [rbp + 8], rbx
mov rax, qword [rbp + 8]
mov qword [rbp + 0x3d8], rax
vmovdqu ymm0, ymmword [rbp + 0x3c0]
vpxor ymm1, ymm0, ymmword [rbp + 0x60]
vmovdqa ymmword [rbp + 0x60], ymm1
mov rdx, rcx
lea rcx, [rbp + 0x60]
vzeroupper
call fcn.140001aa0
xor ecx, ecx
mov dword [rbp + 0x1e4], ecx
mov dword [rbp + 0x1e0], r15d
mov rax, qword [rbp]
mov qword [rbp + 0x1f0], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x1e8], rax
mov qword [rbp + 0x1f8], rcx
mov dword [rbp + 0x130], 0x92b
lea rax, [rbp + 0x1e0]
mov qword [rbp + 0x138], rax
mov dword [rbp + 0x134], 0x169
lea rcx, [rbp + 0x130]
mov rax, qword [0x14009db70]
call qword [rax]
cmp qword [rbp + 0x1f8], 0
je 0x1400040f7
movabs rax, 0x81e67c5428f86522
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x80], rax
movabs rax, 0xe92d42fde9802460
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x88], rax
movabs rax, 0xa40662b9ff3e592
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x10], rbx
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x98], rax
mov qword [rbp + 0x10], rdi
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x3e0], rax
mov qword [rbp + 0x10], rsi
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x3e8], rax
mov qword [rbp + 0x10], r12
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x3f0], rax
mov qword [rbp + 0x10], rbx
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x3f8], rax
vmovdqu ymm0, ymmword [rbp + 0x3e0]
vpxor ymm1, ymm0, ymmword [rbp + 0x80]
vmovdqa ymmword [rbp + 0x80], ymm1
lea rcx, [rbp + 0x80]
vzeroupper
call fcn.140001aa0
cmp dword [r14], 0xf1
je 0x140004846
mov r13, qword [rbp + 0x100]
mov dword [rbp + 0x19c], 0
mov dword [rbp + 0x198], r15d
mov qword [rbp + 0x1a0], r13
mov qword [rbp + 0x1a8], r14
mov qword [rbp + 0x1b0], Ordinal_33
mov dword [rbp + 0x100], 0x92b
lea rax, [rbp + 0x198]
mov qword [rbp + 0x108], rax
mov dword [rbp + 0x104], Ordinal_301
lea rcx, [rbp + 0x100]
mov rax, qword [0x14009db70]
call qword [rax]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [r14], 0xf1
jne 0x1400047d2
mov r13, qword [rbp + 0x20]
xor ecx, ecx
mov dword [rbp + 0x1c4], ecx
mov dword [rbp + 0x1c0], r15d
mov rax, qword [rbp]
mov qword [rbp + 0x1d0], rax
mov rax, qword [rbp + 0x1f8]
mov qword [rbp + 0x1c8], rax
mov qword [rbp + 0x1d8], rcx
mov dword [rbp + 0x140], 0x92b
lea rax, [rbp + 0x1c0]
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x144], 0x169
lea rcx, [rbp + 0x140]
mov rax, qword [0x14009db70]
call qword [rax]
cmp qword [rbp + 0x1d8], 0
je 0x1400040f7
movabs rax, 0xc7f261583ff27126
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x1c0], rax
movabs rax, 0xef305fb8b09e2773
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x1c8], rax
movabs rax, 0xa406c4ff0e2e484
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x1d0], rax
mov qword [rbp + 0x20], rbx
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x1d8], rax
mov qword [rbp + 0x20], rdi
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x320], rax
mov qword [rbp + 0x20], rsi
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x328], rax
mov qword [rbp + 0x20], r12
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x330], rax
mov qword [rbp + 0x20], rbx
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x338], rax
vmovdqu ymm0, ymmword [rbp + 0x320]
vpxor ymm1, ymm0, ymmword [rbp + 0x1c0]
vmovdqa ymmword [rbp + 0x1c0], ymm1
lea rcx, [rbp + 0x1c0]
vzeroupper
call fcn.140001aa0
xor edx, edx
mov r8d, 0x8000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov al, 1
jmp 0x1400040f9