Function at 0x140152040
Capabilities:
Create thread
Inject thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x1402be168]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov r8d, ecx
xor edx, edx
lea ecx, [rdx + 0x2a]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x14015216f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.140119f80
mov rdi, rax
mov edx, 4
mov rcx, rax
call fcn.14011abf0
mov r14d, eax
test eax, eax
je 0x140152168
movdqa xmm0, xmmword [0x140249480]
movdqu xmmword [rbp - 0x18], xmm0
xor ebx, ebx
mov word [rbp - 0x28], bx
mov r8d, esi
lea rdx, str.OpenProcess_dwErr__0x_X
lea rcx, [rbp - 0x28]
call fcn.14011b390
mov dword [rsp + 0x28], 0x12c
lea rax, str.RC::RCMonitorMain::InjectToProcess
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_sfguard_src_rcsfloadbasemain.cpp
lea r8, [rbp - 0x28]
lea edx, [rbx + 4]
mov rcx, rdi
call fcn.14011ac70
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14011b010
cmp r14d, 1
jbe 0x140152128
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14011b020
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140152168
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140152163
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140152603
call fcn.140183104
mov eax, esi
jmp 0x1401525ca
mov r15, qword [rdi + 0x10]
inc r15
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8, r15
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
jne 0x140152287
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
call fcn.140119f80
mov rdi, rax
lea edx, [r12 + 4]
mov rcx, rax
call fcn.14011abf0
mov r15d, eax
test eax, eax
je 0x140152276
movdqa xmm0, xmmword [0x140249480]
movdqu xmmword [rbp - 0x18], xmm0
xor ebx, ebx
mov word [rbp - 0x28], bx
mov r8d, r14d
lea rdx, str.VirtualAllocEx_dwErr__0x_X
lea rcx, [rbp - 0x28]
call fcn.14011b390
mov dword [rsp + 0x28], 0x135
lea rax, str.RC::RCMonitorMain::InjectToProcess
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_sfguard_src_rcsfloadbasemain.cpp
lea r8, [rbp - 0x28]
lea edx, [rbx + 4]
mov rcx, rdi
call fcn.14011ac70
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14011b010
cmp r15d, 1
jbe 0x140152236
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14011b020
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140152276
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140152271
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140152609
call fcn.140183104
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r14d
jmp 0x1401525ca
xor ebx, ebx
mov qword [rbp - 0x38], rbx
cmp qword [rdi + 0x18], 0x10
jb 0x140152297
mov rdi, qword [rdi]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9, r15
mov r8, rdi
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1401524d7
cmp qword [rbp - 0x38], r15
je 0x1401523a4
mov edi, 0xffffffff
call fcn.140119f80
mov r14, rax
mov edx, 4
mov rcx, rax
call fcn.14011abf0
mov r13d, eax
test eax, eax
je 0x1401525aa
movdqa xmm0, xmmword [0x140249480]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], bx
mov r9, r15
mov r8, qword [rbp - 0x38]
lea rdx, str.WriteProcessMemory_numberOfBytesWritten____remoteBufSize_numberOfBytesWritten____d_remoteBufSize___d
lea rcx, [rbp - 0x28]
call fcn.14011b390
mov dword [rsp + 0x28], 0x142
lea rax, str.RC::RCMonitorMain::InjectToProcess
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_sfguard_src_rcsfloadbasemain.cpp
lea r8, [rbp - 0x28]
mov edx, 4
mov rcx, r14
call fcn.14011ac70
lea rdx, [rbp - 0x28]
mov rcx, r14
call fcn.14011b010
cmp r13d, 1
jbe 0x14015235c
lea rdx, [rbp - 0x28]
mov rcx, r14
call fcn.14011b020
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1401525aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401525a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401525f7
jmp 0x1401525a5
mov dword [rbp - 0x40], ebx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r12
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r14, rax
test rax, rax
jne 0x1401524b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.140119f80
mov r14, rax
mov edx, 4
mov rcx, rax
call fcn.14011abf0
mov r13d, eax
test eax, eax
je 0x1401525aa
movdqa xmm0, xmmword [0x140249480]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], bx
mov r8d, edi
lea rdx, str.CreateRemoteThread_dwErr__0x_X
lea rcx, [rbp - 0x28]
call fcn.14011b390
mov dword [rsp + 0x28], 0x153
lea rax, str.RC::RCMonitorMain::InjectToProcess
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_sfguard_src_rcsfloadbasemain.cpp
lea r8, [rbp - 0x28]
mov edx, 4
mov rcx, r14
call fcn.14011ac70
lea rdx, [rbp - 0x28]
mov rcx, r14
call fcn.14011b010
cmp r13d, 1
jbe 0x140152471
lea rdx, [rbp - 0x28]
mov rcx, r14
call fcn.14011b020
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1401525aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401525a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401525fd
jmp 0x1401525a5
mov edx, 0xffffffff
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, ebx
jmp 0x1401525aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.140119f80
mov r14, rax
mov edx, 4
mov rcx, rax
call fcn.14011abf0
mov r13d, eax
test eax, eax
je 0x1401525aa
movdqa xmm0, xmmword [0x140249480]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], bx
mov r8d, edi
lea rdx, str.WriteProcessMemory_dwErr__0x_X
lea rcx, [rbp - 0x28]
call fcn.14011b390
mov dword [rsp + 0x28], 0x14a
lea rax, str.RC::RCMonitorMain::InjectToProcess
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_sfguard_src_rcsfloadbasemain.cpp
lea r8, [rbp - 0x28]
mov edx, 4
mov rcx, r14
call fcn.14011ac70
lea rdx, [rbp - 0x28]
mov rcx, r14
call fcn.14011b010
cmp r13d, 1
jbe 0x14015256e
lea rdx, [rbp - 0x28]
mov rcx, r14
call fcn.14011b020
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1401525aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401525a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401525f1
call fcn.140183104
mov r9d, 0x1000
mov r8, r15
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401836b0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140195eec
int3
call fcn.140195eec
int3
call fcn.140195eec
int3
call fcn.140195eec
int3
call fcn.140195eec
int3