Function at 0x1400791bc
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x48
mov rsi, rcx
xor r13d, r13d
mov dword [rcx + 8], r13d
lea rax, vtable.CMpSampleHeaderQueueCallback.0
mov qword [rcx], rax
add rcx, 0x10
mov edx, 0xfa0
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
nop
lea rbx, [rsi + 0x38]
mov qword [rbx], r13
lea r15, [rsi + 0x40]
mov qword [r15], r13
lea r12, [rsi + 0x48]
mov qword [r12], r13
mov dword [rsi + 0x50], r13d
mov qword [rsi + 0x58], r13
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + 0x64], eax
mov qword [rsi + 0x68], r13
mov byte [rsi + 0x70], r13b
mov qword [rsi + 0x78], r13
mov qword [rsi + 0x80], r13
mov qword [rsi + 0x88], r13
mov qword [rsi + 0x90], r13
mov dword [rbp + 0x58], r13d
lea rdx, [rbp + 0x58]
lea rcx, str.MpSampleSubmissionHighPriNumThreads
call qword [sym.imp.mpclient.dll_MpQueryEngineConfigDword]
lea edi, [r13 + 1]
test eax, eax
js 0x1400792a2
lea r14, [0x14016d280]
mov rcx, qword [0x14016d280]
cmp rcx, r14
je 0x1400792e2
test byte [rcx + 0x1c], 4
je 0x1400792e2
lea edx, [rdi + 0x12]
mov eax, dword [rbp + 0x58]
mov dword [rsp + 0x20], eax
lea r9, str.MpSampleSubmissionHighPriNumThreads
lea r8, [0x14013f120]
mov rcx, qword [rcx + 0x10]
call fcn.140044694
jmp 0x1400792e2
lea r14, [0x14016d280]
mov rcx, qword [0x14016d280]
cmp rcx, r14
je 0x1400792db
test byte [rcx + 0x1c], dil
je 0x1400792db
mov edx, 0x14
mov dword [rsp + 0x20], eax
lea r9, str.MpSampleSubmissionHighPriNumThreads
lea r8, [0x14013f120]
mov rcx, qword [rcx + 0x10]
call fcn.140044694
mov dword [rbp + 0x58], 0xa
mov dword [rbp + 0x50], r13d
lea rdx, [rbp + 0x50]
lea rcx, str.MpSampleSubmissionLowPriNumThreads
call qword [sym.imp.mpclient.dll_MpQueryEngineConfigDword]
test eax, eax
js 0x140079332
mov rcx, qword [0x14016d280]
cmp rcx, r14
je 0x140079367
test byte [rcx + 0x1c], 4
je 0x140079367
mov edx, 0x15
mov eax, dword [rbp + 0x50]
mov dword [rsp + 0x20], eax
lea r9, str.MpSampleSubmissionLowPriNumThreads
lea r8, [0x14013f120]
mov rcx, qword [rcx + 0x10]
call fcn.140044694
jmp 0x140079367
mov rcx, qword [0x14016d280]
cmp rcx, r14
je 0x140079364
test byte [rcx + 0x1c], dil
je 0x140079364
mov edx, 0x16
mov dword [rsp + 0x20], eax
lea r9, str.MpSampleSubmissionLowPriNumThreads
lea r8, [0x14013f120]
mov rcx, qword [rcx + 0x10]
call fcn.140044694
mov dword [rbp + 0x50], edi
mov rcx, qword [rbx]
test rcx, rcx
je 0x140079378
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r13
mov edx, edi
mov rcx, rbx
call fcn.1400fa3e8
test eax, eax
js 0x140079627
mov edi, dword [rbp + 0x50]
mov rbx, qword [r15]
test rbx, rbx
je 0x1400793b6
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x38]
call fcn.140107c30
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call fcn.140107c30
mov qword [r15], r13
mov rdx, rdi
mov rcx, r15
call fcn.140102388
test eax, eax
js 0x14007962f
mov edi, dword [rbp + 0x58]
mov rbx, qword [r12]
test rbx, rbx
je 0x1400793f7
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x38]
call fcn.140107c30
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call fcn.140107c30
mov qword [r12], r13
mov rdx, rdi
mov rcx, r12
call fcn.140102388
test eax, eax
js 0x140079637
mov qword [rbp - 0x18], r13
lea rdx, str.MpAzSubmit.dll
lea rcx, [rbp - 0x18]
call fcn.1400c6dbc
mov ebx, eax
test eax, eax
js 0x1400795c3
mov rbx, qword [rbp - 0x18]
cmp byte [rsi + 0x70], r13b
jne 0x140079529
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsi + 0x78], rax
test rax, rax
je 0x140079506
lea rdx, [0x14013ebe0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x80], rax
test rax, rax
je 0x140079506
lea rdx, str.MpAzSubmitBlobUpload
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x88], rax
test rax, rax
je 0x140079506
lea rdx, str.MpAzSubmitBlobUninitialize
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x90], rax
test rax, rax
je 0x140079506
lea rdx, str.MpAzStorageLibraryCreate
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x98], rax
test rax, rax
je 0x140079506
lea rdx, str.MpAzStorageLibraryOperation
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0xa0], rax
test rax, rax
je 0x140079506
lea rdx, str.MpAzStorageLibraryRelease
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0xa8], rax
cmp qword [rsi + 0x98], r13
jne 0x140079525
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x14007951b
movzx edi, ax
or edi, 0x80070000
test edi, edi
js 0x1400795f5
jmp 0x140079529
mov byte [rsi + 0x70], 1
mov dword [rbp + 0x60], r13d
lea rdx, [rbp + 0x60]
lea rdi, str.MpSampleBlockUploadParallelism
mov rcx, rdi
call qword [sym.imp.mpclient.dll_MpQueryEngineConfigDword]
test eax, eax
js 0x140079567
mov eax, dword [rbp + 0x60]
mov dword [rsi + 0xb0], eax
mov rcx, qword [0x14016d280]
cmp rcx, r14
je 0x1400795a0
test byte [rcx + 0x1c], 4
je 0x1400795a0
mov edx, 0x19
jmp 0x140079588
mov dword [rsi + 0xb0], 4
mov rcx, qword [0x14016d280]
cmp rcx, r14
je 0x1400795a0
test byte [rcx + 0x1c], 1
je 0x1400795a0
mov edx, 0x1a
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x14013f120]
mov rcx, qword [rcx + 0x10]
call fcn.140044694
nop
test rbx, rbx
je 0x1400795af
mov rcx, rbx
call qword [sym.imp.mpclient.dll_MpFreeMemory]
nop
mov rax, rsi
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [0x14016d280]
cmp rcx, r14
je 0x1400795ed
test byte [rcx + 0x1c], 1
je 0x1400795ed
mov edx, 0x17
mov r9d, ebx
lea r8, [0x14013f120]
mov rcx, qword [rcx + 0x10]
call fcn.140044380
mov ecx, ebx
call fcn.1400f9fc4
int3
mov rcx, qword [0x14016d280]
cmp rcx, r14
je 0x14007961f
test byte [rcx + 0x1c], 1
je 0x14007961f
mov edx, 0x18
mov r9d, edi
lea r8, [0x14013f120]
mov rcx, qword [rcx + 0x10]
call fcn.140044380
mov ecx, edi
call fcn.1400f9fc4
nop
mov ecx, eax
call fcn.1400f9fc4
int3
mov ecx, eax
call fcn.1400f9fc4
int3
mov ecx, eax
call fcn.1400f9fc4
int3