Function at 0x140031ba0
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 0x140031c87
nop dword [rax + rax]
xor r9d, r9d
mov rcx, qword [r14]
call fcn.14009a1d0
lea r14, [r14 + 8]
inc rsi
cmp rsi, r15
jne 0x140031c70
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
xor edx, edx
mov ecx, eax
call fcn.140094930
test al, al
jne 0x140031d10
test rbx, rbx
je 0x140031ced
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140031cd9
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032444
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 0x140031d06
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004006
jmp 0x140031fb4
mov dword [rbp + 0x40], 1
mov dword [rbp + 0x44], 3
mov dword [rbp + 0x48], reloc.WS2_32.dll_inet_addr
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_CRASHPROCESS____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 0x140031e77
lea r8, [rbp + 0x78]
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.14003dc30
test al, al
je 0x140031e77
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.14003e030
test al, al
je 0x140031efe
mov rax, qword [rbp - 0x18]
test rax, rax
jne 0x140031fdf
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x140031efe
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_CRASHPROCESS_::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 0x140031f25
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 0x140031f41
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x140031f96
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140031f82
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003244a
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 0x140031faf
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 0x1400320cb
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 0x140032037
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 0x140032053
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x1400320a8
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140032094
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032450
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 0x1400320c1
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004003
jmp 0x140031fb4
lea rcx, [rbp + 0x40]
call fcn.140010530
test al, al
jne 0x140032197
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 0x140032103
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 0x14003211f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x140032174
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140032160
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032456
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 0x14003218d
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004004
jmp 0x140031fb4
mov edx, 1
mov ecx, dword [rbp + 0x6c]
call fcn.140094930
test al, al
jne 0x14003226e
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.140039580
nop
test rbx, rbx
je 0x14003224b
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140032237
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003245c
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 0x140032264
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004005
jmp 0x140031fb4
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140032462
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 0x1400323a2
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x1400322e0
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_CRASHPROCESS_::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.140039580
nop
test rbx, rbx
je 0x14003237f
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003236b
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032468
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 0x140032398
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004000
jmp 0x140031fb4
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.140039580
nop
test rbx, rbx
je 0x14003241d
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140032409
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003243e
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 0x140032437
mov r8, qword [rcx]
cmp rcx, rdi
setne dl
call qword [r8 + 0x20]
mov qword [rdi + 0x38], r12
mov eax, esi
jmp 0x140031fb4
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