Function at 0x1400500eb
Capabilities:
Create thread

Disassembly:
jmp 0x140057310
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x288]
mov rax, qword [0x1402ea040]
xor rax, rbp
mov qword [rbp + 0x220], rax
lea rcx, [0x1402f10fa]
call fcn.14005094c
nop
cmp qword [rbp + 0x250], 0
jne 0x140057393
lea rdx, str.Unable_to_read_file_content.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140050113
lea rdx, [0x1400f3ef4]
mov rcx, rax
call fcn.140050113
nop
xor al, al
jmp 0x1400577e8
mov edx, dword [rbp + 0x258]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140D.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]
lea rdx, [0x1400f3ef4]
mov rcx, rax
call fcn.140050113
nop
mov rdx, qword [rbp + 0x258]
mov rcx, qword [rbp + 0x250]
call fcn.14005088e
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140057448
lea rdx, str.Unable_to_allocate_memory.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140050113
lea rdx, [0x1400f3ef4]
mov rcx, rax
call fcn.140050113
nop
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0x188], rax
mov rcx, qword [rbp + 0x188]
call fcn.140050497
cmp qword [rbp + 0x188], 0
jne 0x140057428
mov qword [rbp + 0x218], 0
jmp 0x140057441
mov qword [rbp + 0x250], 0x8123
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0x218], rax
xor al, al
jmp 0x1400577e8
lea r8, [rbp + 0x48]
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.14005020d
nop
mov rcx, qword [rbp + 0x48]
call fcn.14005021c
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x1400574f9
lea rdx, str.Unable_to_allocate_base_address.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140050113
lea rdx, [0x1400f3ef4]
mov rcx, rax
call fcn.140050113
nop
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0x1a8], rax
mov rcx, qword [rbp + 0x1a8]
call fcn.140050497
cmp qword [rbp + 0x1a8], 0
jne 0x1400574c6
mov qword [rbp + 0x218], 0
jmp 0x1400574df
mov qword [rbp + 0x250], 0x8123
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0x218], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
xor al, al
jmp 0x1400577e8
mov r8, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 8]
call fcn.14005016d
nop
mov r9, qword [rbp + 0x48]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x68]
call fcn.1400508f7
nop
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x48]
call fcn.14005015e
movzx eax, al
test eax, eax
jne 0x1400575d3
lea rdx, str.Failed_to_fix_imports.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140050113
lea rdx, [0x1400f3ef4]
mov rcx, rax
call fcn.140050113
nop
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0x1c8], rax
mov rcx, qword [rbp + 0x1c8]
call fcn.140050497
cmp qword [rbp + 0x1c8], 0
jne 0x14005758d
mov qword [rbp + 0x218], 0
jmp 0x1400575a6
mov qword [rbp + 0x250], 0x8123
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0x218], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
xor al, al
jmp 0x1400577e8
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x68]
call fcn.140050771
nop
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x218], rax
lea rdx, str.Creating_thread_in:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140050113
lea rdx, [0x140050893]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, qword [rbp + 0x218]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
lea rdx, [0x1400f3ef4]
mov rcx, rax
call fcn.140050113
nop
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 0x68]
add rcx, rax
mov rax, rcx
lea rcx, [rbp + 0x84]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140057723
lea rdx, str.Error_occurred_during_thread_creation_
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140050113
lea rdx, [0x1400f3ef4]
mov rcx, rax
call fcn.140050113
nop
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0x1e8], rax
mov rcx, qword [rbp + 0x1e8]
call fcn.140050497
cmp qword [rbp + 0x1e8], 0
jne 0x1400576dd
mov qword [rbp + 0x218], 0
jmp 0x1400576f6
mov qword [rbp + 0x250], 0x8123
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0x218], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
xor al, al
jmp 0x1400577e8
lea rdx, str.Thread_Created_with_ID:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140050113
mov edx, dword [rbp + 0x84]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x1400f3ef4]
mov rcx, rax
call fcn.140050113
nop
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0x208], rax
mov rcx, qword [rbp + 0x208]
call fcn.140050497
cmp qword [rbp + 0x208], 0
jne 0x1400577a7
mov qword [rbp + 0x218], 0
jmp 0x1400577c0
mov qword [rbp + 0x250], 0x8123
mov rax, qword [rbp + 0x250]
mov qword [rbp + 0x218], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400f3400]
call fcn.1400507c6
mov rax, rdi
mov rcx, qword [rbp + 0x220]
xor rcx, rbp
call fcn.1400504a6
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret