Function at 0x140030a20
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 0x140030b07
nop dword [rax + rax]
xor r9d, r9d
mov rcx, qword [r14]
call fcn.14009a1d0
lea r14, [r14 + 8]
inc rsi
cmp rsi, r15
jne 0x140030af0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
xor edx, edx
mov ecx, eax
call fcn.140094930
test al, al
jne 0x140030b90
test rbx, rbx
je 0x140030b6d
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140030b59
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400312b5
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 0x140030b86
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004006
jmp 0x140030e2d
mov dword [rbp + 0x40], 1
mov dword [rbp + 0x44], 3
mov dword [rbp + 0x48], 2
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
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_SUSPENDPROCESS____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 0x140030cf0
lea r8, [rbp + 0x78]
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.14003e8b0
test al, al
je 0x140030cf0
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.14003ecb0
test al, al
je 0x140030d77
mov rax, qword [rbp - 0x18]
test rax, rax
jne 0x140030e58
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x140030d77
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_SUSPENDPROCESS_::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 0x140030d9e
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 0x140030dba
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x140030e0f
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140030dfb
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400312bb
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 0x140030e28
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
mov eax, dword [rax + 0x30]
mov dword [rbp + 0x70], eax
mov ecx, esi
call fcn.1400905c0
cmp dword [rbp + 0x6c], eax
je 0x140030f40
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 0x140030eac
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 0x140030ec8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x140030f1d
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140030f09
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400312c1
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 0x140030f36
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004003
jmp 0x140030e2d
lea rcx, [rbp + 0x40]
call fcn.140010530
test al, al
jne 0x14003100c
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 0x140030f78
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 0x140030f94
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x140030fe9
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140030fd5
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400312c7
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 0x140031002
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004004
jmp 0x140030e2d
mov edx, 1
mov ecx, dword [rbp + 0x6c]
call fcn.140094930
test al, al
jne 0x1400310e3
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.140039480
nop
test rbx, rbx
je 0x1400310c0
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400310ac
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400312cd
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 0x1400310d9
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004005
jmp 0x140030e2d
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400312d3
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
call qword [rax + reloc.WS2_32.dll_recv]
mov dword [rbp + 0x4c], eax
mov rcx, qword [rbp - 0x18]
test rcx, rcx
jne 0x140031217
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x140031155
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_SUSPENDPROCESS_::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.140039480
nop
test rbx, rbx
je 0x1400311f4
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400311e0
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400312d9
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 0x14003120d
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004000
jmp 0x140030e2d
movups xmm0, xmmword [rbp + 0x40]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbp + 0x50]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [rcx + 0x20], xmm0
mov eax, dword [rbp + 0x70]
mov dword [rcx + 0x30], eax
mov esi, dword [rbp + 0x4c]
lea rcx, [rbp - 0x30]
call fcn.140039480
nop
test rbx, rbx
je 0x14003128e
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003127a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400312af
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 0x1400312a8
mov r8, qword [rcx]
cmp rcx, rdi
setne dl
call qword [r8 + 0x20]
mov qword [rdi + 0x38], r12
mov eax, esi
jmp 0x140030e2d
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