Function at 0x18000e080
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x1800530b8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x38], rax
mov r8d, 0x40
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.180015b40
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rsp + 0xe0]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x18000e121
cmp qword [rsp + 0x70], 0x40
jae 0x18000e17d
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [rsp + 0x38]
add rcx, 0x40
mov r9d, eax
mov r8, rcx
mov rdx, qword [rsp + 0x38]
lea rcx, [0x18003d518]
call fcn.18000bf90
cmp qword [rsp + 0x50], 0
je 0x18000e171
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.180013324
mov qword [rsp + 0x50], 0
mov eax, dword [rsp + 0x90]
jmp 0x18000edef
mov r8d, 0x108
xor edx, edx
lea rcx, [rsp + 0x120]
call fcn.180015b40
movsxd rax, dword [rsp + 0x11c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x108
lea r8, [rsp + 0x120]
mov rdx, rax
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x18000e1dc
cmp qword [rsp + 0x70], 0x108
jae 0x18000e220
call sub.KERNEL32.dll_GetLastError
movsxd rcx, dword [rsp + 0x11c]
mov rdx, qword [rsp + 0x38]
lea rcx, [rdx + rcx + 0x108]
movsxd rdx, dword [rsp + 0x11c]
mov r8, qword [rsp + 0x38]
add r8, rdx
mov rdx, r8
mov r9d, eax
mov r8, rcx
lea rcx, [0x18003d548]
call fcn.18000bf90
jmp 0x18000e146
movzx eax, word [rsp + 0x138]
cmp eax, 0x20b
je 0x18000e25a
movzx eax, word [rsp + 0x138]
mov r8d, 0x20b
mov edx, eax
lea rcx, str.Wrong_size_image___04x____04x_._n
call fcn.18000bf90
mov ecx, 9
call sub.KERNEL32.dll_SetLastError
jmp 0x18000e146
mov eax, 8
imul rax, rax, 0xb
mov dword [rsp + rax + 0x1a8], 0
mov eax, 8
imul rax, rax, 0xb
mov dword [rsp + rax + 0x1ac], 0
movzx eax, word [rsp + 0x134]
mov ecx, dword [rsp + 0x11c]
lea eax, [rcx + rax + 0x18]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x48], 0
jmp 0x18000e2ad
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
movzx eax, word [rsp + 0x126]
cmp dword [rsp + 0x48], eax
jae 0x18000e41a
mov r8d, 0x28
xor edx, edx
lea rcx, [rsp + 0x230]
call fcn.180015b40
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x48]
imul rcx, rcx, 0x28
add rax, rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x28
lea r8, [rsp + 0x230]
mov rdx, rax
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x18000e322
cmp qword [rsp + 0x70], 0x28
jae 0x18000e377
call sub.KERNEL32.dll_GetLastError
mov ecx, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x48]
inc edx
mov edx, edx
imul rdx, rdx, 0x28
add rcx, rdx
mov edx, dword [rsp + 0x68]
mov r8, qword [rsp + 0x38]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp + 0x48]
imul r8, r8, 0x28
add rdx, r8
mov r9d, eax
mov r8, rcx
lea rcx, [0x18003d5a0]
call fcn.18000bf90
jmp 0x18000e146
mov r9d, dword [rsp + 0x240]
mov r8d, dword [rsp + 0x23c]
mov edx, dword [rsp + 0x48]
lea rcx, str.ish__lu__:_va_08lx_sr_lu_n
call fcn.18000bf90
mov eax, 8
imul rax, rax, 0xc
cmp dword [rsp + rax + 0x1a8], 0
jne 0x18000e415
mov eax, 8
imul rax, rax, 1
mov ecx, dword [rsp + 0x23c]
cmp dword [rsp + rax + 0x1a8], ecx
jb 0x18000e415
mov eax, 8
imul rax, rax, 1
mov ecx, dword [rsp + 0x240]
mov edx, dword [rsp + 0x23c]
add edx, ecx
mov ecx, edx
cmp dword [rsp + rax + 0x1a8], ecx
jae 0x18000e415
mov eax, 8
imul rax, rax, 0xc
mov ecx, dword [rsp + 0x23c]
mov dword [rsp + rax + 0x1a8], ecx
mov eax, 8
imul rax, rax, 0xc
mov ecx, dword [rsp + 0x240]
mov dword [rsp + rax + 0x1ac], ecx
jmp 0x18000e2a3
mov eax, 8
imul rax, rax, 1
cmp dword [rsp + rax + 0x1a8], 0
je 0x18000e534
mov eax, 8
imul rax, rax, 1
cmp dword [rsp + rax + 0x1ac], 0
jne 0x18000e534
mov eax, 8
imul rax, rax, 1
mov eax, dword [rsp + rax + 0x1a8]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x14
lea r8, [rsp + 0x258]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
jne 0x18000e4b3
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, str.ReadProcessMemory_failed:__lu_n
call fcn.18000bf90
jmp 0x18000e146
mov eax, 8
imul rax, rax, 1
mov eax, dword [rsp + rax + 0x1ac]
add rax, 0x14
mov ecx, 8
imul rcx, rcx, 1
mov dword [rsp + rcx + 0x1ac], eax
cmp dword [rsp + 0x264], 0
jne 0x18000e4e3
jmp 0x18000e502
mov rax, qword [rsp + 0xb0]
add rax, 0x14
mov qword [rsp + 0xb0], rax
xor eax, eax
cmp eax, 1
jne 0x18000e46b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x88], eax
lea rcx, str._This_PE_file_has_an_import_table__but_the_import_table_size_is_marked_as_0._This_is_an_error.If_it_is_not_repaired__the_launched_program_will_not_work_properly__Detours_has_automatically_repaired_its_import_table_size_for_you_______r_n
call sub.KERNEL32.dll_OutputDebugStringA
call sub.KERNEL32.dll_GetLastError
cmp eax, dword [rsp + 0x88]
je 0x18000e534
mov ecx, dword [rsp + 0x88]
call sub.KERNEL32.dll_SetLastError
mov eax, 8
imul rax, rax, 1
mov eax, dword [rsp + rax + 0x1a8]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 1
mov ecx, dword [rsp + rcx + 0x1ac]
add rax, rcx
mov ecx, 8
imul rcx, rcx, 1
mov ecx, dword [rsp + rcx + 0x1a8]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov r8, rax
mov rdx, rcx
lea rcx, str._____Imports:__p.._p_n
call fcn.18000bf90
mov eax, 8
imul rax, rax, 1
mov eax, dword [rsp + rax + 0x1ac]
xor edx, edx
mov ecx, 0x14
div rcx
mov dword [rsp + 0x6c], eax
lea r8, [rsp + 0xa0]
mov edx, dword [rsp + 0x2a8]
mov ecx, 0x14
call fcn.18000d950
test eax, eax
je 0x18000e5db
lea rcx, str.too_many_new_DLLs._n
call fcn.18000bf90
jmp 0x18000e146
mov eax, dword [rsp + 0x6c]
imul rax, rax, 0x14
lea r8, [rsp + 0x8c]
mov edx, eax
mov ecx, dword [rsp + 0xa0]
call fcn.18000d8a0
test eax, eax
je 0x18000e60e
lea rcx, str.DLL_entries_overflow._n
call fcn.18000bf90
jmp 0x18000e146
mov ecx, dword [rsp + 0x8c]
call fcn.18000c9c0
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x8c]
cmp dword [rsp + 0x60], eax
jae 0x18000e63c
lea rcx, str.DLL_entries_padding_overflow._n
call fcn.18000bf90
jmp 0x18000e146
lea r8, [rsp + 0xa4]
mov edx, dword [rsp + 0x2a8]
mov ecx, 0x20
call fcn.18000d950
test eax, eax
je 0x18000e66a
lea rcx, str.String_table_overflow._n
call fcn.18000bf90
jmp 0x18000e146
lea r8, [rsp + 0xa8]
mov edx, dword [rsp + 0xa4]
mov ecx, dword [rsp + 0x60]
call fcn.18000d8a0
test eax, eax
je 0x18000e697
lea rcx, str.Import_table_size_overflow_n
call fcn.18000bf90
jmp 0x18000e146
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x30], 0
jmp 0x18000e6be
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2a8]
cmp dword [rsp + 0x30], eax
jae 0x18000e710
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
mov rcx, qword [rcx + rax*8]
call fcn.18001fc90
inc eax
mov ecx, eax
call fcn.18000c9b0
lea r8, [rsp + 0x44]
mov edx, eax
mov ecx, dword [rsp + 0x44]
call fcn.18000d8a0
test eax, eax
je 0x18000e70e
lea rcx, str.Overflow_adding_string_table_entry_n
call fcn.18000bf90
jmp 0x18000e146
jmp 0x18000e6b4
mov eax, dword [rsp + 0x44]
mov ecx, eax
call fcn.18001332c
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x18000e749
lea rcx, str.new_BYTE__cbNew__failed._n
call fcn.18000bf90
jmp 0x18000e146
mov eax, dword [rsp + 0x44]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.180015b40
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x14c]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x13c]
add rax, rcx
mov ecx, dword [rsp + 0x140]
add rax, rcx
mov ecx, dword [rsp + 0x144]
add rax, rcx
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0x98], rax
jae 0x18000e7c6
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, str.pbBase___p_n
call fcn.18000bf90
mov r9d, dword [rsp + 0x44]
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x290]
call fcn.18000c4a0
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x18000e81d
lea rcx, str.FindAndAllocateNearBase_failed._n
call fcn.18000bf90
jmp 0x18000e146
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xb8]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x64], 0
mov eax, 8
imul rax, rax, 1
cmp dword [rsp + rax + 0x1a8], 0
je 0x18000e8fd
mov edx, dword [rsp + 0x64]
lea rcx, str.IMPORT_DIRECTORY_perms_lx_n
call fcn.18000bf90
mov eax, dword [rsp + 0x6c]
imul rax, rax, 0x14
mov ecx, dword [rsp + 0x2a8]
imul rcx, rcx, 0x14
mov rdx, qword [rsp + 0x80]
add rdx, rcx
mov rcx, rdx
mov edx, 8
imul rdx, rdx, 1
mov edx, dword [rsp + rdx + 0x1a8]
mov r8, qword [rsp + 0x38]
add r8, rdx
mov rdx, r8
lea r8, [rsp + 0x70]
mov qword [rsp + 0x20], r8
mov r9, rax
mov r8, rcx
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x18000e8e5
mov eax, dword [rsp + 0x6c]
imul rax, rax, 0x14
cmp qword [rsp + 0x70], rax
jae 0x18000e8fd
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, str.ReadProcessMemory_imports__failed:__lu_n
call fcn.18000bf90
jmp 0x18000e146
mov dword [rsp + 0x30], 0
jmp 0x18000e911
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2a8]
cmp dword [rsp + 0x30], eax
jae 0x18000eb4c
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x40]
mov edx, dword [rsp + 0x44]
sub edx, ecx
mov ecx, edx
mov ecx, ecx
mov edx, dword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0xd8], rdx
mov r8, qword [rsp + 0x2a0]
mov r8, qword [r8 + rax*8]
mov edx, ecx
mov rax, qword [rsp + 0xd8]
mov rcx, rax
call fcn.18000d050
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jge 0x18000e989
mov edx, dword [rsp + 0x58]
lea rcx, [0x18003d870]
call fcn.18000bf90
jmp 0x18000e146
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov ecx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
add rdx, rcx
mov rcx, rdx
lea r8, [0x18003d20c]
mov edx, eax
call fcn.18000ce30
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jge 0x18000e9d4
mov edx, dword [rsp + 0x58]
lea rcx, str.ReplaceOptionalSizeA_failed:__08lx_n
call fcn.18000bf90
jmp 0x18000e146
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x30]
shl ecx, 2
mov ecx, ecx
lea rax, [rax + rcx*8]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x14
mov rdx, qword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
movabs rdx, 0x8000000000000001
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x78]
mov qword [rcx + rax], 0
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x30]
lea ecx, [rcx*4 + 2]
mov ecx, ecx
lea rax, [rax + rcx*8]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x14
mov rdx, qword [rsp + 0x80]
mov dword [rdx + rcx + 0x10], eax
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
movabs rdx, 0x8000000000000001
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x78]
mov qword [rcx + rax], 0
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x80]
mov dword [rcx + rax + 4], 0
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x80]
mov dword [rcx + rax + 8], 0
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x14
mov rdx, qword [rsp + 0x80]
mov dword [rdx + rcx + 0xc], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
mov rcx, qword [rcx + rax*8]
call fcn.18001fc90
inc eax
mov ecx, eax
call fcn.18000c9b0
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x18000e907
mov eax, dword [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
jne 0x18000eb92
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, str.WriteProcessMemory_iid__failed:__lu_n
call fcn.18000bf90
jmp 0x18000e146
mov eax, 8
imul rax, rax, 1
mov ecx, 8
imul rcx, rcx, 1
mov eax, dword [rsp + rax + 0x1a8]
add eax, dword [rsp + rcx + 0x1ac]
mov ecx, 8
imul rcx, rcx, 1
mov r8d, eax
mov edx, dword [rsp + rcx + 0x1a8]
lea rcx, str.obBaseBef___08lx.._08lx_n
call fcn.18000bf90
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov r8d, eax
mov edx, dword [rsp + 0x4c]
lea rcx, str.obBaseAft___08lx.._08lx_n
call fcn.18000bf90
mov eax, 8
imul rax, rax, 0xc
cmp dword [rsp + rax + 0x1a8], 0
jne 0x18000ec2b
mov eax, 8
imul rax, rax, 0xc
mov ecx, dword [rsp + 0x4c]
mov dword [rsp + rax + 0x1a8], ecx
mov eax, 8
imul rax, rax, 0xc
mov ecx, dword [rsp + 0x44]
mov dword [rsp + rax + 0x1ac], ecx
mov eax, 8
imul rax, rax, 1
mov ecx, dword [rsp + 0x4c]
mov dword [rsp + rax + 0x1a8], ecx
mov eax, 8
imul rax, rax, 1
mov ecx, dword [rsp + 0x44]
mov dword [rsp + rax + 0x1ac], ecx
mov eax, dword [rsp + 0x174]
lea rcx, [rsp + 0x64]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x290]
call fcn.18000bea0
test eax, eax
jne 0x18000ec9b
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, str.VirtualProtectEx_inh__write_failed:__lu_n
call fcn.18000bf90
jmp 0x18000e146
mov dword [rsp + 0x178], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rsp + 0xe0]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
jne 0x18000eceb
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, [0x18003d950]
call fcn.18000bf90
jmp 0x18000e146
mov rax, qword [rsp + 0x38]
add rax, 0x40
mov r8, rax
mov rdx, qword [rsp + 0x38]
lea rcx, str.WriteProcessMemory_idh:_p.._p__n
call fcn.18000bf90
movsxd rax, dword [rsp + 0x11c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 0x108
lea r8, [rsp + 0x120]
mov rdx, rax
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
jne 0x18000ed5e
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, str.WriteProcessMemory_inh__failed:__lu_n
call fcn.18000bf90
jmp 0x18000e146
movsxd rax, dword [rsp + 0x11c]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x108]
movsxd rcx, dword [rsp + 0x11c]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov r8, rax
mov rdx, rcx
lea rcx, str.WriteProcessMemory_inh:_p.._p__n
call fcn.18000bf90
mov eax, dword [rsp + 0x174]
lea rcx, [rsp + 0x64]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x64]
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_VirtualProtectEx
test eax, eax
jne 0x18000eddf
call sub.KERNEL32.dll_GetLastError
mov edx, eax
lea rcx, str.VirtualProtectEx_idh__restore_failed:__lu_n
call fcn.18000bf90
jmp 0x18000e146
mov dword [rsp + 0x90], 1
jmp 0x18000e146
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180013440
add rsp, 0x288
ret