Function at 0x180016b30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
imul eax, r8d, 0x1b3
mov r13d, r8d
mov rdi, rdx
mov r15, rcx
mov esi, r8d
mov dword [rsp + 0x30], eax
cmp r8d, eax
ja 0x180017129
mov r14d, dword [rbp + 0xf0]
lea rdx, [0x1800a8b80]
mov r12, qword [rbp + 0xf8]
lea rcx, [0x1800a8b90]
xor ebx, ebx
lea r8, [0x180098c30]
lea r10, [0x1800a8bd0]
lea rax, [0x180096248]
cmp esi, 0xea0
ja 0x180016ee1
je 0x180016eb7
cmp esi, 0x115
ja 0x180016cf2
je 0x180016cc3
mov eax, esi
sub eax, 0x20
je 0x180016c2c
sub eax, 0x78
je 0x180016c24
cmp eax, 0xe
jne 0x180016d5f
lea ecx, [rax + 2]
call fcn.180061b98
mov rbx, rax
lea r8, [0x18002a390]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rax + 8], rdi
mov qword [rax], r15
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r15], rax
test rax, rax
je 0x18001702d
xor ebx, ebx
jmp 0x180016d43
mov r12, rbx
jmp 0x180016d5f
mov ecx, 2
call fcn.180066670
mov rcx, rax
lea r8, [0x180096248]
xor r9d, r9d
lea rdx, str.__kernel_void_arithm_phase_indegrees_D5___global_float_src1__int_src1_step1__int_src1_offset1_
call fcn.1800010d0
lea r9, [rbp + 0xf0]
mov dword [rbp + 0xf0], 1
mov r8d, 0x41
mov dword [rbp + 0xf8], ebx
lea rdx, [rbp + 0xf8]
mov qword [rbp + 0x18], rbx
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x20], rbx
call fcn.180037e00
mov r14, rax
mov dword [rbp - 0x18], 1
xor eax, eax
lea rcx, [0x1800a8b80]
mov qword [rbp + 0x20], rcx
lea r9, [rbp - 0x18]
lea rdx, [rbp + 0x10]
mov dword [rbp + 0x10], eax
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r8d, [rax + 0x41]
call fcn.180037e00
add r14d, eax
xor ebx, ebx
jmp 0x180016d43
mov rax, qword [rdi]
lea r9, [rsp + 0x40]
mov qword [rbp + 0x28], rax
mov r8d, 0xf2
lea rax, [rbp + 0x28]
mov dword [rsp + 0x40], ebx
mov rdx, r15
mov qword [rsp + 0x20], rax
xor ecx, ecx
call fcn.180023c60
mov dword [rsp + 0x38], eax
jmp 0x180016d43
cmp esi, 0x3c0
je 0x180016e2e
cmp esi, 0x760
je 0x180016d74
cmp esi, 0xb00
jne 0x180016d5f
mov qword [rbp + 0x30], rcx
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea rcx, [rbp + 0x30]
mov r8d, 0x41
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x50], 1
lea rdx, [rsp + 0x50]
call fcn.180037e00
add r14d, eax
lea r10, [0x1800a8bd0]
lea rdx, [0x1800a8b80]
lea rcx, [0x1800a8b90]
lea r8, [0x180098c30]
imul eax, r13d, 0x1d
add esi, eax
cmp esi, dword [rsp + 0x30]
ja 0x180017129
jmp 0x180016ba0
lea r9, [rsp + 0x58]
mov dword [rsp + 0x58], 1
mov r8d, 0x41
mov dword [rsp + 0x60], ebx
lea rdx, [rsp + 0x60]
mov qword [rbp + 0x38], r10
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x20], rbx
call fcn.180037e00
mov rdi, rax
mov dword [rsp + 0x68], 1
lea rax, [0x1800a8bc0]
mov dword [rsp + 0x70], ebx
lea r9, [rsp + 0x68]
mov qword [rbp + 0x40], rax
mov r8d, 0x41
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x40]
call fcn.180037e00
mov rbx, rax
mov dword [rsp + 0x78], 1
xor eax, eax
lea rcx, [0x1800a8b80]
mov dword [rbp - 0x80], eax
lea r9, [rsp + 0x78]
mov qword [rbp + 0x48], rcx
lea rax, [0x180096248]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x48]
mov r8d, 0x41
mov qword [rsp + 0x20], rax
call fcn.180037e00
add eax, ebx
add eax, edi
mov rdi, qword [rbp + 0xe8]
add r14d, eax
xor ebx, ebx
jmp 0x180016d43
lea r9, [rbp - 0x78]
mov dword [rbp - 0x78], 1
mov r8d, 0x41
mov dword [rbp - 0x70], ebx
lea rdx, [rbp - 0x70]
mov qword [rbp + 0x50], rbx
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.180037e00
mov rdi, rax
mov dword [rbp - 0x68], 1
lea rax, [0x1800a8b80]
mov dword [rbp - 0x60], ebx
lea r9, [rbp - 0x68]
mov qword [rbp + 0x58], rax
mov r8d, 0x41
mov qword [rsp + 0x20], rbx
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x58]
call fcn.180037e00
lea rcx, [0x1800a8b80]
mov dword [rbp - 0x58], 1
mov rbx, rax
mov qword [rbp + 0x60], rcx
xor eax, eax
lea rcx, [rbp + 0x60]
mov dword [rbp - 0x50], eax
lea r9, [rbp - 0x58]
lea rdx, [rbp - 0x50]
jmp 0x180016e09
mov qword [rbp + 0x68], rdx
lea r9, [rbp - 0x48]
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x48], 1
mov dword [rbp - 0x40], ebx
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r8d, 0x41
jmp 0x180016d3b
cmp esi, 0x15e0
ja 0x180016ffe
je 0x180017044
mov eax, esi
sub eax, 0x11d0
je 0x180016fc7
sub eax, 0x70
je 0x180016f4e
cmp eax, 0x134
jne 0x180016d5f
mov eax, dword [r15 + 8]
lea r9, [rbp + 0x80]
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x30]
mov rax, qword [r15]
xor edx, edx
xor ecx, ecx
mov qword [rbp + 0x80], rax
mov dword [rsp + 0x20], 0x102
call fcn.18004ca30
mov byte [r15 + 0xc], 1
mov byte [rsp + 0x38], 1
jmp 0x180017129
mov qword [rbp + 0x70], rcx
lea r9, [rbp - 0x38]
mov qword [rsp + 0x20], r8
lea rcx, [rbp + 0x70]
mov r8d, 0x41
mov dword [rbp - 0x38], 3
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], 1
call fcn.180037e00
mov rbx, rax
mov dword [rbp - 0x28], 4
lea rax, [0x1800a8b90]
mov dword [rbp - 0x20], 0xffffffff
mov qword [rbp + 0x78], rax
lea r9, [rbp - 0x28]
lea rax, [0x180098aac]
mov r8d, 0x41
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x78]
call fcn.180037e00
add eax, ebx
add r14d, eax
xor ebx, ebx
jmp 0x180016d43
mov r8, qword [r15 + 0x10]
test r8, r8
je 0x180016d58
mov r9, r15
mov edx, 0x96
mov rcx, rdi
call fcn.180045980
test rax, rax
je 0x180016d43
mov r12, qword [rax + 8]
mov rcx, rax
call fcn.18006c3d8
jmp 0x180016d43
cmp esi, 0x2076
je 0x180017129
cmp esi, 0x2308
je 0x180017023
cmp esi, 0x3440
je 0x180017129
jmp 0x180016d5f
mov qword [rsp + 0x38], r12
jmp 0x180016d5f
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, rbx
call fcn.1800618f4
mov byte [rsp + 0x38], 0
jmp 0x180017129
mov edi, 0xa2
lea rsi, str.ogus
cmp edi, 0xa2
je 0x180017069
cmp edi, 0x6726
je 0x180017129
jmp 0x180017117
mov qword [rbp + 0x88], rcx
lea r9, [rbp - 0x10]
lea rcx, [rbp + 0x88]
mov dword [rbp - 0x10], 9
mov r8d, 0x41
mov dword [rbp - 8], 1
lea rdx, [rbp - 8]
mov qword [rsp + 0x20], rsi
call fcn.180037e00
mov rbx, rax
mov dword [rbp], 1
lea rax, [0x1800a8b90]
mov dword [rbp + 8], 9
lea r15, [0x180096248]
mov qword [rbp + 0x90], rax
lea r9, [rbp]
mov qword [rsp + 0x20], r15
mov r8d, 0x41
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x90]
call fcn.180037e00
add eax, ebx
mov ecx, 2
add r14d, eax
call fcn.180066670
mov rcx, rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea rdx, str.DEBUG__s:_d:__t_failures:__d_n
mov r8, r15
call fcn.1800010d0
lea rcx, [0x1800a8b90]
mov dword [rsp + 0x38], r14d
add edi, 0x6684
cmp edi, 0xcd08
jbe 0x180017050
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret