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

Disassembly:
push rbx
push rsi
push r12
push r15
sub rsp, 0x78
mov rsi, qword [0x7ff8c3abb7a0]
mov rbx, rcx
mov r12d, dword [rcx + 0xc]
mov dword [rcx + 0x4c], 0xffffffff
cmp dword [rsi + 0x1f28], 0
jg 0x7ff8c39f0363
mov r8d, 0x6c7
lea rdx, [0x7ff8c3a982a0]
lea rcx, [0x7ff8c3a9e628]
call qword [sym.imp.ucrtbase.dll__wassert]
test dword [rsi + 0x1a6c], 0x400
mov rax, qword [rsi + 0x1f30]
mov r15, qword [rax]
jne 0x7ff8c39f039e
mov qword [rbx + 0x38], r15
mov eax, dword [r15]
mov dword [rbx + 0x40], eax
cmp qword [r15 + 0x88], rbx
sete al
mov byte [rbx + 0xce], al
add rsp, 0x78
pop r15
pop r12
pop rsi
pop rbx
ret
mov qword [rsp + 0xa8], rbp
mov ebp, r12d
mov qword [rsp + 0xb0], rdi
xor edi, edi
mov qword [rsp + 0xb8], r13
and ebp, 0x6000000
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x30], ebp
movaps xmmword [rsp + 0x40], xmm8
mov byte [rbx + 0xce], 0
je 0x7ff8c39f03e9
cmp byte [rbx + 0xd5], dil
je 0x7ff8c39f03e9
mov qword [rbx + 0x38], rdi
mov dword [rbx + 0x40], edi
test dword [rsi + 0x1dc0], 0x100
jne 0x7ff8c39f0470
mov rax, qword [rbx + 0x38]
test rax, rax
jne 0x7ff8c39f0470
mov rax, qword [rbx + 0x3d0]
test rax, rax
je 0x7ff8c39f0420
cmp byte [rax + 0xd7], dil
jne 0x7ff8c39f0420
mov rax, qword [rax + 0x38]
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x7ff8c39f0470
mov ecx, dword [rbx + 0x40]
test ecx, ecx
je 0x7ff8c39f0470
call fcn.7ff8c39eeae0
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x7ff8c39f0470
movss xmm0, dword [rbx + 0x44]
lea r8, [rbx + 0x44]
movss xmm1, dword [0x7ff8c3aa6ccc]
ucomiss xmm0, xmm1
jp 0x7ff8c39f044d
je 0x7ff8c39f0470
movss xmm0, dword [rbx + 0x48]
ucomiss xmm0, xmm1
jp 0x7ff8c39f0459
je 0x7ff8c39f0470
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x58]
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.7ff8c39effa0
mov qword [rbx + 0x38], rax
movss xmm8, dword [0x7ff8c3aa6cec]
xor r13b, r13b
test dword [rsi + 0x1dc0], 0x100
je 0x7ff8c39f04ab
mov ecx, dword [rsi + 0x1e24]
lea r14, [rbx + 0x38]
call fcn.7ff8c39eeae0
mov qword [r14], rax
mov r13b, 1
mov eax, dword [rsi + 0x1e24]
mov dword [rbx + 0x40], eax
jmp 0x7ff8c39f062d
test r12d, 0x11000000
jne 0x7ff8c39f061b
bt r12d, 0x19
jae 0x7ff8c39f04d2
mov rax, qword [rsi + 0x1f48]
lea r14, [rbx + 0x38]
mov qword [r14], rax
jmp 0x7ff8c39f062d
mov rax, qword [0x7ff8c3abb7a0]
cmp byte [rax + 0xcb], dil
jne 0x7ff8c39f04eb
test dword [rbx + 0x1c], 0x800
je 0x7ff8c39f051f
test dword [rax + 0x1a6c], 0x400
je 0x7ff8c39f051f
test byte [rbx + 0x431], 1
jne 0x7ff8c39f051f
mov eax, dword [rbx + 0xc]
test eax, 0x13000000
jne 0x7ff8c39f051f
and eax, 0xc000000
cmp eax, 0x4000000
je 0x7ff8c39f051f
lea r14, [rbx + 0x38]
jmp 0x7ff8c39f05a0
mov rax, qword [rsi + 0x1d38]
test rax, rax
je 0x7ff8c39f05bc
cmp qword [rax + 0x3e0], rbx
jne 0x7ff8c39f05bc
cmp qword [0x7ff8c3abb7a0], rdi
jne 0x7ff8c39f055f
mov r8d, 0x13a1
lea rdx, [0x7ff8c3a98470]
lea rcx, [0x7ff8c3a992d8]
call qword [sym.imp.ucrtbase.dll__wassert]
mov rax, qword [0x7ff8c3abb7a0]
movss xmm0, dword [rax + 0x120]
comiss xmm0, xmm8
movss xmm1, dword [rax + 0x124]
jb 0x7ff8c39f05bc
comiss xmm1, xmm8
jb 0x7ff8c39f05bc
mov rax, qword [rbx + 0x38]
lea r14, [rbx + 0x38]
test rax, rax
je 0x7ff8c39f062d
cmp qword [rax + 0x88], rbx
jne 0x7ff8c39f062d
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x58]
lea r8, [rbx + 0x50]
mov dword [rsp + 0x20], edi
mov rcx, rbx
call fcn.7ff8c39effa0
mov qword [r14], rax
jmp 0x7ff8c39f062d
mov rax, qword [rbx + 0x38]
lea r14, [rbx + 0x38]
test rax, rax
je 0x7ff8c39f062d
cmp rbx, qword [rax + 0x88]
jne 0x7ff8c39f062d
cmp dword [rsi + 0x1d6c], edi
jne 0x7ff8c39f062d
mov rbp, qword [0x7ff8c3abb7a0]
cmp dword [rbp + 0x1f28], edi
jg 0x7ff8c39f0603
mov r8d, 0x6c7
lea rdx, [0x7ff8c3a982a0]
lea rcx, [0x7ff8c3a9e628]
call qword [sym.imp.ucrtbase.dll__wassert]
mov rdx, qword [rbp + 0x1f30]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.7ff8c39eec60
mov ebp, dword [rsp + 0x30]
jmp 0x7ff8c39f062d
mov rax, qword [rbx + 0x3d0]
lea r14, [rbx + 0x38]
mov rcx, qword [rax + 0x38]
mov qword [r14], rcx
cmp qword [r14], rdi
jne 0x7ff8c39f065b
mov rdx, r15
mov rcx, rbx
call fcn.7ff8c39eec60
test al, al
jne 0x7ff8c39f065b
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x58]
lea r8, [rbx + 0x50]
mov dword [rsp + 0x20], edi
mov rcx, rbx
call fcn.7ff8c39effa0
mov qword [r14], rax
test r13b, r13b
mov r13, qword [rsp + 0xb8]
jne 0x7ff8c39f091e
test ebp, ebp
je 0x7ff8c39f0834
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
bt r12d, 0x19
jae 0x7ff8c39f068e
lea rax, [rsi + 0x120]
jmp 0x7ff8c39f06cd
cmp dword [rsi + 0x1f18], edi
jg 0x7ff8c39f06b0
mov r8d, 0x6d1
lea rdx, [0x7ff8c3a982a0]
lea rcx, [0x7ff8c3a9e6c8]
call qword [sym.imp.ucrtbase.dll__wassert]
movsxd rax, dword [rsi + 0x1f18]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1f20]
add rax, 0xfffffffffffffff8
shl rcx, 4
add rax, rcx
movss xmm6, dword [rax]
movss xmm7, dword [rax + 4]
cmp byte [rsi + 0x1fe2], dil
jne 0x7ff8c39f06f6
cmp byte [rsi + 0x1fe3], dil
je 0x7ff8c39f06f6
cmp qword [rsi + 0x1f88], rdi
je 0x7ff8c39f06f6
xor sil, sil
jmp 0x7ff8c39f06f9
mov sil, 1
cmp qword [0x7ff8c3abb7a0], rdi
jne 0x7ff8c39f071c
mov r8d, 0x13a1
lea rdx, [0x7ff8c3a98470]
lea rcx, [0x7ff8c3a992d8]
call qword [sym.imp.ucrtbase.dll__wassert]
comiss xmm6, xmm8
jb 0x7ff8c39f072c
comiss xmm7, xmm8
jb 0x7ff8c39f072c
mov al, 1
jmp 0x7ff8c39f072e
xor al, al
cmp byte [rbx + 0xd5], dil
jne 0x7ff8c39f0740
test r12d, 0x12000000
je 0x7ff8c39f0749
test sil, sil
je 0x7ff8c39f0778
test al, al
jne 0x7ff8c39f0765
mov rax, qword [r14]
movsx edi, word [rax + 0x80]
mov dword [rbx + 0x4c], edi
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x60]
jmp 0x7ff8c39f091e
movss dword [rsp + 0x38], xmm6
lea r12, [rsp + 0x38]
movss dword [rsp + 0x3c], xmm7
jmp 0x7ff8c39f0785
lea rcx, [rsp + 0x30]
call fcn.7ff8c39e9d30
mov r12, rax
mov r15, qword [0x7ff8c3abb7a0]
mov ecx, dword [r15 + 0x1618]
test ecx, ecx
jle 0x7ff8c39f081d
mov rbp, rdi
mov rsi, rdi
test rbp, rbp
js 0x7ff8c39f07aa
cmp edi, ecx
jl 0x7ff8c39f07c4
mov r8d, 0x6c7
lea rdx, [0x7ff8c3a982a0]
lea rcx, [0x7ff8c3a9e628]
call qword [sym.imp.ucrtbase.dll__wassert]
mov rax, qword [r15 + 0x1620]
movss xmm4, dword [r12]
movss xmm0, dword [rsi + rax]
comiss xmm4, xmm0
movss xmm3, dword [rsi + rax + 4]
movaps xmm1, xmm0
addss xmm1, dword [rsi + rax + 8]
movaps xmm2, xmm3
addss xmm2, dword [rsi + rax + 0xc]
jb 0x7ff8c39f0809
movss xmm0, dword [r12 + 4]
comiss xmm0, xmm3
jb 0x7ff8c39f0809
comiss xmm1, xmm4
jbe 0x7ff8c39f0809
comiss xmm2, xmm0
ja 0x7ff8c39f0822
mov ecx, dword [r15 + 0x1618]
inc edi
inc rbp
add rsi, 0x24
cmp edi, ecx
jl 0x7ff8c39f07a1
mov edi, 0xffffffff
mov dword [rbx + 0x4c], edi
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x60]
jmp 0x7ff8c39f091e
mov rcx, qword [r14]
test rcx, rcx
je 0x7ff8c39f0908
mov rax, qword [rcx + 0x88]
cmp rbx, rax
je 0x7ff8c39f0908
test rax, rax
je 0x7ff8c39f0908
bt r12d, 0x18
jb 0x7ff8c39f0908
movzx eax, byte [rbx + 0x431]
test al, 1
je 0x7ff8c39f0877
test al, 2
jne 0x7ff8c39f0877
xor dl, dl
jmp 0x7ff8c39f0879
mov dl, 1
test dword [rbx + 0xc], 0x20000000
je 0x7ff8c39f08a8
mov eax, dword [rsi + 0x1c90]
cmp dword [rcx + 0x64], eax
jge 0x7ff8c39f08a8
test dl, dl
je 0x7ff8c39f08a8
mov qword [rcx + 0x88], rbx
mov eax, dword [rbx + 8]
mov rcx, qword [r14]
mov dword [rcx], eax
mov rax, qword [r14]
mov dword [rax + 0x6c], edi
jmp 0x7ff8c39f091e
mov rdi, qword [0x7ff8c3abb7a0]
cmp dword [rdi + 0x1f28], 0
jg 0x7ff8c39f08d2
mov r8d, 0x6c7
lea rdx, [0x7ff8c3a982a0]
lea rcx, [0x7ff8c3a9e628]
call qword [sym.imp.ucrtbase.dll__wassert]
mov rdx, qword [rdi + 0x1f30]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.7ff8c39eec60
test al, al
jne 0x7ff8c39f091e
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x58]
lea r8, [rbx + 0x50]
mov dword [rsp + 0x20], 0x20
mov rcx, rbx
call fcn.7ff8c39effa0
mov qword [r14], rax
jmp 0x7ff8c39f091e
cmp dword [rbx + 0x4c], edi
jge 0x7ff8c39f091e
bt r12d, 0x18
jb 0x7ff8c39f091e
movsx eax, word [rcx + 0x80]
mov dword [rbx + 0x4c], eax
mov rcx, qword [r14]
movaps xmm8, xmmword [rsp + 0x40]
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xb0]
cmp rbx, qword [rcx + 0x88]
mov rbp, qword [rsp + 0xa8]
sete al
mov byte [rbx + 0xce], al
mov eax, dword [rcx]
mov dword [rbx + 0x40], eax
add rsp, 0x78
pop r15
pop r12
pop rsi
pop rbx
ret