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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
sub rsp, 0xb0
mov rdi, qword [0x1400b33c0]
mov qword [rax + 0x18], rbx
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], r12
mov r12d, dword [rdi + 8]
mov qword [rax - 0x30], r13
mov r13d, 3
mov qword [rax - 0x38], r15
movaps xmmword [rsp + 0x40], xmm10
mov byte [rdi + 0xdb], 0
test r12b, 2
je 0x14001716e
test byte [rdi + 0xc], 1
je 0x14001716e
movdqa xmm0, xmmword [0x1400a9ac0]
lea rbx, [rsp + 0x20]
movdqa xmm1, xmmword [0x1400a9ad0]
mov bpl, 1
movdqu xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
mov esi, dword [rbx]
mov edx, esi
mov rcx, qword [0x1400b33c0]
call fcn.140010900
cmp byte [rax], 0
je 0x140017159
xor edx, edx
mov ecx, esi
call fcn.140013410
test al, al
je 0x140017159
mov dword [rdi + 0x48dc], r13d
add rbx, 4
lea rax, [rsp + 0x40]
cmp rbx, rax
jne 0x140017130
movzx r12d, byte [rdi + 8]
jmp 0x140017171
xor bpl, bpl
movdqa xmm0, xmmword [0x1400a9ab0]
mov dword [rsp + 0x30], 0x201
mov dword [rsp + 0x34], 0x203
mov dword [rsp + 0x38], 0x204
movdqu xmmword [rsp + 0x20], xmm0
and r12b, 1
je 0x1400171ea
lea rbx, [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
mov esi, dword [rbx]
mov edx, esi
mov rcx, qword [0x1400b33c0]
call fcn.140010900
cmp byte [rax], 0
je 0x1400171dc
xor edx, edx
mov ecx, esi
call fcn.140013410
test al, al
je 0x1400171dc
mov dword [rdi + 0x48dc], 2
add rbx, 4
lea rax, [rsp + 0x3c]
cmp rbx, rax
jne 0x1400171b0
cmp dword [rdi + 0x48ec], 0
je 0x14001726e
mov rbx, qword [0x1400b33c0]
mov r9, qword [rbx + 0x48a8]
test r9, r9
je 0x14001726e
test byte [rbx + 0x5c94], 8
je 0x14001722c
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rbx + 0x48e0]
mov edx, dword [rbx + 0x48ec]
call fcn.14001baf0
mov edx, dword [rbx + 0x48e0]
lea r9, [rbx + 0x48f0]
mov ecx, dword [rbx + 0x48ec]
xor r8d, r8d
call fcn.1400159e0
cmp byte [rbx + 0x48ea], 0
mov byte [rbx + 0x48e4], 1
je 0x14001726e
mov rax, qword [0x1400b33c0]
mov word [rax + 0x48e5], 1
mov byte [rax + 0x48e7], 1
xor r14d, r14d
mov word [rdi + 0x48e9], 0
mov dword [rdi + 0x48ec], r14d
mov dword [rdi + 0x48c8], r14d
cmp byte [rdi + 0x4900], r14b
je 0x140017296
call fcn.140018600
xor al, al
mov dword [rdi + 0x4944], r14d
mov esi, 1
mov word [rdi + 0x4900], r14w
mov dword [rsp + 0xd8], eax
cmp byte [rdi + 0x48e5], r14b
je 0x1400172eb
cmp byte [rdi + 0x48e4], r14b
je 0x1400172eb
cmp byte [rdi + 0x48e6], r14b
jne 0x1400172eb
cmp byte [rdi + 0x48e7], r14b
je 0x1400172eb
cmp qword [rdi + 0x48a8], r14
movzx eax, al
cmovne eax, esi
mov dword [rsp + 0xd8], eax
mov byte [rdi + 0x48e5], r14b
cmp dword [rdi + 0x48e0], esi
jbe 0x140017314
mov r8d, 0x2bf4
lea rdx, str.E:ImGui_Designerdivinity_menu_masterdivinity_menu_masterimgui.cpp
lea rcx, str.g.NavLayer__ImGuiNavLayer_Main__g.NavLayer__ImGuiNavLayer_Menu
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x48a8]
test rcx, rcx
je 0x14001734f
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x140017343
test dword [rax + 0x14], 0x14000000
jne 0x140017343
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140017323
jmp 0x14001734f
cmp rax, rcx
je 0x14001734f
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x140017374
cmp qword [rax + 0x398], r14
je 0x140017374
cmp dword [rdi + 0x48e0], r14d
jne 0x140017374
mov qword [rax + 0x398], r14
call fcn.1400195c0
test r12b, r12b
jne 0x140017387
test bpl, bpl
je 0x1400174c1
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x1400174c1
test dword [rax + 0x14], 0x40000
jne 0x1400174c1
mov byte [rdi + 0xdd], sil
cmp dword [rdi + 0x48b0], r14d
je 0x1400174c8
cmp byte [rdi + 0x48e6], r14b
jne 0x1400174c8
movzx eax, sil
movzx r15d, bpl
mov byte [rdi + 0xde], al
call fcn.140018920
mov qword [rdi + 0x48bc], r14
mov dword [rdi + 0x48b8], r14d
mov dword [rdi + 0x48c4], r14d
cmp dword [rdi + 0x48b0], r14d
je 0x140017600
cmp byte [rdi + 0x48e6], r14b
jne 0x140017600
cmp qword [rdi + 0x4a10], r14
jne 0x140017600
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x140017600
test dword [rax + 0x14], 0x40000
jne 0x140017600
test r12b, r12b
je 0x14001745c
mov rcx, qword [0x1400b33c0]
mov edx, 0x20c
call fcn.140010900
cmp byte [rax], r14b
je 0x14001745c
xor edx, edx
mov ecx, 0x20c
call fcn.140013410
test al, al
jne 0x140017487
test bpl, bpl
je 0x1400174dc
mov rcx, qword [0x1400b33c0]
mov edx, 0x26e
call fcn.140010900
cmp byte [rax], r14b
je 0x1400174dc
xor edx, edx
mov ecx, 0x26e
call fcn.140013410
test al, al
je 0x1400174dc
movzx r15d, sil
test r12b, r12b
je 0x1400174a3
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140011170
test al, al
jne 0x1400174bb
test bpl, bpl
je 0x1400174df
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140011170
test al, al
je 0x1400174df
movzx r14d, sil
jmp 0x1400174df
mov byte [rdi + 0xdd], r14b
cmp qword [rdi + 0x4a10], r14
jne 0x1400173c5
xor al, al
jmp 0x1400173c9
xor r15b, r15b
test r12b, r12b
je 0x14001750a
mov rcx, qword [0x1400b33c0]
mov edx, 0x20d
call fcn.140010900
cmp byte [rax], 0
je 0x14001750a
xor edx, edx
mov ecx, 0x20d
call fcn.140013410
test al, al
jne 0x140017535
test bpl, bpl
je 0x14001756e
mov rcx, qword [0x1400b33c0]
mov edx, 0x26d
call fcn.140010900
cmp byte [rax], 0
je 0x14001756e
xor edx, edx
mov ecx, 0x26d
call fcn.140013410
test al, al
je 0x14001756e
movzx ebx, sil
test r12b, r12b
je 0x140017551
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140011170
test al, al
jne 0x140017569
test bpl, bpl
je 0x140017570
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140011170
test al, al
je 0x140017570
movzx edx, bl
jmp 0x140017572
xor bl, bl
xor dl, dl
mov ecx, dword [rdi + 0x3f28]
test ecx, ecx
jne 0x140017599
test r14b, r14b
je 0x1400175a1
mov eax, dword [rdi + 0x48b0]
mov dword [rdi + 0x48b8], eax
mov dword [rdi + 0x48c4], 2
jmp 0x1400175a1
cmp ecx, dword [rdi + 0x48b0]
jne 0x1400175f9
test dl, dl
je 0x1400175b7
mov eax, dword [rdi + 0x48b0]
mov dword [rdi + 0x48b8], eax
mov dword [rdi + 0x48c4], esi
test ecx, ecx
je 0x1400175c3
cmp ecx, dword [rdi + 0x48b0]
jne 0x1400175f9
test r15b, r15b
jne 0x1400175cc
test bl, bl
je 0x1400175d8
mov eax, dword [rdi + 0x48b0]
mov dword [rdi + 0x48bc], eax
test ecx, ecx
je 0x1400175e4
cmp ecx, dword [rdi + 0x48b0]
jne 0x1400175f9
test r14b, r14b
jne 0x1400175ed
test dl, dl
je 0x1400175f9
mov eax, dword [rdi + 0x48b0]
mov dword [rdi + 0x48c0], eax
movzx r15d, bpl
xor r14d, r14d
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x14001761c
test dword [rax + 0x14], 0x40000
je 0x14001761c
mov byte [rdi + 0x48e6], sil
mov eax, dword [rdi + 0x48b8]
test eax, eax
je 0x140017648
cmp dword [rdi + 0x48bc], eax
je 0x140017648
mov r8d, 0x2c21
lea rdx, str.E:ImGui_Designerdivinity_menu_masterdivinity_menu_masterimgui.cpp
lea rcx, str.g.NavActivateDownId__g.NavActivateId
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x48d4]
test eax, eax
je 0x140017670
mov dword [rdi + 0x48c0], eax
mov dword [rdi + 0x48bc], eax
mov dword [rdi + 0x48b8], eax
mov eax, dword [rdi + 0x48d8]
mov dword [rdi + 0x48c4], eax
mov dword [rdi + 0x48d4], r14d
call fcn.140017b90
cmp dword [rdi + 0x4910], 0xffffffff
xorps xmm10, xmm10
jne 0x1400177ed
mov rbx, qword [0x1400b33c0]
cmp dword [rbx + 0x4910], 0xffffffff
mov r14, qword [rbx + 0x48a8]
je 0x1400176be
mov r8d, 0x2cf1
lea rdx, str.E:ImGui_Designerdivinity_menu_masterdivinity_menu_masterimgui.cpp
lea rcx, str.g.NavMoveDir__ImGuiDir_None
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test r14, r14
je 0x1400177ea
cmp qword [rbx + 0x4a10], 0
jne 0x1400177ea
test dword [r14 + 0x14], 0x40000
jne 0x1400177ea
mov rcx, qword [0x1400b33c0]
mov edx, 0x200
call fcn.140010900
cmp byte [rax], 0
je 0x1400177ea
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x1400177ea
ucomiss xmm0, xmm10
jp 0x140017714
je 0x140017740
mov rax, qword [0x1400b33c0]
movss xmm1, dword [rax + 0x3c]
comiss xmm0, xmm1
jbe 0x1400177ea
movss xmm2, dword [rax + 0x40]
mov ecx, 0x200
call fcn.140010ae0
test eax, eax
jle 0x1400177ea
mov edx, 0xffffffff
mov ecx, 0x200
call fcn.140013410
test al, al
je 0x1400177ea
cmp byte [rbx + 0xe24], 0
jne 0x1400177ea
cmp byte [rbx + 0xe26], 0
jne 0x1400177ea
movzx eax, byte [rbx + 0xe25]
test byte [rbx + 8], sil
je 0x14001779b
test al, al
je 0x140017785
mov esi, 0xffffffff
jmp 0x1400177b2
cmp byte [rbx + 0x48e6], sil
jne 0x1400177b2
cmp dword [rbx + 0x3f28], 0
jne 0x1400177b2
xor esi, esi
jmp 0x1400177b2
test al, al
je 0x1400177a6
mov esi, 0xffffffff
jmp 0x1400177b2
xor esi, esi
cmp dword [rbx + 0x3f28], esi
setne sil
mov dword [rbx + 0x4940], esi
mov eax, 0x21
cmp byte [r14 + 0xbc], 0
mov r8d, 0x400
cmovne r13d, eax
sar esi, 0x1f
mov r9d, r13d
lea ecx, [rax - 0x22]
lea edx, [rsi + 3]
call fcn.140016850
mov dword [rbx + 0x4944], 0xffffffff
xor r14d, r14d
mov rax, qword [0x1400b33c0]
mov r13, qword [rsp + 0x98]
cmp byte [rax + 0x4901], 0
jne 0x140017817
cmp byte [rax + 0x48e9], 0
jne 0x140017817
mov byte [rax + 0x48e8], 0
jmp 0x140017846
cmp qword [rax + 0x48a8], 0
movzx ebp, r15b
mov byte [rax + 0x48e8], 1
jne 0x140017846
mov r8d, 0x2b72
lea rdx, str.E:ImGui_Designerdivinity_menu_masterdivinity_menu_masterimgui.cpp
lea rcx, str.g.NavWindow___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rsi, qword [rdi + 0x48a8]
mov r15, qword [rsp + 0x90]
mov byte [rdi + 0x48e4], 0
test rsi, rsi
je 0x140017af7
test dword [rsi + 0x14], 0x40000
jne 0x140017af7
cmp qword [rdi + 0x4a10], 0
jne 0x140017af7
mov rax, qword [rsi]
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm8
movss xmm0, dword [rax + 0x3c2c]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x1400178b2
mulss xmm0, dword [rax + 0x290]
cmp word [rsi + 0x15c], 0
mulss xmm0, dword [0x1400a9978]
mov ecx, dword [rdi + 0x4910]
movss xmm7, dword [0x1400a98a0]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x1400a9874]
cvttss2si eax, xmm0
movd xmm8, eax
cvtdq2ps xmm8, xmm8
jne 0x140017988
cmp byte [rsi + 0x161], 0
je 0x140017988
cmp ecx, 0xffffffff
je 0x140017988
movss xmm1, dword [0x1400a99d4]
test ecx, ecx
je 0x14001791c
cmp ecx, 1
jne 0x14001794d
movaps xmm0, xmm7
jmp 0x14001791f
movaps xmm0, xmm1
mulss xmm0, xmm8
mov dword [rsi + 0x9c], r14d
mov dword [rsi + 0xa4], r14d
addss xmm0, dword [rsi + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x94], xmm0
cmp ecx, 2
je 0x14001795a
cmp ecx, 3
jne 0x140017988
movaps xmm1, xmm7
mulss xmm1, xmm8
mov dword [rsi + 0xa0], r14d
mov dword [rsi + 0xa8], r14d
addss xmm1, dword [rsi + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x98], xmm0
test bpl, bpl
je 0x140017aec
mov rcx, qword [0x1400b33c0]
mov edx, 0x27c
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x50], xmm9
call fcn.140010900
mov rcx, qword [0x1400b33c0]
mov edx, 0x27b
mov rbx, rax
call fcn.140010900
movss xmm6, dword [rbx + 0xc]
mov edx, 0x27a
mov rcx, qword [0x1400b33c0]
subss xmm6, dword [rax + 0xc]
call fcn.140010900
mov rcx, qword [0x1400b33c0]
mov edx, 0x279
mov rbx, rax
call fcn.140010900
movss xmm9, dword [rbx + 0xc]
mov edx, 0x273
mov rcx, qword [0x1400b33c0]
subss xmm9, dword [rax + 0xc]
call fcn.140010900
cmp byte [rax], 0
je 0x140017a2f
xor edx, edx
mov ecx, 0x273
call fcn.140013410
test al, al
je 0x140017a2f
movss xmm7, dword [0x1400a9848]
jmp 0x140017a5d
mov rcx, qword [0x1400b33c0]
mov edx, 0x274
call fcn.140010900
cmp byte [rax], 0
je 0x140017a5d
xor edx, edx
mov ecx, 0x274
call fcn.140013410
test al, al
je 0x140017a5d
movss xmm7, dword [0x1400a9914]
ucomiss xmm9, xmm10
jp 0x140017a65
je 0x140017aa4
cmp byte [rsi + 0xb4], 0
je 0x140017aa4
movaps xmm0, xmm8
mov dword [rsi + 0x9c], r14d
mulss xmm0, xmm9
mov dword [rsi + 0xa4], r14d
mulss xmm0, xmm7
addss xmm0, dword [rsi + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x94], xmm0
ucomiss xmm6, xmm10
movaps xmm9, xmmword [rsp + 0x50]
jp 0x140017ab2
je 0x140017ae4
mulss xmm6, xmm8
mov dword [rsi + 0xa0], r14d
mov dword [rsi + 0xa8], r14d
mulss xmm6, xmm7
addss xmm6, dword [rsi + 0x88]
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x98], xmm0
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm10, xmmword [rsp + 0x40]
test r12b, r12b
mov r12, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xe0]
jne 0x140017b2a
test bpl, bpl
jne 0x140017b2a
mov word [rdi + 0x48e6], 1
jmp 0x140017b7d
cmp byte [rsp + 0xd8], 0
je 0x140017b7d
test byte [rdi + 8], 4
je 0x140017b7d
test byte [rdi + 0xc], 4
je 0x140017b7d
lea rcx, [rsp + 0xd0]
call fcn.140016e60
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x36f0], xmm0
movss dword [rdi + 0x36f4], xmm1
movss dword [rdi + 0xe08], xmm0
movss dword [rdi + 0xe0c], xmm1
mov byte [rdi + 0xdb], 1
mov dword [rdi + 0x493c], r14d
add rsp, 0xb0
pop r14
pop rdi
pop rbp
ret