Function at 0x14001a4f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x900
xor esi, esi
mov ebp, edx
mov rbx, rcx
mov edi, esi
mov r12d, 0x80004005
cmp byte [rcx + 0x74], sil
jne 0x14001a86a
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x928], r15
call fcn.140012090
lea r15d, [rsi - 1]
mov r8, qword [rax]
mov rcx, qword [rax + 8]
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov rdi, qword [rbx + 8]
mov qword [rbx], r8
mov qword [rbx + 8], rcx
test rdi, rdi
je 0x14001a58b
mov eax, r15d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001a58b
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [0x140037608]
mov eax, r15d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14001a58b
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [0x140037608]
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x14001a5ce
mov eax, r15d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001a5ce
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [0x140037608]
mov eax, r15d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14001a5ce
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [0x140037608]
mov rcx, qword [rbx]
mov qword [rsp + 0x920], r14
test rcx, rcx
jne 0x14001a5e6
mov edi, r12d
jmp 0x14001a80d
xor eax, eax
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayAccessData
mov r8d, 0x22f
mov qword [rsp + 0x4c], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x40], 1
lea r9d, [rax + 1]
mov dword [rsp + 0x48], SafeArrayGetLBound
mov dword [rsp + 0x20], esi
call fcn.140012240
mov edi, eax
test eax, eax
js 0x14001a80d
cmp dword [rsp + 0x4c], esi
mov edi, esi
movsd xmm0, qword [rsp + 0x4c]
mov eax, dword [rsp + 0x54]
sete dil
movsd qword [rbx + 0x20], xmm0
mov dword [rbx + 0x28], eax
test edi, edi
js 0x14001a80b
cmp dword [rbx + 0x20], esi
je 0x14001a65e
mov dword [rbx + 0x80], 1
mov edi, esi
lea r14, [rbx + 0x30]
nop dword [rax]
nop dword [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14], rax
test rax, rax
je 0x14001a5de
inc edi
add r14, 8
cmp edi, 6
jl 0x14001a670
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x60], rax
test rax, rax
jne 0x14001a6b8
mov edi, r12d
jmp 0x14001a80d
mov r14d, esi
nop dword [rax + rax]
mov rcx, qword [rbx + 0x38]
mov dword [rsp + 0x270], esi
mov dword [rsp + 0x278], reloc.OLEAUT32.dll_SafeArrayGetDim
test rcx, rcx
jne 0x14001a6e0
mov edi, r12d
jmp 0x14001a729
mov rax, qword [rbx + 0x58]
test rax, rax
jne 0x14001a6ee
mov edi, r12d
jmp 0x14001a729
mov qword [rsp + 0x27c], rcx
lea rdx, [rsp + 0x270]
mov rcx, qword [rbx]
xor r9d, r9d
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayAccessData
mov r8d, 0x22f
mov qword [rsp + 0x284], rax
mov dword [rsp + 0x20], 1
call fcn.140012240
mov edi, eax
test edi, edi
jns 0x14001a78a
mov rcx, qword [rbx]
mov dword [rsp + 0x4a0], 4
mov dword [rsp + 0x4a8], 4
test rcx, rcx
je 0x14001a76d
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayAccessData
lea rdx, [rsp + 0x4a0]
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, 0x22f
call fcn.140012240
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
inc r14d
cmp r14d, 0xa
jl 0x14001a6c0
jmp 0x14001a80d
mov qword [rsp + 0x28], rsi
lea r8, [0x14001bb10]
mov r9, rbx
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x68], rax
test rax, rax
jne 0x14001a7b5
mov edi, r12d
jmp 0x14001a80d
call fcn.140008c70
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x14001a805
mov rcx, qword [rbx]
mov dword [rsp + 0x6d0], 4
mov dword [rsp + 0x6d8], 4
test rcx, rcx
je 0x14001a809
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayAccessData
lea rdx, [rsp + 0x6d0]
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, 0x22f
call fcn.140012240
jmp 0x14001a809
mov byte [rbx + 0x74], 1
test edi, edi
je 0x14001a856
mov r14, qword [rbx + 8]
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
test r14, r14
je 0x14001a856
mov eax, r15d
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14001a856
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax]
call qword [0x140037608]
lock xadd dword [r14 + 0xc], r15d
cmp r15d, 1
jne 0x14001a856
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 8]
call qword [0x140037608]
mov r15, qword [rsp + 0x928]
mov r14, qword [rsp + 0x920]
test edi, edi
jne 0x14001a8df
lea rax, [rbx + 0x30]
nop
cmp qword [rax], 0
je 0x14001a885
inc rsi
add rax, 8
cmp rsi, 6
jl 0x14001a870
jmp 0x14001a888
mov edi, r12d
test ebp, ebp
je 0x14001a8be
sub ebp, 1
je 0x14001a8b2
sub ebp, 1
je 0x14001a8ac
sub ebp, 1
je 0x14001a8a6
cmp ebp, 1
jne 0x14001a8c8
mov rcx, qword [rbx + 0x50]
jmp 0x14001a8c2
mov rcx, qword [rbx + 0x48]
jmp 0x14001a8c2
mov rcx, qword [rbx + 0x40]
jmp 0x14001a8c2
cmp byte [rbx + 0x75], 0
je 0x14001a8c8
mov rcx, qword [rbx + 0x38]
jmp 0x14001a8c2
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x60]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [rbx + 0x77], 0
cmove edi, r12d
lea r11, [rsp + 0x900]
mov eax, edi
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret