Function at 0x1400027d0
Capabilities:
Check if file exists
Create thread
Execute command
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x140009008]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r12d, r12d
mov dword [rbp - 0x79], r12d
lea rdx, str.PolyX_Injector_V0.2_by_mogus2891
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400030d0
lea rdx, [0x1400032a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
lea r8d, [r12 + 0xd]
lea rdx, str.Polytoria.exe
lea rcx, [rbp + 0x17]
call fcn.1400037b0
nop
call fcn.1400040c4
lea rcx, str.PolyX.dll
mov qword [rbp - 0x79], rcx
mov qword [rbp - 0x71], 9
lea r8, [rbp - 0x79]
mov edx, eax
lea rcx, [rbp - 0x69]
call fcn.140001b20
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movdqa xmm1, xmmword [0x140006850]
movdqu xmmword [rbp - 0x19], xmm1
mov word [rbp - 0x29], r12w
mov dword [rbp - 0x79], 7
lea rcx, [rbp - 0x29]
call fcn.140002680
test eax, eax
jne 0x140002def
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.140002060
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x140002900
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000439c
movdqa xmm0, xmmword [0x140006850]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], r12w
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x140002955
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002950
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002950
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000439c
movdqa xmm0, xmmword [0x140006850]
movdqu xmmword [rbp - 0x59], xmm0
mov word [rbp - 0x69], r12w
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rax, qword [rbp - 9]
mov qword [rbp - 0x79], rax
mov rax, qword [rbp + 7]
mov qword [rbp - 0x71], rax
call fcn.1400040c4
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
lea r8, [rbp - 0x79]
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.1400032e0
nop
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rdx, qword [rbp - 0x49]
mov r8, qword [rbp - 0x39]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003f10
lea rdx, [0x1400032a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [0x1400066a4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rcx, qword [rbp - 0x49]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140002a14
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.DLL_File_does_NOT_exist_
call fcn.140001010
mov ebx, 1
jmp 0x140002cdf
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0x10
cmovae rcx, qword [rbp + 0x17]
mov edx, 0xd
call fcn.140001850
test eax, eax
jne 0x140002aa8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str.Process_Not_found__0x_lX__n
mov rcx, rax
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str.Here_is_a_list_of_available_process__n
mov rcx, rax
call fcn.140001010
mov ecx, 0xdac
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x1400066a4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov edx, 0x539
lea rcx, str.skinjbir
call fcn.140001850
jmp 0x140002ccf
lea rdi, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rdi, qword [rbp - 0x49]
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140002bf6
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
mov rbx, 0xffffffffffffffff
mov r9, rbx
nop
inc r9
cmp byte [rdi + r9], 0
jne 0x140002b00
inc r9
mov qword [rsp + 0x20], r12
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r15d, eax
test eax, eax
jne 0x140002b30
mov rcx, rsi
jmp 0x140002bf0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8d, r15d
lea rdx, str.DLL_Injected_Succesfully_0x_lX_n
call fcn.140001010
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r14
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 r15, rax
test rax, rax
jne 0x140002ba2
nop dword [rax]
lea rbx, [rbx + 1]
cmp byte [rdi + rbx], 0
jne 0x140002b80
lea rdx, [rbx + 1]
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rsi
jmp 0x140002bf0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8, r15
lea rdx, str.Thread_Created_Succesfully_0x_lX_n
call fcn.140001010
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea rbx, [rbx + 1]
cmp byte [rdi + rbx], 0
jne 0x140002bd0
lea rdx, [rbx + 1]
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
mov r8d, 6
lea rdx, str.start
lea rcx, [rbp - 0x69]
call fcn.1400037b0
nop
mov r8d, 0x1c
lea rdx, str.https:discord.gg_TeGK8zWSv8
lea rcx, [rbp - 0x69]
call fcn.140003000
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140002ea0
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x140002c7d
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000439c
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rcx, qword [rbp - 0x29]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140002ccf
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002cca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002cca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000439c
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ebx, r12d
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x140002d1d
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000439c
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x140002d70
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d6b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000439c
movdqa xmm0, xmmword [0x140006850]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], r12w
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x140002dc0
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002dbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002dbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000439c
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140004340
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov edx, eax
call fcn.140002590
int3