Function at 0x140085c40
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.14005fae0
mov edi, dword [rbp + 0x7f]
mov qword [rbp - 0x29], rax
test edi, edi
jne 0x140085f60
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 0x140085dd6
mov edx, dword [rbp + 0x57]
lea r9, [rbp + 0x7f]
lea r8, [rbp - 0x59]
mov rcx, r14
call fcn.140083d20
mov edi, eax
test eax, eax
jne 0x140085e27
mov eax, dword [rbp + 0x7f]
jmp 0x140085e0a
mov edx, dword [r14 + 0x18]
mov rcx, r13
call fcn.14005d870
mov edi, eax
test eax, eax
jne 0x140085f5c
mov edx, dword [r14 + 0x1c]
lea r8, [rbp - 0x59]
mov rcx, r13
call fcn.14005cd50
mov edi, eax
test eax, eax
jne 0x140085f5c
mov eax, dword [r14 + 0x1c]
mov rdx, qword [rbp - 0x59]
test rdx, rdx
je 0x140085e19
mov r12d, eax
add r12, rdx
mov r8, r12
lea rcx, [rbp - 0x49]
call fcn.140084ca0
mov edi, eax
cmp dword [r14 + 0x10], 0
je 0x140085e3a
cmp qword [r14 + 0x28], 0
jne 0x140085e46
mov rcx, qword [r14]
jmp 0x140085e3d
mov rcx, r13
lea rdx, [rbp - 0x59]
call fcn.14005d820
test edi, edi
jne 0x140085f5c
cmp dword [rbx + 0x84], 0xffff
jne 0x140085f5c
mov rcx, qword [rbp + 0x77]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call fcn.14007fae0
mov edi, eax
test eax, eax
jne 0x140085f5c
movzx r14d, byte [rbp + 0x6f]
test r14b, r14b
jne 0x140085f05
mov rax, qword [rsi + 0xd0]
mov ecx, dword [rax + 0x5c]
cmp ecx, 0xffffffff
jne 0x140085ebf
mov rsi, qword [rsi + 0x90]
mov eax, dword [rsi + 0x60]
mov dword [rbx + 0x2c8], eax
mov eax, dword [rsi + 0x60]
test eax, eax
je 0x140085ef0
nop
mov ecx, eax
call qword [r15 + 0x28]
mov dword [rsi + 0x60], eax
test eax, eax
js 0x140085eb0
jmp 0x140085ef0
mov dword [rbx + 0x2c8], ecx
mov rax, qword [rsi + 0xd0]
cmp dword [rax + 0x5c], 0
je 0x140085ef0
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 0x140085ed2
cmp dword [rbx + 0x2c8], 0
jne 0x140085f05
mov eax, dword [rbx + 0x218]
mov dword [rbx + 0x2c8], eax
mov eax, dword [rbx + 0x21c]
test eax, eax
je 0x140085f5c
mov edx, dword [rbx + 0x74]
mov rcx, r13
add edx, eax
add edx, dword [rbp + 0x67]
call fcn.14005d870
mov edi, eax
test eax, eax
jne 0x140085f5c
movzx r9d, r14b
lea rcx, [rbx + 0x290]
mov r8b, 1
mov rdx, r13
call fcn.140084200
mov edi, eax
test eax, eax
jne 0x140085f5c
lea rdx, [rbx + 0x2c0]
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbx + 0x290]
call fcn.140083fb0
mov edi, eax
mov rax, qword [rbp - 0x29]
mov rcx, qword [rbp - 0x49]
mov rdx, rax
mov rcx, qword [rcx]
call fcn.14005fa70
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