Function at 0x14004fb60
Capabilities:
Acquire debug privileges
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rsi, rcx
mov qword [rbp - 0x70], rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rax
lea rax, str.SeBackupPrivilege
mov qword [rsp + 0x50], rax
lea rax, str.SeDebugPrivilege
mov qword [rsp + 0x58], rax
lea rax, str.SeSecurityPrivilege
mov qword [rsp + 0x60], rax
lea rax, str.SeRestorePrivilege
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x50]
mov qword [rbp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rbp + 0x48], rax
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.140052ff0
nop
mov rdi, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x48]
cmp rbx, rdi
je 0x14004fc24
nop dword [rax]
xor r9d, r9d
mov rcx, qword [rbx]
call fcn.1400ca170
add rbx, 8
cmp rbx, rdi
jne 0x14004fc10
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r15d, eax
xor edx, edx
mov ecx, eax
call fcn.1400b5990
test al, al
jne 0x14004fcb1
xor edi, edi
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14004fc8e
mov rax, qword [rbp - 0x38]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fc7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400506d4
call fcn.1402ba9fc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x14004fca7
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], rdi
mov eax, 0xe0004006
jmp 0x1400506a4
mov dword [rbp + 0x60], 1
mov dword [rbp + 0x64], 3
mov dword [rbp + 0x68], 7
mov dword [rbp + 0x6c], 0xffffffff
xor edi, edi
mov dword [rbp + 0x70], edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x74], xmm0
mov qword [rbp + 0x84], rdi
mov dword [rbp + 0x8c], edi
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x90]
call fcn.14030b3a0
mov dword [rbp + 0x290], edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
lea r8d, [rdi + 6]
lea rdx, str.Local_
lea rcx, [rsp + 0x50]
call fcn.140031e00
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
xor r8d, r8d
lea rdx, [0x14041a6b8]
lea rcx, [rsp + 0x70]
call fcn.140031e00
nop
lea r12, vtable.mb::common::system::ScopedAny_void____ptr64__int____cdecl___void____ptr64___int___cdecl_CloseHandle_void____ptr64___2__0__0_.0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x28], rdi
lea r13, vtable.mb::common::system::ScopedAny_struct_IPC_SERVICECONTROL____ptr64__int____cdecl___void_const____ptr64___int___cdecl_UnmapViewOfFile_void_const____ptr64___0__0__4_.0
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x18], rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rdi
mov qword [rbp + 8], rdi
mov qword [rbp], rdi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], di
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x10]
call fcn.140031cb0
nop
mov qword [rbp + 0x30], rdi
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
movdqa xmm0, xmmword [0x140445990]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], di
cmp qword [rsp + 0x60], rdi
je 0x14004fe28
lea r8, [rbp + 0x40]
mov edx, r15d
lea rcx, [rbp - 0x30]
call fcn.140020250
test al, al
je 0x14004fe28
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.1400a2f80
nop
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.14002eb40
nop
lea rcx, [rbp - 0x68]
call fcn.1400166f0
nop
lea rcx, [rbp + 0x40]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x70]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x50]
call fcn.1400166f0
lea rcx, [rbp - 0x20]
mov rax, qword [rbp - 0x20]
call qword [rax]
mov qword [rbp - 0x18], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x30]
call qword [rax]
mov qword [rbp - 0x28], rdi
cmp qword [rbp], 0
jne 0x14004fec1
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x140050013
mov rax, qword [rcx]
mov r10, qword [rax + 0x18]
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rax, qword [rbp + 0x10]
lea rdx, str.Invalid_mapping_name
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r9d, reloc.WS2_32.dll_WSACleanup
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesmbcommon_vs2022.4.2.0.85_build_nativeincludeIPCMapping.h
lea rdx, str.mb::common::ipc::IPCMapping_struct_IPC_SERVICECONTROL_::CreateMappingCommon
call r10
jmp 0x140050013
lea r8, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova r8, qword [rbp - 0x10]
xor edx, edx
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rbx, rax
lea rcx, [rbp - 0x30]
mov rdx, qword [rbp - 0x30]
call qword [rdx]
mov qword [rbp - 0x28], rbx
lea rcx, [rbx + 1]
test rcx, 0xfffffffffffffffe
jne 0x14004ff67
mov r14, qword [rbp + 0x30]
test r14, r14
je 0x140050013
mov rax, qword [r14]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rdx, qword [rbp + 0x10]
mov dword [rsp + 0x40], eax
lea rax, str.opening
mov qword [rsp + 0x38], rax
lea rax, str.Error__ls_IPC_mapping._Error__u
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 2
mov r9d, 0x7d
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesmbcommon_vs2022.4.2.0.85_build_nativeincludeIPCMapping.h
lea rdx, str.mb::common::ipc::IPCMapping_struct_IPC_SERVICECONTROL_::CreateMappingCommon
mov rcx, r14
call rbx
jmp 0x140050013
mov qword [rsp + 0x20], 0x234
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
lea rcx, [rbp - 0x20]
mov rdx, qword [rbp - 0x20]
call qword [rdx]
mov qword [rbp - 0x18], rbx
test rbx, rbx
jne 0x1400500cf
mov r14, qword [rbp + 0x30]
test r14, r14
je 0x14004fff7
mov rax, qword [r14]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rdx, qword [rbp + 0x10]
mov dword [rsp + 0x38], eax
lea rax, str.Error_mapping_view_of_IPC_mapping._Error__u
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 2
mov r9d, 0x85
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesmbcommon_vs2022.4.2.0.85_build_nativeincludeIPCMapping.h
lea rdx, str.mb::common::ipc::IPCMapping_struct_IPC_SERVICECONTROL_::CreateMappingCommon
mov rcx, r14
call rbx
lea rcx, [rbp - 0x20]
mov rax, qword [rbp - 0x20]
call qword [rax]
mov qword [rbp - 0x18], rdi
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x30]
call qword [rax]
mov qword [rbp - 0x28], rdi
lea rcx, [rbp + 0x10]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x10]
call fcn.1400166f0
nop
mov qword [rbp - 0x20], r13
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14005003a
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x30], r12
mov rcx, qword [rbp - 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140050056
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], rdi
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400500ac
mov rax, qword [rbp - 0x38]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005009b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400506d4
call fcn.1402ba9fc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400500c5
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], rdi
mov eax, 0xe0004002
jmp 0x1400506a4
lea rcx, [rbp + 0x60]
mov r14d, 4
mov eax, r14d
nop dword [rax]
movups xmm0, xmmword [rbx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rbx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rbx, [rbx + 0x80]
sub rax, 1
jne 0x1400500e0
movups xmm0, xmmword [rbx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rcx + 0x20], xmm0
mov eax, dword [rbx + 0x30]
mov dword [rcx + 0x30], eax
mov ecx, r15d
call fcn.1400b3650
cmp dword [rbp + 0x8c], eax
je 0x14005021e
lea rcx, [rbp + 0x10]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x10]
call fcn.1400166f0
nop
mov qword [rbp - 0x20], r13
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140050189
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x30], r12
mov rcx, qword [rbp - 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400501a5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], rdi
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400501fb
mov rax, qword [rbp - 0x38]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400501ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400506d4
call fcn.1402ba9fc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x140050214
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], rdi
mov eax, 0xe0004003
jmp 0x1400506a4
lea rcx, [rbp + 0x60]
call fcn.140038510
test al, al
jne 0x1400502eb
lea rcx, [rbp + 0x10]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x10]
call fcn.1400166f0
nop
mov qword [rbp - 0x20], r13
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140050256
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x30], r12
mov rcx, qword [rbp - 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140050272
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], rdi
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400502c8
mov rax, qword [rbp - 0x38]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400502b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400506d4
call fcn.1402ba9fc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400502e1
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], rdi
mov eax, 0xe0004004
jmp 0x1400506a4
mov edx, 1
mov ecx, dword [rbp + 0x8c]
call fcn.1400b5990
test al, al
jne 0x140050406
call fcn.14001e910
mov rcx, qword [rax]
mov r10, qword [rcx + 0x18]
lea rcx, str.Invalid_signature
mov qword [rsp + 0x30], rcx
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r9d, 0xfa
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeChildInstance.h
lea rdx, [0x14041a6b8]
mov rcx, rax
call r10
nop
lea rcx, [rbp + 0x10]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x10]
call fcn.1400166f0
nop
mov qword [rbp - 0x20], r13
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140050371
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x30], r12
mov rcx, qword [rbp - 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005038d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], rdi
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400503e3
mov rax, qword [rbp - 0x38]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400503d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400506d4
call fcn.1402ba9fc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400503fc
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], rdi
mov eax, 0xe0004005
jmp 0x1400506a4
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400506da
mov rax, qword [rcx]
lea rdx, [rbp + 0x60]
call qword [rax + reloc.WS2_32.dll_recv]
mov dword [rbp + 0x6c], eax
mov rcx, qword [rbp - 0x18]
test rcx, rcx
jne 0x14005057e
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14005047b
mov rax, qword [rcx]
mov r10, qword [rax + 0x18]
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rax, qword [rbp + 0x10]
lea rdx, str.Not_initialized
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x65
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesmbcommon_vs2022.4.2.0.85_build_nativeincludeIPCMapping.h
lea rdx, str.mb::common::ipc::IPCMapping_struct_IPC_SERVICECONTROL_::SetStruct
call r10
call fcn.14001e910
mov rcx, qword [rax]
mov r10, qword [rcx + 0x18]
lea rcx, str.Unable_to_write_section
mov qword [rsp + 0x30], rcx
lea rcx, str.Sledgehammer
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r9d, 0x105
lea r8, str.D:JenkinsworkspaceA_MBAM3_UPDATEREXE_srcPackagesSledgehammer.5.1.0.94_build_nativeincludeChildInstance.h
lea rdx, [0x14041a6b8]
mov rcx, rax
call r10
nop
lea rcx, [rbp + 0x10]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x10]
call fcn.1400166f0
nop
mov qword [rbp - 0x20], r13
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400504e9
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x30], r12
mov rcx, qword [rbp - 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140050505
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], rdi
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14005055b
mov rax, qword [rbp - 0x38]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005054a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400506d4
call fcn.1402ba9fc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x140050574
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], rdi
mov eax, 0xe0004000
jmp 0x1400506a4
lea rax, [rbp + 0x60]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub r14, 1
jne 0x140050582
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
mov eax, dword [rax + 0x30]
mov dword [rcx + 0x30], eax
mov ebx, dword [rbp + 0x6c]
lea rcx, [rbp + 0x10]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x10]
call fcn.1400166f0
nop
mov qword [rbp - 0x20], r13
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14005061a
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x30], r12
mov rcx, qword [rbp - 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140050636
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], rdi
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140050688
mov rax, qword [rbp - 0x38]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050677
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400506d4
call fcn.1402ba9fc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400506a2
mov r8, qword [rcx]
cmp rcx, rsi
setne dl
call qword [r8 + 0x20]
mov qword [rsi + 0x38], rdi
mov eax, ebx
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1402ba9b0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1402caabc
nop
call fcn.1402b93ec
int3