Function at 0x140029d10
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov ebx, edx
mov rdi, rcx
lea rax, [r11 - 0x68]
mov qword [r11 + 0x18], rax
xor r14d, r14d
mov qword [r11 - 0x30], r14
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140029d52
mov rax, qword [rcx]
lea rdx, [r11 - 0x68]
call qword [rax]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0xf0], rax
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___struct_VirusTotalWorkItem____ptr64___void__struct_VirusTotalWorkItem____ptr64_.0
mov qword [rsp + 0x30], rax
lea rax, [0x140029f60]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x30]
lea rcx, [0x140135c18]
call fcn.14002ad40
lea rdx, [rsp + 0x70]
lea rcx, [0x140135c58]
call fcn.14002ad40
mov dword [0x140135ca8], ebx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140029ddc
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rsp + 0x68], r14
mov ebx, dword [0x140135ca8]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x140029e00
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov ebx, dword [0x140135ca8]
xor r9d, r9d
mov r8d, ebx
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov rbp, rax
mov rsi, qword [0x140135be0]
lea rdx, [rsi - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x140029e3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [0x140135be0], rbp
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov r8d, 0x2710
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov rbp, rax
mov rsi, qword [0x140135be8]
lea rdx, [rsi - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x140029e84
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [0x140135be8], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbp, rax
mov rsi, qword [0x140135c98]
lea rdx, [rsi - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x140029ec8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [0x140135c98], rbp
lea rcx, [0x140135bf0]
call fcn.1400061a0
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
lea r9, [0x140135b90]
lea r8, [0x14002b1b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
mov rsi, qword [0x140135ca0]
lea rdx, [rsi - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x140029f2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [0x140135ca0], rbp
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140029f4a
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], r14
mov al, 1
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret