Function at 0x1400042c0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r15d, r15d
mov r14d, ecx
xorps xmm0, xmm0
mov qword [rbp - 0x49], r15
lea rcx, str.NTDLL
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x41], r15
mov esi, 1
mov dword [rbp + 0x27], r15d
mov qword [rbp + 0x2f], r15
mov qword [rbp - 0x31], r14
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x19], r15
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp + 0x17], 0x3200
movups xmmword [rbp - 1], xmm0
mov dword [rbp - 0x21], 0x30
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x140004374
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str._____GetModuleHandleW__failed__error:_0x_lx_n
mov rcx, rax
call fcn.140004210
xor eax, eax
jmp 0x140004b2b
mov rdx, rdi
lea rcx, str.____0x_p__got_the_address_of_NTDLL__n
call fcn.140004260
lea rbx, str.NtOpenProcess
mov word [rbp + 0xf], 0x50f
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
test rax, rax
jne 0x1400043cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str._____GetProcAddress__failed__error:_0x_lx_n
mov rcx, rax
call fcn.140004210
jmp 0x140004419
movzx r9d, byte [rax + 4]
lea r8, [rax + 0x12]
movzx eax, word [rbp + 0xf]
mov dword [0x1400086f4], r9d
mov qword [0x1400086a8], r8
cmp ax, word [r8]
jne 0x1400043ff
lea rcx, str.____0x_p___0x_p___0x_0.3lx______s_n
mov qword [rsp + 0x20], rbx
call fcn.140004260
jmp 0x140004419
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____expected_syscall_signature:__0x0f05__didnt_match._n
call fcn.140004210
lea rbx, str.NtAllocateVirtualMemory
mov word [rbp + 0xf], 0x50f
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
test rax, rax
jne 0x140004461
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str._____GetProcAddress__failed__error:_0x_lx_n
mov rcx, rax
call fcn.140004210
jmp 0x1400044af
movzx r9d, byte [rax + 4]
lea r8, [rax + 0x12]
movzx eax, word [rbp + 0xf]
mov dword [0x1400086a0], r9d
mov qword [0x1400086c0], r8
cmp ax, word [r8]
jne 0x140004495
lea rcx, str.____0x_p___0x_p___0x_0.3lx______s_n
mov qword [rsp + 0x20], rbx
call fcn.140004260
jmp 0x1400044af
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____expected_syscall_signature:__0x0f05__didnt_match._n
call fcn.140004210
lea rbx, str.NtWriteVirtualMemory
mov word [rbp + 0xf], 0x50f
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
test rax, rax
jne 0x1400044f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str._____GetProcAddress__failed__error:_0x_lx_n
mov rcx, rax
call fcn.140004210
jmp 0x140004545
movzx r9d, byte [rax + 4]
lea r8, [rax + 0x12]
movzx eax, word [rbp + 0xf]
mov dword [0x140008678], r9d
mov qword [0x140008680], r8
cmp ax, word [r8]
jne 0x14000452b
lea rcx, str.____0x_p___0x_p___0x_0.3lx______s_n
mov qword [rsp + 0x20], rbx
call fcn.140004260
jmp 0x140004545
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____expected_syscall_signature:__0x0f05__didnt_match._n
call fcn.140004210
lea rbx, str.NtProtectVirtualMemory
mov word [rbp + 0xf], 0x50f
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
test rax, rax
jne 0x14000458d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str._____GetProcAddress__failed__error:_0x_lx_n
mov rcx, rax
call fcn.140004210
jmp 0x1400045db
movzx r9d, byte [rax + 4]
lea r8, [rax + 0x12]
movzx eax, word [rbp + 0xf]
mov dword [0x1400086b8], r9d
mov qword [0x140008690], r8
cmp ax, word [r8]
jne 0x1400045c1
lea rcx, str.____0x_p___0x_p___0x_0.3lx______s_n
mov qword [rsp + 0x20], rbx
call fcn.140004260
jmp 0x1400045db
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____expected_syscall_signature:__0x0f05__didnt_match._n
call fcn.140004210
lea rbx, str.NtCreateThreadEx
mov word [rbp + 0xf], 0x50f
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
test rax, rax
jne 0x140004623
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str._____GetProcAddress__failed__error:_0x_lx_n
mov rcx, rax
call fcn.140004210
jmp 0x140004671
movzx r9d, byte [rax + 4]
lea r8, [rax + 0x12]
movzx eax, word [rbp + 0xf]
mov dword [0x1400086c8], r9d
mov qword [0x140008698], r8
cmp ax, word [r8]
jne 0x140004657
lea rcx, str.____0x_p___0x_p___0x_0.3lx______s_n
mov qword [rsp + 0x20], rbx
call fcn.140004260
jmp 0x140004671
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____expected_syscall_signature:__0x0f05__didnt_match._n
call fcn.140004210
lea rbx, str.NtWaitForSingleObject
mov word [rbp + 0xf], 0x50f
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
test rax, rax
jne 0x1400046b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str._____GetProcAddress__failed__error:_0x_lx_n
mov rcx, rax
call fcn.140004210
jmp 0x140004707
movzx r9d, byte [rax + 4]
lea r8, [rax + 0x12]
movzx eax, word [rbp + 0xf]
mov dword [0x140008688], r9d
mov qword [0x1400086d0], r8
cmp ax, word [r8]
jne 0x1400046ed
lea rcx, str.____0x_p___0x_p___0x_0.3lx______s_n
mov qword [rsp + 0x20], rbx
call fcn.140004260
jmp 0x140004707
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____expected_syscall_signature:__0x0f05__didnt_match._n
call fcn.140004210
lea rbx, str.NtFreeVirtualMemory
mov word [rbp + 0xf], 0x50f
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
test rax, rax
jne 0x14000474f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str._____GetProcAddress__failed__error:_0x_lx_n
mov rcx, rax
call fcn.140004210
jmp 0x14000479d
movzx r9d, byte [rax + 4]
lea r8, [rax + 0x12]
movzx eax, word [rbp + 0xf]
mov dword [0x1400086e0], r9d
mov qword [0x1400086d8], r8
cmp ax, word [r8]
jne 0x140004783
lea rcx, str.____0x_p___0x_p___0x_0.3lx______s_n
mov qword [rsp + 0x20], rbx
call fcn.140004260
jmp 0x14000479d
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____expected_syscall_signature:__0x0f05__didnt_match._n
call fcn.140004210
lea rbx, str.NtClose
mov word [rbp + 0xf], 0x50f
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
test rax, rax
jne 0x1400047e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str._____GetProcAddress__failed__error:_0x_lx_n
mov rcx, rax
call fcn.140004210
jmp 0x140004833
movzx r9d, byte [rax + 4]
lea r8, [rax + 0x12]
movzx eax, word [rbp + 0xf]
mov dword [0x1400086f0], r9d
mov qword [0x1400086e8], r8
cmp ax, word [r8]
jne 0x140004819
lea rcx, str.____0x_p___0x_p___0x_0.3lx______s_n
mov qword [rsp + 0x20], rbx
call fcn.140004260
jmp 0x140004833
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____expected_syscall_signature:__0x0f05__didnt_match._n
call fcn.140004210
lea r9, [rbp - 0x31]
mov edx, 0x1fffff
lea r8, [rbp - 0x21]
lea rcx, [rbp - 0x41]
call fcn.140004c10
mov ebx, eax
test eax, eax
je 0x140004881
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x59
mov dword [rsp + 0x20], ebx
mov rcx, rax
lea r8, str.C:UsersArnaud_source_repos_test_testinjection.c
lea rdx, str._____NtOpenProcess____s:_d__failed__error:_0x_lx_n
call fcn.140004210
xor eax, eax
jmp 0x140004b2b
mov rdx, qword [rbp - 0x41]
lea rcx, str.____0x_p__got_a_handle_on_the_process___ld___n
mov r8d, r14d
call fcn.140004260
mov rcx, qword [rbp - 0x41]
lea r9, [rbp + 0x17]
xor r8d, r8d
mov dword [rsp + 0x28], 4
lea rdx, [rbp - 0x49]
mov dword [rsp + 0x20], 0x3000
call fcn.140004c20
mov ebx, eax
test eax, eax
je 0x1400048f1
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x60
mov dword [rsp + 0x20], ebx
mov rcx, rax
lea r8, str.C:UsersArnaud_source_repos_test_testinjection.c
lea rdx, str._____NtAllocateVirtualMemory____s:_d__failed__error:_0x_lx_n
call fcn.140004210
mov esi, r15d
jmp 0x140004a8d
mov r8, qword [rbp + 0x17]
lea rcx, str.____0x_p___RW___allocated_a__zu_byte_buffer_with_PAGE_READWRITE__RW___permissions__n
mov rdx, qword [rbp - 0x49]
call fcn.140004260
mov r9, qword [rbp + 0x17]
lea rax, [rbp + 0x2f]
mov rdx, qword [rbp - 0x49]
lea r8, section..text
mov rcx, qword [rbp - 0x41]
mov qword [rsp + 0x20], rax
call fcn.140004c30
mov ebx, eax
test eax, eax
je 0x14000495f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x67
mov dword [rsp + 0x20], ebx
mov rcx, rax
lea r8, str.C:UsersArnaud_source_repos_test_testinjection.c
lea rdx, str._____NtWriteVirtualMemory____s:_d__failed__error:_0x_lx_n
call fcn.140004210
mov esi, r15d
jmp 0x140004a8d
mov r8, qword [rbp + 0x2f]
lea rcx, str.____0x_p___RW___wrote__zu_bytes_to_the_allocated_buffer__n
mov rdx, qword [rbp - 0x49]
call fcn.140004260
mov rcx, qword [rbp - 0x41]
lea rax, [rbp + 0x27]
mov r9d, 0x20
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x17]
lea rdx, [rbp - 0x49]
call fcn.140004c40
mov ebx, eax
test eax, eax
je 0x1400049cc
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x6e
mov dword [rsp + 0x20], ebx
mov rcx, rax
lea r8, str.C:UsersArnaud_source_repos_test_testinjection.c
lea rdx, str._____NtProtectVirtualMemory____s:_d__failed__error:_0x_lx_n
call fcn.140004210
mov esi, r15d
jmp 0x140004a8d
mov rdx, qword [rbp - 0x49]
lea rcx, str.____0x_p___R_X__changed_allocated_buffer_protection_to_PAGE_EXECUTE_READ__R_X___n
call fcn.140004260
mov rax, qword [rbp - 0x49]
lea r8, [rbp - 0x21]
mov r9, qword [rbp - 0x41]
lea rcx, [rbp - 0x39]
mov qword [rsp + 0x50], r15
mov edx, 0x1fffff
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call fcn.140004c50
mov ebx, eax
test eax, eax
je 0x140004a4f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x75
mov dword [rsp + 0x20], ebx
mov rcx, rax
lea r8, str.C:UsersArnaud_source_repos_test_testinjection.c
lea rdx, str._____NtCreateThreadEx____s:_d__failed__error:_0x_lx_n
call fcn.140004210
mov esi, r15d
jmp 0x140004a8d
mov rdx, qword [rbp - 0x39]
lea rcx, str.____0x_p__successfully_created_a_thread__n
call fcn.140004260
mov rdx, qword [rbp - 0x39]
lea rcx, str.____0x_p__waiting_for_thread_to_finish_execution..._n
call fcn.140004260
mov rcx, qword [rbp - 0x39]
xor r8d, r8d
xor edx, edx
call fcn.140004c60
mov rdx, qword [rbp - 0x39]
lea rcx, str.____0x_p__thread_finished_execution__beginning_cleanup..._n
call fcn.140004260
cmp qword [rbp - 0x49], r15
je 0x140004aed
mov rcx, qword [rbp - 0x41]
lea r8, [rbp + 0x17]
mov r9d, 0x4000
lea rdx, [rbp - 0x49]
call fcn.140004c70
mov ebx, eax
test eax, eax
je 0x140004add
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x83
mov dword [rsp + 0x20], ebx
mov rcx, rax
lea r8, str.C:UsersArnaud_source_repos_test_testinjection.c
lea rdx, str._____NtFreeVirtualMemory____s:_d__failed__error:_0x_lx_n
call fcn.140004210
jmp 0x140004aed
mov rdx, qword [rbp - 0x49]
lea rcx, str.____0x_p__decommitted_allocated_buffer_from_process_memory_n
call fcn.140004260
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140004b0b
call fcn.140004c80
mov rdx, qword [rbp - 0x39]
lea rcx, str.____0x_p__handle_on_thread_closed_n
call fcn.140004260
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140004b29
call fcn.140004c80
mov rdx, qword [rbp - 0x41]
lea rcx, str.____0x_p__handle_on_process_closed_n
call fcn.140004260
mov eax, esi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140004ca0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret