Function at 0x140034020
Capabilities:
Acquire debug privileges

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x102d0]
mov eax, 0x103d0
call fcn.140283930
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x10408], rbx
mov qword [rsp + 0x10410], rsi
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x102c0], 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 0x14003410c
xor r9d, r9d
mov rcx, qword [r14]
call fcn.14009a1d0
lea r14, [r14 + 8]
inc rsi
cmp rsi, r15
jne 0x1400340f5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
xor edx, edx
mov ecx, eax
call fcn.140094930
test al, al
jne 0x140034195
test rbx, rbx
je 0x140034172
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003415e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034984
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 0x14003418b
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004006
jmp 0x14003445b
mov dword [rbp + 0x60], 1
mov dword [rbp + 0x64], 3
mov dword [rbp + 0x68], 6
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, 0x22c
lea rcx, [rbp + 0x8c]
call fcn.140286140
mov dword [rbp + 0x2b8], r12d
xor edx, edx
mov r8d, 0x10000
lea rcx, [rbp + 0x2bc]
call fcn.140286140
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 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_DLLOPERATION____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 + 0x50], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rbp + 0x50], xmm1
mov word [rbp + 0x40], r12w
cmp qword [rsp + 0x50], 0
je 0x140034320
lea r8, [rbp + 0x40]
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.14003c370
test al, al
je 0x140034320
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
lea rcx, [rbp - 0x30]
call fcn.14003c770
test al, al
je 0x1400343a5
mov rdx, qword [rbp - 0x18]
test rdx, rdx
jne 0x140034486
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x1400343a5
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_DLLOPERATION_::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 0x1400343cc
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 0x1400343e8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x14003443d
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140034429
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003498a
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 0x140034456
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 + 0x102c0]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0x103d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov r8d, 0x1025c
lea rcx, [rbp + 0x60]
call fcn.140285b80
mov ecx, esi
call fcn.1400905c0
cmp dword [rbp + 0x8c], eax
je 0x140034563
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 0x1400344cf
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 0x1400344eb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x140034540
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003452c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034990
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 0x140034559
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004003
jmp 0x14003445b
lea rcx, [rbp + 0x60]
call fcn.140010530
test al, al
jne 0x14003462f
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 0x14003459b
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 0x1400345b7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x14003460c
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400345f8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034996
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 0x140034625
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004004
jmp 0x14003445b
mov edx, 1
mov ecx, dword [rbp + 0x8c]
call fcn.140094930
test al, al
jne 0x140034746
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 + 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 0x1400346b2
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 0x1400346ce
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x140034723
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003470f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003499c
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 0x14003473c
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004005
jmp 0x14003445b
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400349a2
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 0x1400348b7
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x1400347b8
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_DLLOPERATION_::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 + 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 0x140034823
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 0x14003483f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x140034894
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140034880
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400349a8
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 0x1400348ad
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r12
mov eax, 0xe0004000
jmp 0x14003445b
mov r8d, 0x1025c
lea rdx, [rbp + 0x60]
call fcn.140285b80
mov esi, dword [rbp + 0x6c]
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 0x1400348f0
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 0x14003490c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
test rbx, rbx
je 0x14003495d
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140034949
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003497e
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 0x140034977
mov r8, qword [rcx]
cmp rcx, rdi
setne dl
call qword [r8 + 0x20]
mov qword [rdi + 0x38], r12
mov eax, esi
jmp 0x14003445b
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