Function at 0x140035cf0
Capabilities:
Acquire debug privileges

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2d8]
sub rsp, 0x3b0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rdi, rcx
mov qword [rbp - 0x78], rcx
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
lea rax, str.SeBackupPrivilege
mov qword [rsp + 0x40], rax
lea rax, str.SeDebugPrivilege
mov qword [rsp + 0x48], rax
lea rax, str.SeSecurityPrivilege
mov qword [rsp + 0x50], rax
lea rax, str.SeRestorePrivilege
mov qword [rsp + 0x58], rax
xor r12d, r12d
mov qword [rbp - 0x50], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.140043230
nop
mov esi, r12d
mov rbx, qword [rbp - 0x50]
mov r15, qword [rbp - 0x48]
sub r15, rbx
add r15, 7
shr r15, 3
cmp rbx, qword [rbp - 0x48]
cmova r15, r12
mov r14, rbx
test r15, r15
je 0x140035dd7
nop dword [rax]
xor r9d, r9d
mov rcx, qword [r14]
call fcn.14009a1d0
lea r14, [r14 + 8]
inc rsi
cmp rsi, r15
jne 0x140035dc0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r14d, eax
xor edx, edx
mov ecx, eax
call fcn.140094930
test al, al
jne 0x140035e61
test rbx, rbx
je 0x140035e3e
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140035e2a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003666f
mov rcx, rbx
call fcn.140282c34
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140035e57
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004006
jmp 0x140036119
mov dword [rbp + 0x60], 1
mov dword [rbp + 0x64], 3
mov dword [rbp + 0x68], 9
mov dword [rbp + 0x6c], 0xffffffff
xor eax, eax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x80], eax
mov qword [rbp + 0x84], r12
xor edx, edx
mov r8d, 0x204
lea rcx, [rbp + 0x8c]
call fcn.140286140
mov dword [rbp + 0x290], 0xfffffffe
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x30]
call fcn.140286140
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
mov r8d, 6
lea rdx, str.Local_
lea rcx, [rsp + 0x40]
call fcn.14000d3a0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], r12w
xor r8d, r8d
lea rdx, [0x1403b8fe8]
lea rcx, [rsp + 0x60]
call fcn.14000d3a0
nop
lea r15, vtable.mb::common::system::ScopedAny_void____ptr64__int____cdecl___void____ptr64___int___cdecl_CloseHandle_void____ptr64___2__0__0_.0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x28], r12
lea r13, vtable.mb::common::system::ScopedAny_struct_IPC_SERVICEPROTECTIONLEVEL____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], r12
mov qword [rbp - 0x18], r12
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqa xmmword [rbp], xmm1
mov word [rbp - 0x10], r12w
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400256d0
nop
mov qword [rbp + 0x30], r12
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rbp + 0x50], xmm1
mov word [rbp + 0x40], r12w
cmp qword [rsp + 0x50], 0
je 0x140035fdc
lea r8, [rbp + 0x40]
mov edx, r14d
lea rcx, [rbp - 0x30]
call fcn.14003b0b0
test al, al
je 0x140035fdc
lea r8, [rbp + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140082ed0
nop
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140025640
nop
lea rcx, [rbp - 0x70]
call fcn.14000c340
nop
lea rcx, [rbp + 0x40]
call fcn.14000c340
nop
lea rcx, [rsp + 0x60]
call fcn.14000c340
nop
lea rcx, [rsp + 0x40]
call fcn.14000c340
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14003b4b0
test al, al
je 0x140036063
mov rax, qword [rbp - 0x18]
test rax, rax
jne 0x140036149
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x140036063
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rax, qword [rbp + 0x10]
mov r10, qword [rcx]
lea rdx, str.Not_initialized
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x59
lea r8, str.d:jenkinsworkspace_a_mbam3_updaterexe_srcpackagesmbcommon.3.2.0.1128_build_nativeincludeipcmapping.h
lea rdx, str.mb::common::ipc::IPCMapping_struct_IPC_SERVICEPROTECTIONLEVEL_::GetStruct
call qword [r10 + 0x18]
nop
lea rcx, [rbp + 0x10]
call fcn.14000c340
nop
lea rcx, [rbp - 0x10]
call fcn.14000c340
nop
mov qword [rbp - 0x20], r13
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14003608a
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x30], r15
mov rcx, qword [rbp - 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400360a6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x1400360fb
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400360e7
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036675
mov rcx, rbx
call fcn.140282c34
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140036114
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004002
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.140282c10
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
lea rcx, [rbp + 0x60]
mov esi, 4
mov edx, esi
nop dword [rax]
nop dword [rax + rax]
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 rdx, 1
jne 0x140036160
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 ecx, r14d
call fcn.1400905c0
cmp dword [rbp + 0x8c], eax
je 0x14003629d
lea rcx, [rbp + 0x10]
call fcn.14000c340
nop
lea rcx, [rbp - 0x10]
call fcn.14000c340
nop
mov qword [rbp - 0x20], r13
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140036209
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x30], r15
mov rcx, qword [rbp - 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140036225
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x14003627a
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140036266
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003667b
mov rcx, rbx
call fcn.140282c34
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140036293
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004003
jmp 0x140036119
lea rcx, [rbp + 0x60]
call fcn.140010530
test al, al
jne 0x140036369
lea rcx, [rbp + 0x10]
call fcn.14000c340
nop
lea rcx, [rbp - 0x10]
call fcn.14000c340
nop
mov qword [rbp - 0x20], r13
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400362d5
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x30], r15
mov rcx, qword [rbp - 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400362f1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x140036346
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140036332
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036681
mov rcx, rbx
call fcn.140282c34
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14003635f
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004004
jmp 0x140036119
mov edx, 1
mov ecx, dword [rbp + 0x8c]
call fcn.140094930
test al, al
jne 0x140036443
call fcn.140024740
mov r10, qword [rax]
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:jenkinsworkspace_a_mbam3_updaterexe_srcpackages_sledgehammer.5.0.0.70_build_nativeincludechildinstance.h
lea rdx, [0x1403b8fe8]
mov rcx, rax
call qword [r10 + 0x18]
nop
lea rcx, [rbp - 0x30]
call fcn.140039900
nop
test rbx, rbx
je 0x140036420
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003640c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036687
mov rcx, rbx
call fcn.140282c34
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140036439
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004005
jmp 0x140036119
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14003668d
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 0x140036577
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x1400364b5
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rax, qword [rbp + 0x10]
mov r10, qword [rcx]
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:jenkinsworkspace_a_mbam3_updaterexe_srcpackagesmbcommon.3.2.0.1128_build_nativeincludeipcmapping.h
lea rdx, str.mb::common::ipc::IPCMapping_struct_IPC_SERVICEPROTECTIONLEVEL_::SetStruct
call qword [r10 + 0x18]
call fcn.140024740
mov r10, qword [rax]
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:jenkinsworkspace_a_mbam3_updaterexe_srcpackages_sledgehammer.5.0.0.70_build_nativeincludechildinstance.h
lea rdx, [0x1403b8fe8]
mov rcx, rax
call qword [r10 + 0x18]
nop
lea rcx, [rbp - 0x30]
call fcn.140039900
nop
test rbx, rbx
je 0x140036554
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140036540
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036693
mov rcx, rbx
call fcn.140282c34
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14003656d
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004000
jmp 0x140036119
lea rax, [rbp + 0x60]
nop dword [rax + rax]
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 rsi, 1
jne 0x140036580
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 esi, dword [rbp + 0x6c]
lea rcx, [rbp - 0x30]
call fcn.140039900
nop
test rbx, rbx
je 0x140036648
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140036634
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036669
mov rcx, rbx
call fcn.140282c34
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140036662
mov r8, qword [rcx]
cmp rcx, rdi
setne dl
call qword [r8 + 0x20]
mov qword [rdi + 0x38], r12
mov eax, esi
jmp 0x140036119
call fcn.14028ea2c
int3
call fcn.14028ea2c
int3
call fcn.14028ea2c
int3
call fcn.14028ea2c
int3
call fcn.14028ea2c
int3
call fcn.14028ea2c
nop
call fcn.140280d48
nop
call fcn.14028ea2c
int3