Function at 0x14001f693
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x158
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx + 0xe0]
cmp r15, 2
jb 0x14001f6e1
mov rax, qword [rdi + 0xe8]
mov qword [rsp + 0x100], rax
lock inc qword [rax]
jle 0x14001fbb3
mov rax, qword [rdi + 0xf0]
mov qword [rsp + 0xf8], rax
mov al, byte [rdi + 0x38]
mov r14b, 3
mov bpl, 3
cmp al, 3
je 0x14001f775
mov bpl, 2
cmp al, 2
je 0x14001f73f
mov rax, qword [rdi + 0x30]
lea rdx, [rdi + 0x28]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
lea rbx, [rsp + 0xd0]
mov rcx, rbx
call qword [rax]
mov bpl, byte [rdi + 0x38]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
mov eax, dword [rbx + 0x21]
mov dword [rsp + 0x80], eax
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0x83], eax
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0xe0], xmm1
movaps xmmword [rsp + 0xd0], xmm0
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x83]
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0xb3], ecx
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmm1, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x120], xmm1
movaps xmmword [rsp + 0x110], xmm0
mov eax, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xb3]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x63], ecx
mov al, byte [rdi + 0x60]
cmp al, 3
je 0x14001f839
mov r14b, 2
cmp al, 2
je 0x14001f803
mov rax, qword [rdi + 0x58]
lea rdx, [rdi + 0x50]
mov r8, qword [rdi + 0x40]
mov r9, qword [rdi + 0x48]
lea rbx, [rsp + 0xd0]
mov rcx, rbx
call qword [rax]
mov r14b, byte [rdi + 0x60]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
mov eax, dword [rbx + 0x21]
mov dword [rsp + 0x80], eax
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0x83], eax
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0xe0], xmm1
movaps xmmword [rsp + 0xd0], xmm0
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x83]
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0xb3], ecx
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmm1, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x140], xmm1
movaps xmmword [rsp + 0x130], xmm0
mov eax, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xb3]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6b], ecx
mov al, byte [rdi + 0x88]
add al, 0xfe
movzx ecx, al
lea rdx, [rcx + 1]
xor eax, eax
cmp cl, 2
cmovb rax, rdx
test rax, rax
mov qword [rsp + 0x108], r15
mov byte [rsp + 0x27], bpl
je 0x14001f8b9
cmp eax, 1
jne 0x14001f8fe
mov rdx, qword [rdi + 0x70]
mov r8, qword [rdi + 0x78]
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001fbb7
mov byte [rbx + 0x20], 2
jmp 0x14001f91f
mov rax, qword [rdi + 0x80]
lea rdx, [rdi + 0x78]
mov r8, qword [rdi + 0x68]
mov r9, qword [rdi + 0x70]
lea rbx, [rsp + 0xd0]
mov rcx, rbx
call qword [rax]
mov al, byte [rdi + 0x88]
mov byte [rbx + 0x20], al
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x50], rax
jmp 0x14001f91f
mov rax, qword [rdi + 0x68]
lock inc qword [rax]
jle 0x14001fbb3
mov rcx, qword [rdi + 0x70]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
mov byte [rsp + 0x50], 3
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rcx
mov r12b, 2
cmp byte [rdi + 0xd8], 2
je 0x14001f9ae
mov rax, qword [rdi + 0xd0]
lea rdx, [rdi + 0xc8]
mov r8, qword [rdi + 0xb8]
mov r9, qword [rdi + 0xc0]
lea rbx, [rsp + 0xd0]
mov rcx, rbx
call qword [rax]
mov r12b, byte [rdi + 0xd8]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
mov eax, dword [rbx + 0x21]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0x2b], eax
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0xc0], xmm1
movaps xmmword [rsp + 0xb0], xmm0
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2b]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x73], ecx
mov al, byte [rdi + 0xb0]
cmp al, 3
jne 0x14001f9ff
mov r15, qword [rdi + 0x90]
lock inc qword [r15]
jle 0x14001fbb3
mov r13, qword [rdi + 0x98]
mov bpl, 3
jmp 0x14001fa73
cmp al, 2
jne 0x14001fa08
mov bpl, 2
jmp 0x14001fa56
mov rax, qword [rdi + 0xa8]
lea rdx, [rdi + 0xa0]
mov r8, qword [rdi + 0x90]
mov r9, qword [rdi + 0x98]
lea rbx, [rsp + 0xd0]
mov rcx, rbx
call qword [rax]
mov bpl, byte [rdi + 0xb0]
mov r15, qword [rbx]
mov r13, qword [rbx + 8]
movups xmm0, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x30], xmm0
mov eax, dword [rbx + 0x21]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0x2b], eax
movaps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0xd0], xmm0
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2b]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x7b], ecx
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [rsi + 0xa0], xmm0
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x7b]
mov dword [rsi + 0xb1], eax
mov dword [rsi + 0xb4], ecx
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
call fcn.14001fbb7
mov rax, qword [rsp + 0x108]
mov qword [rsi + 0xe0], rax
mov rax, qword [rsp + 0x100]
mov qword [rsi + 0xe8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsi + 0xf0], rax
movaps xmm0, xmmword [rsp + 0x110]
movaps xmm1, xmmword [rsp + 0x120]
movups xmmword [rsi + 0x18], xmm0
movups xmmword [rsi + 0x28], xmm1
mov al, byte [rsp + 0x27]
mov byte [rsi + 0x38], al
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x63]
mov dword [rsi + 0x39], eax
mov dword [rsi + 0x3c], ecx
movaps xmm0, xmmword [rsp + 0x130]
movaps xmm1, xmmword [rsp + 0x140]
movups xmmword [rsi + 0x40], xmm0
movups xmmword [rsi + 0x50], xmm1
mov byte [rsi + 0x60], r14b
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x6b]
mov dword [rsi + 0x64], ecx
mov dword [rsi + 0x61], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsi + 0x88], rax
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movups xmmword [rsi + 0x78], xmm1
movups xmmword [rsi + 0x68], xmm0
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
movups xmmword [rsi + 0xc8], xmm1
movups xmmword [rsi + 0xb8], xmm0
mov byte [rsi + 0xd8], r12b
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x73]
mov dword [rsi + 0xdc], ecx
mov dword [rsi + 0xd9], eax
mov qword [rsi + 0x90], r15
mov qword [rsi + 0x98], r13
mov byte [rsi + 0xb0], bpl
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2