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

Disassembly:
push rbx
push rsi
push r12
push r15
sub rsp, 0x78
mov rsi, qword [0x1401219b0]
mov rbx, rcx
mov r12d, dword [rcx + 0x14]
mov dword [rcx + 0x4c], 0xffffffff
cmp dword [rsi + 0x49f8], 0
jg 0x140047de3
mov r8d, 0x754
lea rdx, str.E:Ovix_FilesOvixRDRLoaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test dword [rsi + 0x3d2c], 0x400
mov rax, qword [rsi + 0x4a00]
mov qword [rsp + 0xb0], rdi
mov r15, qword [rax]
jne 0x140047e3d
cmp byte [rbx + 0xea], 0
je 0x140047e21
mov rax, qword [rbx + 0x38]
cmp qword [rax + 0x60], rbx
jne 0x140047e21
xor edi, edi
xorps xmm0, xmm0
mov dword [rax + 0x10], edi
movss dword [rax + 0x14], xmm0
mov qword [rbx + 0x38], r15
mov eax, dword [r15]
mov dword [rbx + 0x40], eax
cmp qword [r15 + 0x60], rbx
sete al
mov byte [rbx + 0xea], al
jmp 0x140048479
mov qword [rsp + 0xa8], rbp
xor edi, edi
mov qword [rsp + 0xb8], r13
mov ebp, r12d
and ebp, 0x6000000
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x30], ebp
movaps xmmword [rsp + 0x40], xmm8
mov byte [rbx + 0xea], 0
je 0x140047e80
cmp byte [rbx + 0xf1], dil
je 0x140047e80
mov qword [rbx + 0x38], rdi
mov dword [rbx + 0x40], edi
test dword [rsi + 0x48e0], 0x100
jne 0x140047f14
mov rax, qword [rbx + 0x38]
test rax, rax
jne 0x140047f14
mov rax, qword [rbx + 0x3a8]
test rax, rax
je 0x140047ec4
cmp byte [rax + 0xf3], dil
je 0x140047eb7
cmp byte [rax + 0xec], dil
je 0x140047ec4
mov rax, qword [rax + 0x38]
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x140047f14
mov ecx, dword [rbx + 0x40]
test ecx, ecx
je 0x140047f14
call fcn.140046380
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x140047f14
movss xmm0, dword [rbx + 0x44]
lea r8, [rbx + 0x44]
movss xmm1, dword [0x1400e49ac]
ucomiss xmm0, xmm1
jp 0x140047ef1
je 0x140047f14
movss xmm0, dword [rbx + 0x48]
ucomiss xmm0, xmm1
jp 0x140047efd
je 0x140047f14
mov edx, dword [rbx + 0x10]
lea r9, [rbx + 0x58]
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.1400477f0
mov qword [rbx + 0x38], rax
movss xmm8, dword [0x1400e49c8]
xor r13b, r13b
test dword [rsi + 0x48e0], 0x100
je 0x140047f4f
mov ecx, dword [rsi + 0x4944]
lea r14, [rbx + 0x38]
call fcn.140046380
mov qword [r14], rax
mov r13b, 1
mov eax, dword [rsi + 0x4944]
mov dword [rbx + 0x40], eax
jmp 0x140048141
mov rax, qword [rbx + 0x438]
test r12d, 0x11000000
jne 0x1400480f3
test rax, rax
je 0x140047f84
mov rax, qword [rax + 0x88]
test rax, rax
je 0x140047f84
mov rax, qword [rax + 0x38]
lea r14, [rbx + 0x38]
mov qword [r14], rax
jmp 0x140048141
bt r12d, 0x19
jae 0x140047f9e
mov rax, qword [rsi + 0x4a18]
lea r14, [rbx + 0x38]
mov qword [r14], rax
jmp 0x140048141
mov rax, qword [0x1401219b0]
cmp byte [rax + 0x7c], dil
jne 0x140047fb4
test dword [rbx + 0x24], 0x200
je 0x140047fe5
test dword [rax + 0x3d2c], 0x400
je 0x140047fe5
test byte [rbx + 0x41d], 1
jne 0x140047fe5
mov eax, dword [rbx + 0x14]
test eax, 0x13000000
jne 0x140047fe5
and eax, 0xc000000
cmp eax, 0x4000000
je 0x140047fe5
lea r14, [rbx + 0x38]
jmp 0x140048063
mov rax, qword [rsi + 0x4020]
test rax, rax
je 0x140048082
cmp qword [rax + 0x3c8], rbx
jne 0x140048082
cmp qword [0x1401219b0], rdi
jne 0x140048025
mov r8d, 0x22a3
lea rdx, str.E:Ovix_FilesOvixRDRLoaderimguiimgui.cpp
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x1401219b0]
movss xmm0, dword [rax + 0xe10]
comiss xmm0, xmm8
movss xmm1, dword [rax + 0xe14]
jb 0x140048082
comiss xmm1, xmm8
jb 0x140048082
mov rax, qword [rbx + 0x38]
lea r14, [rbx + 0x38]
test rax, rax
je 0x140048141
cmp qword [rax + 0x60], rbx
jne 0x140048141
mov edx, dword [rbx + 0x10]
lea r9, [rbx + 0x58]
lea r8, [rbx + 0x50]
mov dword [rsp + 0x20], edi
mov rcx, rbx
call fcn.1400477f0
mov qword [r14], rax
jmp 0x140048141
mov rax, qword [rbx + 0x38]
lea r14, [rbx + 0x38]
test rax, rax
je 0x140048141
cmp rbx, qword [rax + 0x60]
jne 0x140048141
cmp dword [rsi + 0x4068], edi
je 0x1400480b2
cmp byte [rsi + 0x4075], dil
je 0x140048141
mov rbp, qword [0x1401219b0]
cmp dword [rbp + 0x49f8], edi
jg 0x1400480db
mov r8d, 0x754
lea rdx, str.E:Ovix_FilesOvixRDRLoaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdx, qword [rbp + 0x4a00]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.140046500
mov ebp, dword [rsp + 0x30]
jmp 0x140048141
test rax, rax
je 0x14004812f
mov rdx, qword [rax + 0x88]
test rdx, rdx
je 0x14004812f
mov rax, qword [rbx + 0x3a8]
mov rcx, qword [rax + 0x38]
cmp qword [rdx + 0x38], rcx
je 0x14004812f
mov r8d, 0x37b0
lea rdx, str.E:Ovix_FilesOvixRDRLoaderimguiimgui.cpp
lea rcx, str.window__DockNode__HostWindow__Viewport__window__ParentWindow__Viewport
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x3a8]
lea r14, [rbx + 0x38]
mov rcx, qword [rax + 0x38]
mov qword [r14], rcx
cmp qword [r14], rdi
jne 0x14004816f
mov rdx, r15
mov rcx, rbx
call fcn.140046500
test al, al
jne 0x14004816f
mov edx, dword [rbx + 0x10]
lea r9, [rbx + 0x58]
lea r8, [rbx + 0x50]
mov dword [rsp + 0x20], edi
mov rcx, rbx
call fcn.1400477f0
mov qword [r14], rax
test r13b, r13b
mov r13, qword [rsp + 0xb8]
jne 0x140048451
test ebp, ebp
je 0x140048344
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
bt r12d, 0x19
jae 0x1400481a2
lea rax, [rsi + 0xe10]
jmp 0x1400481dd
cmp dword [rsi + 0x49e0], edi
jg 0x1400481c4
mov r8d, 0x75d
lea rdx, str.E:Ovix_FilesOvixRDRLoaderimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [rsi + 0x49e0]
imul rcx, rax, 0x38
mov rax, qword [rsi + 0x49e8]
add rax, 0xfffffffffffffff4
add rax, rcx
movss xmm6, dword [rax]
movss xmm7, dword [rax + 4]
cmp byte [rsi + 0x4a96], dil
jne 0x140048206
cmp byte [rsi + 0x4a97], dil
je 0x140048206
cmp qword [rsi + 0x4a58], rdi
je 0x140048206
xor sil, sil
jmp 0x140048209
mov sil, 1
cmp qword [0x1401219b0], rdi
jne 0x14004822c
mov r8d, 0x22a3
lea rdx, str.E:Ovix_FilesOvixRDRLoaderimguiimgui.cpp
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
comiss xmm6, xmm8
jb 0x14004823c
comiss xmm7, xmm8
jb 0x14004823c
mov al, 1
jmp 0x14004823e
xor al, al
cmp byte [rbx + 0xf1], dil
jne 0x140048250
test r12d, 0x12000000
je 0x140048259
test sil, sil
je 0x140048288
test al, al
jne 0x140048275
mov rax, qword [r14]
movsx edi, word [rax + 0x8a]
mov dword [rbx + 0x4c], edi
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x60]
jmp 0x140048451
movss dword [rsp + 0x38], xmm6
lea r12, [rsp + 0x38]
movss dword [rsp + 0x3c], xmm7
jmp 0x140048295
lea rcx, [rsp + 0x30]
call fcn.1400410c0
mov r12, rax
mov r15, qword [0x1401219b0]
mov ecx, dword [r15 + 0x38c0]
test ecx, ecx
jle 0x14004832d
mov rbp, rdi
mov rsi, rdi
test rbp, rbp
js 0x1400482ba
cmp edi, ecx
jl 0x1400482d4
mov r8d, 0x754
lea rdx, str.E:Ovix_FilesOvixRDRLoaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r15 + 0x38c8]
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 0x140048319
movss xmm0, dword [r12 + 4]
comiss xmm0, xmm3
jb 0x140048319
comiss xmm1, xmm4
jbe 0x140048319
comiss xmm2, xmm0
ja 0x140048332
mov ecx, dword [r15 + 0x38c0]
inc edi
inc rbp
add rsi, 0x24
cmp edi, ecx
jl 0x1400482b1
mov edi, 0xffffffff
mov dword [rbx + 0x4c], edi
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x60]
jmp 0x140048451
mov rcx, qword [r14]
test rcx, rcx
je 0x14004843b
mov r9, qword [rcx + 0x60]
cmp rbx, r9
je 0x14004843b
test r9, r9
je 0x14004843b
bt r12d, 0x18
jb 0x14004843b
cmp qword [rbx + 0x438], rdi
jne 0x14004843b
movzx edx, byte [rbx + 0x41d]
and dl, 5
test dword [rbx + 0x14], 0x20000000
je 0x1400483db
mov eax, dword [rsi + 0x3f60]
cmp dword [rcx + 0x6c], eax
jge 0x1400483db
cmp dl, 1
je 0x1400483db
test dword [rsi + 0x5e94], 0x100
je 0x1400483c4
mov r8d, dword [rcx]
lea rcx, str._viewport__Window__s_steal_Viewport__08X_from_Window__s_n
mov r9, qword [r9 + 8]
mov rdx, qword [rbx + 8]
call fcn.140054c60
mov rax, qword [r14]
mov qword [rax + 0x60], rbx
mov eax, dword [rbx + 0x10]
mov rcx, qword [r14]
mov dword [rcx], eax
mov rax, qword [r14]
mov dword [rax + 0x74], edi
jmp 0x140048451
mov rdi, qword [0x1401219b0]
cmp dword [rdi + 0x49f8], 0
jg 0x140048405
mov r8d, 0x754
lea rdx, str.E:Ovix_FilesOvixRDRLoaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdx, qword [rdi + 0x4a00]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.140046500
test al, al
jne 0x140048451
mov edx, dword [rbx + 0x10]
lea r9, [rbx + 0x58]
lea r8, [rbx + 0x50]
mov dword [rsp + 0x20], 0x20
mov rcx, rbx
call fcn.1400477f0
mov qword [r14], rax
jmp 0x140048451
cmp dword [rbx + 0x4c], edi
jge 0x140048451
bt r12d, 0x18
jb 0x140048451
movsx eax, word [rcx + 0x8a]
mov dword [rbx + 0x4c], eax
mov rcx, qword [r14]
movaps xmm8, xmmword [rsp + 0x40]
mov r14, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xa8]
cmp rbx, qword [rcx + 0x60]
sete al
mov byte [rbx + 0xea], al
mov eax, dword [rcx]
mov dword [rbx + 0x40], eax
mov rdi, qword [rsp + 0xb0]
add rsp, 0x78
pop r15
pop r12
pop rsi
pop rbx
ret