Function at 0x140030150
Capabilities:
Acquire debug privileges

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1a0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x98], 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 0x140030237
nop dword [rax + rax]
xor r9d, r9d
mov rcx, qword [r14]
call fcn.14009a1d0
lea r14, [r14 + 8]
inc rsi
cmp rsi, r15
jne 0x140030220
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
xor edx, edx
mov ecx, eax
call fcn.140094930
test al, al
jne 0x1400302c0
test rbx, rbx
je 0x14003029d
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140030289
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400309f4
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 0x1400302b6
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004006
jmp 0x140030564
mov dword [rbp + 0x40], 1
mov dword [rbp + 0x44], 3
mov dword [rbp + 0x48], 1
mov dword [rbp + 0x4c], 0xffffffff
xor eax, eax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x60], eax
mov qword [rbp + 0x64], r12
mov qword [rbp + 0x6c], r12
mov dword [rbp + 0x74], 0x3e8
xor edx, edx
lea r8d, [rax + 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 r14, vtable.mb::common::system::ScopedAny_void____ptr64__int____cdecl___void____ptr64___int___cdecl_CloseHandle_void____ptr64___2__0__0_.0
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x28], r12
lea r15, vtable.mb::common::system::ScopedAny_struct_IPC_TERMINATEPROCESS____ptr64__int____cdecl___void_const____ptr64___int___cdecl_UnmapViewOfFile_void_const____ptr64___0__0__4_.0
mov qword [rbp - 0x20], r15
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 + 0x88], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rbp + 0x88], xmm1
mov word [rbp + 0x78], r12w
cmp qword [rsp + 0x50], 0
je 0x140030427
lea r8, [rbp + 0x78]
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.14003eef0
test al, al
je 0x140030427
lea r8, [rbp + 0x78]
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 + 0x78]
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.14003f2f0
test al, al
je 0x1400304ae
mov rax, qword [rbp - 0x18]
test rax, rax
jne 0x14003058f
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x1400304ae
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_TERMINATEPROCESS_::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], r15
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400304d5
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x30], r14
mov rcx, qword [rbp - 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400304f1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x140030546
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140030532
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400309fa
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 0x14003055f
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 + 0x98]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp + 0x60], xmm0
movsd xmm1, qword [rax + 0x30]
movsd qword [rbp + 0x70], xmm1
mov ecx, esi
call fcn.1400905c0
cmp dword [rbp + 0x6c], eax
je 0x14003067b
lea rcx, [rbp + 0x10]
call fcn.14000c340
nop
lea rcx, [rbp - 0x10]
call fcn.14000c340
nop
mov qword [rbp - 0x20], r15
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400305e7
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x30], r14
mov rcx, qword [rbp - 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140030603
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x140030658
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140030644
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030a00
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 0x140030671
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004003
jmp 0x140030564
lea rcx, [rbp + 0x40]
call fcn.140010530
test al, al
jne 0x140030747
lea rcx, [rbp + 0x10]
call fcn.14000c340
nop
lea rcx, [rbp - 0x10]
call fcn.14000c340
nop
mov qword [rbp - 0x20], r15
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400306b3
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x30], r14
mov rcx, qword [rbp - 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400306cf
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x140030724
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140030710
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030a06
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 0x14003073d
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004004
jmp 0x140030564
mov edx, 1
mov ecx, dword [rbp + 0x6c]
call fcn.140094930
test al, al
jne 0x14003081e
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.140039400
nop
test rbx, rbx
je 0x1400307fb
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400307e7
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030a0c
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 0x140030814
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004005
jmp 0x140030564
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140030a12
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
call qword [rax + reloc.WS2_32.dll_recv]
mov dword [rbp + 0x4c], eax
mov rax, qword [rbp - 0x18]
test rax, rax
jne 0x140030952
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x140030890
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_TERMINATEPROCESS_::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.140039400
nop
test rbx, rbx
je 0x14003092f
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003091b
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030a18
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 0x140030948
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004000
jmp 0x140030564
movups xmm0, xmmword [rbp + 0x40]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp + 0x50]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [rbp + 0x70]
movsd qword [rax + 0x30], xmm1
mov esi, dword [rbp + 0x4c]
lea rcx, [rbp - 0x30]
call fcn.140039400
nop
test rbx, rbx
je 0x1400309cd
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400309b9
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400309ee
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 0x1400309e7
mov r8, qword [rcx]
cmp rcx, rdi
setne dl
call qword [r8 + 0x20]
mov qword [rdi + 0x38], r12
mov eax, esi
jmp 0x140030564
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