Function at 0x1400041f0
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x48], r12
mov r12, rcx
lea rcx, [0x1401202f0]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x30], r15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp qword [r12 + 0x60], 0xf
lea rdx, [r12 + 0x48]
mov r8, qword [rdx + 0x10]
jbe 0x140004229
mov rdx, qword [rdx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003bf0
mov rcx, rax
lea rdx, [0x1401202f4]
call fcn.1400037d0
mov r13, qword [r12 + 0x38]
mov r15, qword [r12 + 0x30]
cmp r15, r13
je 0x1400044a6
mov qword [rsp + 0x60], rbp
xor ebp, ebp
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x38], r14
xor r14d, r14d
movaps xmmword [rsp + 0x20], xmm6
movsd xmm6, qword [0x140136f38]
nop dword [rax]
mov eax, dword [r15]
test eax, eax
jne 0x14000437d
mov rbx, qword [r12]
lea rdx, [rbx + 8]
add rdx, r14
cmp qword [rdx + 0x18], 0xf
mov r8, qword [rdx + 0x10]
jbe 0x1400042a4
mov rdx, qword [rdx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003bf0
cmp dword [r14 + rbx], 0xffffffff
je 0x140004360
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140120298]
call fcn.1400037d0
mov eax, dword [r14 + rbx]
test eax, eax
jne 0x1400042f3
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400039a0]
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 rdx, str.UNINJECTED
jmp 0x140004335
cmp eax, 1
jne 0x140004315
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400039b0]
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 rdx, str.INJECTING....
jmp 0x140004335
cmp eax, 2
jne 0x14000433d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400039c0]
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 rdx, str.INJECTED
mov rcx, rax
call fcn.1400037d0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400039d0]
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]
mov rcx, rax
lea rdx, [0x1401202cc]
call fcn.1400037d0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400039e0]
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]
add r14, 0x28
jmp 0x140004480
cmp eax, 1
jne 0x140004480
mov rdi, qword [r12 + 0x18]
cmp byte [rdi + rbp + 0x14], 0
je 0x14000447c
movss xmm1, dword [rdi + rbp + 0xc]
lea rdx, [0x1400039a0]
subss xmm1, dword [rdi + rbp + 8]
movss xmm0, dword [rdi + rbp + 0x10]
divss xmm0, xmm1
movss dword [rdi + rbp], xmm0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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]
mov rcx, rax
lea rdx, [0x140120308]
call fcn.1400037d0
mov eax, dword [rdi + rbp + 4]
xor ebx, ebx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rdi + rbp]
cvttss2si esi, xmm0
test eax, eax
jle 0x140004421
nop
cmp ebx, esi
jge 0x1400043fd
lea rdx, [0x14012030c]
jmp 0x14000440d
lea rdx, [0x140120310]
je 0x14000440d
lea rdx, [0x140120314]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400037d0
inc ebx
cmp ebx, dword [rdi + rbp + 4]
jl 0x1400043f0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14012031c]
call fcn.1400037d0
movss xmm0, dword [rdi + rbp]
mov rcx, rax
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm6
cvttsd2si edx, xmm0
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___int____ptr64]
mov rcx, rax
lea rdx, [0x140120318]
call fcn.1400037d0
lea rdx, [0x1400039d0]
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]
mov rcx, rax
lea rdx, [0x1400039e0]
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]
add rbp, 0x18
add r15, 4
cmp r15, r13
jne 0x140004280
movaps xmm6, xmmword [rsp + 0x20]
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1401202f4]
lea rbx, [r12 + 0x68]
call fcn.1400037d0
cmp qword [rbx + 0x18], 0xf
mov r8, qword [rbx + 0x10]
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
jbe 0x1400044db
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
add rsp, 0x50
pop rbx
jmp fcn.140003bf0
mov rax, qword [rcx]
mov edx, dword [rax + 0x28]
cmp edx, 2
jne 0x140004504
mov dword [rax + 0x28], 0
jmp 0x14000451d
test edx, edx
jne 0x140004511
mov dword [rax + 0x28], 1
jmp 0x14000451d
cmp edx, 1
jne 0x14000451d
mov dword [rax + 0x28], 2
jmp 0x1400041f0