Function at 0x140047f30
Capabilities:
Allocate or change rwx memory

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x30], rax
call fcn.140047ed0
cmp byte [rax], 0xfc
jne 0x1400480cc
mov rdi, rax
cmp byte [rdi + 1], 0x48
jne 0x1400480cc
mov rsi, rdi
cmp byte [rdi + 2], 0x8b
jne 0x1400480cc
cmp byte [rsi + 3], 5
jne 0x1400480cc
lea rdx, str.NaClPatchWindowsExceptionDispatcherWithCheck:_Got_instructions_expected_for_Windows_Vista_and_Windows_7_n
mov ecx, 2
call fcn.1400c46f0
lea rdx, [rdi + 0x60000000]
lea rcx, [rdi - 0x60000000]
call fcn.140047de0
mov r14, rax
test rax, rax
jne 0x140047fbb
lea rdx, str.NaClPatchWindowsExceptionDispatcherWithCheck:_AllocatePageInRange___failed_n
mov ecx, 0xfffffffc
call fcn.1400c46f0
mov edx, 0x10000
mov rcx, r14
call fcn.140047a60
lea r15, [0x140048b20]
lea r12, [0x140048b48]
sub r12, r15
mov rcx, r14
mov rdx, r15
mov r8, r12
call fcn.140193590
lea rbx, [0x140048b28]
sub rbx, r15
cmp dword [r14 + rbx + 1], 0x12345678
je 0x140048026
lea rax, str.reloc_addr__0x12345678
mov qword [rsp + 0x20], rax
lea rdx, str.Fatal_error_in_file__s__line__d:____s__n
lea r8, str..._.._native_client_src_trusted_service_runtime_win_exception_patch_ntdll_patch.c
mov ecx, 0xfffffffc
mov r9d, 0xe8
call fcn.1400c46f0
mov eax, dword [0x14034d688]
mov dword [r14 + rbx + 1], eax
lea rax, [r14 + r12]
mov rcx, qword [rsi]
mov qword [r14 + r12], rcx
movsxd rcx, dword [r14 + r12 + 4]
mov rbx, rdi
sub rbx, rax
add rbx, rcx
mov dword [r14 + r12 + 4], ebx
movsxd rcx, ebx
add rax, rcx
add rax, 4
movsxd rcx, dword [rsi + 4]
add rcx, rdi
add rcx, 4
cmp rax, rcx
je 0x140048093
lea rax, str._uintptr_t__new_operand__new_operand___uintptr_t__old_operand__old_operand
mov qword [rsp + 0x20], rax
lea rdx, str.Fatal_error_in_file__s__line__d:____s__n
lea r8, str..._.._native_client_src_trusted_service_runtime_win_exception_patch_ntdll_patch.c
mov ecx, 0xfffffffc
mov r9d, 0x7d
call fcn.1400c46f0
cmp rbx, 0x7ffffeff
jge 0x1400480f9
cmp rbx, 0xffffffff80000100
jg 0x140048123
lea rax, str.new_displacement___INT32_MIN__0x100
mov qword [rsp + 0x20], rax
lea rdx, str.Fatal_error_in_file__s__line__d:____s__n
lea r8, str..._.._native_client_src_trusted_service_runtime_win_exception_patch_ntdll_patch.c
mov ecx, 0xfffffffc
mov r9d, 0x84
jmp 0x14004811e
lea rdx, str.NaClPatchWindowsExceptionDispatcherWithCheck:_Unexpected_start_instructions_n
xor esi, esi
xor ecx, ecx
call fcn.1400c46f0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140190ca0
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, str.new_displacement___INT32_MAX___0x100
mov qword [rsp + 0x20], rax
lea rdx, str.Fatal_error_in_file__s__line__d:____s__n
lea r8, str..._.._native_client_src_trusted_service_runtime_win_exception_patch_ntdll_patch.c
mov ecx, 0xfffffffc
mov r9d, 0x83
call fcn.1400c46f0
lea rcx, [r14 + r12]
add rcx, 8
lea rdx, [rdi + 8]
call fcn.140048210
lea r9, [rsp + 0x2c]
mov edx, 0x10000
mov rcx, r14
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140048162
lea rdx, str.NaClPatchWindowsExceptionDispatcherWithCheck:_VirtualProtect___failed_to_make_our_intercept_routine_executable_n
mov ecx, 0xfffffffc
call fcn.1400c46f0
lea r9, [rsp + 0x2c]
mov edx, 6
mov rcx, rsi
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140048190
lea rdx, str.NaClPatchWindowsExceptionDispatcherWithCheck:_VirtualProtect___failed_to_make_the_routine_writable_n
mov ecx, 0xfffffffc
call fcn.1400c46f0
inc rdi
cmp byte [rsi], 0xfc
je 0x1400481c2
lea rax, str.ntdll_routine_0___0xfc
mov qword [rsp + 0x20], rax
lea rdx, str.Fatal_error_in_file__s__line__d:____s__n
lea r8, str..._.._native_client_src_trusted_service_runtime_win_exception_patch_ntdll_patch.c
mov ecx, 0xfffffffc
mov r9d, 0x10c
call fcn.1400c46f0
mov rcx, rdi
mov rdx, r14
call fcn.140048210
lea r9, [rsp + 0x2c]
mov r8d, dword [r9]
mov edx, 6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, 1
test eax, eax
jne 0x1400480dc
lea rdx, str.NaClPatchWindowsExceptionDispatcherWithCheck:_VirtualProtect___failed_to_restore_page_permissions_n
mov ecx, 0xfffffffc
jmp 0x1400480d7