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

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x90
mov r10d, dword [rbp + 0x6f]
xor r12d, r12d
mov rsi, qword [rbp + 0x7f]
mov r14, rdx
mov rbx, rcx
mov qword [rbp - 0x59], r12
mov edx, 0x60
mov ecx, 0x201
lea eax, [r10 - 0x3000]
mov r13, r9
mov r15, qword [rsi + 0x2f8]
test eax, 0xffffefff
xorps xmm0, xmm0
xorps xmm1, xmm1
sete al
test al, al
mov byte [rbp + 0x6f], al
mov rax, qword [rbp + 0x77]
cmovne edx, ecx
xor r8d, r8d
mov dword [rbp + 0x47], edx
mov r9d, edx
lea edx, [r12 + 8]
mov rax, qword [rax]
mov rcx, qword [rax]
mov qword [rbp - 0x49], rax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov qword [rbp - 0x41], r12
movdqa xmmword [rbp - 0x39], xmm0
movdqa xmmword [rbp - 0x29], xmm1
mov dword [rbp - 0x19], r12d
mov qword [rbp - 9], r12
mov dword [rbp - 0x15], r10d
mov qword [rbp - 0x11], rbx
call fcn.1401f91d0
mov edi, dword [rbp + 0x7f]
mov qword [rbp - 0x29], rax
test edi, edi
jne 0x140223100
mov ecx, dword [rbp + 0x47]
mov dword [rbp - 0x19], ecx
mov qword [rbp - 0x21], rax
xor edx, edx
mov r8d, 0xbc
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
cmp byte [rbp + 0x6f], r12b
mov eax, 0x30
mov ecx, 0x201
mov dword [rbx + 0x20], 0xff9c0000
cmovne eax, ecx
mov dword [rbx + 0x24], 0x320000
mov dword [rbx + 0xb8], eax
mov dword [rbx + 0x2c], 2
mov dword [rbx + 0x30], 0x10000
mov dword [rbx + 0x3c], 0x10000
mov dword [rbx + 0x9c], 0x2210
mov dword [rbx], 0xffff
mov dword [rbx + 4], 0xffff
mov dword [rbx + 8], 0xffff
mov dword [rbx + 0xc], 0xffff
mov dword [rbx + 0x10], 0xffff
mov dword [rbx + 0x14], 0xffff
mov dword [rbx + 0x80], 0xffff
mov dword [rbx + 0x84], 0xffff
mov dword [rbx + 0x88], 0xffff
mov dword [rbx + 0xac], 0xffff
cmp dword [r14 + 0x10], r12d
je 0x140222f76
mov edx, dword [rbp + 0x57]
lea r9, [rbp + 0x7f]
lea r8, [rbp - 0x59]
mov rcx, r14
call fcn.140220ec0
mov edi, eax
test eax, eax
jne 0x140222fc7
mov eax, dword [rbp + 0x7f]
jmp 0x140222faa
mov edx, dword [r14 + 0x18]
mov rcx, r13
call fcn.1401f6d20
mov edi, eax
test eax, eax
jne 0x1402230fc
mov edx, dword [r14 + 0x1c]
lea r8, [rbp - 0x59]
mov rcx, r13
call fcn.1401f6200
mov edi, eax
test eax, eax
jne 0x1402230fc
mov eax, dword [r14 + 0x1c]
mov rdx, qword [rbp - 0x59]
test rdx, rdx
je 0x140222fb9
mov r12d, eax
add r12, rdx
mov r8, r12
lea rcx, [rbp - 0x49]
call fcn.140221e40
mov edi, eax
cmp dword [r14 + 0x10], 0
je 0x140222fda
cmp qword [r14 + 0x28], 0
jne 0x140222fe6
mov rcx, qword [r14]
jmp 0x140222fdd
mov rcx, r13
lea rdx, [rbp - 0x59]
call fcn.1401f6cd0
test edi, edi
jne 0x1402230fc
cmp dword [rbx + 0x84], 0xffff
jne 0x1402230fc
mov rcx, qword [rbp + 0x77]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call fcn.14021cc80
mov edi, eax
test eax, eax
jne 0x1402230fc
movzx r14d, byte [rbp + 0x6f]
test r14b, r14b
jne 0x1402230a5
mov rax, qword [rsi + 0xd0]
mov ecx, dword [rax + 0x5c]
cmp ecx, 0xffffffff
jne 0x14022305f
mov rsi, qword [rsi + 0x90]
mov eax, dword [rsi + 0x60]
mov dword [rbx + 0x2c8], eax
mov eax, dword [rsi + 0x60]
test eax, eax
je 0x140223090
nop
mov ecx, eax
call qword [r15 + 0x28]
mov dword [rsi + 0x60], eax
test eax, eax
js 0x140223050
jmp 0x140223090
mov dword [rbx + 0x2c8], ecx
mov rax, qword [rsi + 0xd0]
cmp dword [rax + 0x5c], 0
je 0x140223090
mov ecx, dword [rax + 0x5c]
call qword [r15 + 0x28]
mov rcx, qword [rsi + 0xd0]
mov dword [rcx + 0x5c], eax
mov rax, qword [rsi + 0xd0]
cmp dword [rax + 0x5c], 0
jl 0x140223072
cmp dword [rbx + 0x2c8], 0
jne 0x1402230a5
mov eax, dword [rbx + 0x218]
mov dword [rbx + 0x2c8], eax
mov eax, dword [rbx + 0x21c]
test eax, eax
je 0x1402230fc
mov edx, dword [rbx + 0x74]
mov rcx, r13
add edx, eax
add edx, dword [rbp + 0x67]
call fcn.1401f6d20
mov edi, eax
test eax, eax
jne 0x1402230fc
movzx r9d, r14b
lea rcx, [rbx + 0x290]
mov r8b, 1
mov rdx, r13
call fcn.1402213a0
mov edi, eax
test eax, eax
jne 0x1402230fc
lea rdx, [rbx + 0x2c0]
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbx + 0x290]
call fcn.140221150
mov edi, eax
mov rax, qword [rbp - 0x29]
mov rcx, qword [rbp - 0x49]
mov rdx, rax
mov rcx, qword [rcx]
call fcn.1401f9160
mov rbx, qword [rsp + 0xd8]
mov eax, edi
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret