Function at 0x140002b00
Capabilities:
Create thread

Disassembly:
sub rsp, 0x4c8
mov qword [rsp + 0x478], 0
mov qword [rsp + 0x480], 0
mov qword [rsp + 0x490], 0
mov rax, qword [rsp + 0x490]
mov qword [rsp + 0x488], rax
mov rax, qword [rsp + 0x488]
mov qword [rsp + 0x80], rax
xor eax, eax
mov ecx, eax
call dbg.try_into<usize, u64>
mov rcx, rax
lea r8, str.C_f_
call dbg.core::result::Result<T,E>::unwrap::h0b6698887eed9003
mov rcx, qword [rsp + 0x80]
mov rdx, rax
mov r8d, 0x3000
mov r9d, 4
call sub.KERNEL32.dll_VirtualAlloc
mov rcx, rax
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x388], rcx
call dbg.is_null<core::ffi::c_void>
test al, 1
jne 0x140002bc4
lea rcx, [rsp + 0xc8]
lea rdx, str.___Allocated_memory_to_current_proc._n
mov r8d, 1
call dbg.core::fmt::Arguments::new_const::h292e6be9d688773f
lea rcx, [rsp + 0xc8]
call dbg._print
jmp 0x140002beb
lea rcx, [rsp + 0x98]
lea rdx, str.____Couldnt_allocate_memory_to_current_proc._n
mov r8d, 1
call dbg.core::fmt::Arguments::new_const::h292e6be9d688773f
lea rcx, [rsp + 0x98]
call dbg._print
call dbg.breakpoint
lea rcx, [rsp + 0xf8]
lea rdx, str.___Copying_Shellcode_to_address_in_current_proc._n
mov r8d, 1
call dbg.core::fmt::Arguments::new_const::h292e6be9d688773f
lea rcx, [rsp + 0xf8]
call dbg._print
call dbg.breakpoint
mov rax, qword [rsp + 0x88]
lea rcx, [rsp + 0x97]
mov qword [rsp + 0x4b8], rcx
mov qword [rsp + 0x4c0], 0
lea rcx, [rsp + 0x97]
mov qword [rsp + 0x3c0], rcx
mov qword [rsp + 0x3c8], rax
mov qword [rsp + 0x3d0], 0
lea rcx, [rsp + 0x128]
lea rdx, str.XD_f_
mov r8d, 1
call dbg.core::fmt::Arguments::new_const::h292e6be9d688773f
lea rcx, [rsp + 0x128]
call dbg._print
call dbg.breakpoint
lea rcx, [rsp + 0x158]
lea rdx, str.xD_f_
mov r8d, 1
call dbg.core::fmt::Arguments::new_const::h292e6be9d688773f
lea rcx, [rsp + 0x158]
call dbg._print
mov rcx, qword [rsp + 0x88]
mov dword [rsp + 0x188], 4
xor eax, eax
mov edx, eax
mov r8d, 0x20
lea r9, [rsp + 0x188]
call sub.KERNEL32.dll_VirtualProtect
mov dword [rsp + 0x394], eax
cmp eax, 0
jne 0x140002d5e
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x18c], eax
lea rcx, [rsp + 0x1d0]
mov qword [rsp + 0x68], rcx
lea rdx, [rsp + 0x18c]
call dbg.to_string<u32>
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x448], rcx
lea rax, [sym.__alloc::string::String_as_core::fmt::Display_::fmt::h563a5eae034b14c3]
mov qword [rsp + 0x450], rax
mov qword [rsp + 0x438], rcx
mov qword [rsp + 0x440], rax
mov rax, qword [rsp + 0x438]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x78], rax
jmp 0x140002e97
call dbg.breakpoint
lea rcx, [rsp + 0x1e8]
lea rdx, str.___Calling_CreateThread..._n
mov r8d, 1
call dbg.core::fmt::Arguments::new_const::h292e6be9d688773f
lea rcx, [rsp + 0x1e8]
call dbg._print
mov rax, qword [rsp + 0x88]
mov dword [rsp + 0x21c], 0
mov qword [rsp + 0x3a8], rax
mov qword [rsp + 0x498], 0
mov qword [rsp + 0x4a0], 0
mov qword [rsp + 0x4b0], 0
mov rcx, qword [rsp + 0x4b0]
mov qword [rsp + 0x4a8], rcx
mov rcx, qword [rsp + 0x4a8]
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x458], 0
mov qword [rsp + 0x460], 0
mov qword [rsp + 0x470], 0
mov rax, qword [rsp + 0x470]
mov qword [rsp + 0x468], rax
mov r9, qword [rsp + 0x468]
mov r8, qword [rsp + 0x220]
xor eax, eax
mov edx, eax
xor eax, eax
lea rax, [rsp + 0x21c]
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], rax
call sub.KERNEL32.dll_CreateThread
mov rcx, rax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x3b0], rcx
call dbg.is_null<core::ffi::c_void>
test al, 1
jne 0x140002fa7
jmp 0x140002f1e
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x1c0], rcx
mov qword [rsp + 0x1c8], rax
mov rax, rsp
mov qword [rax + 0x20], 1
lea rdx, str.____Error:__n
lea rcx, [rsp + 0x190]
mov r8d, 2
lea r9, [rsp + 0x1c0]
call dbg.core::fmt::Arguments::new_v1::h88886f944a790b74
jmp 0x140002ee0
lea rcx, [rsp + 0x190]
call dbg._print
jmp 0x140002eef
lea rcx, [rsp + 0x1d0]
call dbg.drop_in_place<alloc::string::String>
mov ecx, 0x100
call dbg.exit
ud2
lea rcx, [rsp + 0x21c]
mov qword [rsp + 0x3e8], rcx
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u32_::fmt::h88a9320d823a9a2a]
mov qword [rsp + 0x3f0], rax
mov qword [rsp + 0x3d8], rcx
mov qword [rsp + 0x3e0], rax
mov rcx, qword [rsp + 0x3d8]
mov rax, qword [rsp + 0x3e0]
mov qword [rsp + 0x2b8], rcx
mov qword [rsp + 0x2c0], rax
lea rcx, [rsp + 0x288]
lea rdx, str.___Thread_Id:
mov r8d, 2
lea r9, [rsp + 0x2b8]
mov qword [rsp + 0x20], 1
call dbg.core::fmt::Arguments::new_v1::h88886f944a790b74
lea rcx, [rsp + 0x288]
call dbg._print
jmp 0x140003015
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x22c], eax
lea rcx, [rsp + 0x270]
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x22c]
call dbg.to_string<u32>
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x428], rcx
lea rax, [sym.__alloc::string::String_as_core::fmt::Display_::fmt::h563a5eae034b14c3]
mov qword [rsp + 0x430], rax
mov qword [rsp + 0x418], rcx
mov qword [rsp + 0x420], rax
mov rax, qword [rsp + 0x418]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x420]
mov qword [rsp + 0x58], rax
jmp 0x14000308d
call dbg.breakpoint
lea rcx, [rsp + 0x2c8]
lea rdx, str._E_f_
mov r8d, 1
call dbg.core::fmt::Arguments::new_const::h292e6be9d688773f
lea rcx, [rsp + 0x2c8]
call dbg._print
mov rcx, qword [rsp + 0x60]
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov dword [rsp + 0x3bc], eax
cmp eax, 0
je 0x1400030f7
jmp 0x140003120
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x260], rcx
mov qword [rsp + 0x268], rax
mov rax, rsp
mov qword [rax + 0x20], 1
lea rdx, [0x1400c4540]
lea rcx, [rsp + 0x230]
mov r8d, 2
lea r9, [rsp + 0x260]
call dbg.core::fmt::Arguments::new_v1::h88886f944a790b74
jmp 0x1400030d6
lea rcx, [rsp + 0x230]
call dbg._print
jmp 0x1400030e5
lea rcx, [rsp + 0x270]
call dbg.drop_in_place<alloc::string::String>
jmp 0x140003015
lea rcx, [rsp + 0x2f8]
lea rdx, str.___Good__n
mov r8d, 1
call dbg.core::fmt::Arguments::new_const::h292e6be9d688773f
lea rcx, [rsp + 0x2f8]
call dbg._print
jmp 0x14000318e
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x32c], eax
lea rcx, [rsp + 0x370]
mov qword [rsp + 0x30], rcx
lea rdx, [rsp + 0x32c]
call dbg.to_string<u32>
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x408], rcx
lea rax, [sym.__alloc::string::String_as_core::fmt::Display_::fmt::h563a5eae034b14c3]
mov qword [rsp + 0x410], rax
mov qword [rsp + 0x3f8], rcx
mov qword [rsp + 0x400], rax
mov rax, qword [rsp + 0x3f8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x400]
mov qword [rsp + 0x40], rax
jmp 0x1400031be
add rsp, 0x4c8
ret
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x360], rcx
mov qword [rsp + 0x368], rax
mov rax, rsp
mov qword [rax + 0x20], 1
lea rdx, [0x1400c4540]
lea rcx, [rsp + 0x330]
mov r8d, 2
lea r9, [rsp + 0x360]
call dbg.core::fmt::Arguments::new_v1::h88886f944a790b74
jmp 0x140003207
lea rcx, [rsp + 0x330]
call dbg._print
jmp 0x140003216
lea rcx, [rsp + 0x370]
call dbg.drop_in_place<alloc::string::String>
jmp 0x14000318e