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

Disassembly:
mov rax, rsp
push rsi
push rdi
push r13
sub rsp, 0xc0
mov rdi, qword [0x1400b2460]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], r12
test byte [rdi + 8], 2
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
movaps xmmword [rax - 0x78], xmm10
mov byte [rdi + 0xdb], 0
je 0x1400178f9
test byte [rdi + 0xc], 1
je 0x1400178f9
movdqa xmm0, xmmword [0x1400a8a50]
lea r14, [rsp + 0x40]
movdqa xmm1, xmmword [0x1400a8a60]
mov sil, 1
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
nop dword [rax]
mov ebx, dword [r14]
mov edx, ebx
mov rcx, qword [0x1400b2460]
call fcn.140010e30
cmp byte [rax], 0
je 0x1400178e9
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x1400178cb
cmp ebx, 0x1000
je 0x1400178cb
cmp ebx, 0x2000
je 0x1400178cb
cmp ebx, 0x4000
je 0x1400178cb
cmp ebx, 0x8000
je 0x1400178cb
cmp ebx, 0x800
jne 0x1400178df
mov rcx, qword [0x1400b2460]
mov edx, ebx
call fcn.140002460
cmp byte [rax + 8], 0
jne 0x1400178e9
mov dword [rdi + 0x48dc], 3
add r14, 4
lea rax, [rsp + 0x60]
cmp r14, rax
jne 0x140017880
jmp 0x1400178fc
xor sil, sil
movzx r15d, byte [rdi + 8]
movdqa xmm0, xmmword [0x1400a8a40]
and r15b, 1
mov byte [rsp + 0xe0], r15b
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x201
mov dword [rsp + 0x34], 0x203
mov dword [rsp + 0x38], 0x204
je 0x1400179b7
lea r14, [rsp + 0x20]
nop
mov ebx, dword [r14]
mov edx, ebx
mov rcx, qword [0x1400b2460]
call fcn.140010e30
cmp byte [rax], 0
je 0x1400179a9
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x14001798b
cmp ebx, 0x1000
je 0x14001798b
cmp ebx, 0x2000
je 0x14001798b
cmp ebx, 0x4000
je 0x14001798b
cmp ebx, 0x8000
je 0x14001798b
cmp ebx, 0x800
jne 0x14001799f
mov rcx, qword [0x1400b2460]
mov edx, ebx
call fcn.140002460
cmp byte [rax + 8], 0
jne 0x1400179a9
mov dword [rdi + 0x48dc], 2
add r14, 4
lea rax, [rsp + 0x3c]
cmp r14, rax
jne 0x140017940
xor r12d, r12d
cmp dword [rdi + 0x48ec], r12d
je 0x140017acc
mov rbx, qword [0x1400b2460]
mov r9, qword [rbx + 0x48a8]
test r9, r9
je 0x140017acc
test byte [rbx + 0x5c94], 8
je 0x140017a04
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.14001c5d0
mov rbp, qword [0x1400b2460]
movsxd r14, dword [rbx + 0x48e0]
mov r15d, dword [rbx + 0x48ec]
cmp qword [rbp + 0x48a8], r12
jne 0x140017a3c
mov r8d, 0x29a9
lea rdx, str.C:UsersKifoxxxxe_Cheat_V2Desktopdivinity_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]
cmp r14d, 1
jbe 0x140017a5c
mov r8d, 0x29aa
lea rdx, str.C:UsersKifoxxxxe_Cheat_V2Desktopdivinity_menu_masterdivinity_menu_masterimgui.cpp
lea rcx, str.nav_layer__ImGuiNavLayer_Main__nav_layer__ImGuiNavLayer_Menu
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0x48a8]
mov rcx, r14
mov dword [rbp + 0x48b0], r15d
add rcx, rcx
mov dword [rbp + 0x48e0], r14d
mov dword [rbp + 0x48b4], r12d
mov dword [rax + r14*4 + 0x3a0], r15d
mov rax, qword [rbp + 0x48a8]
movups xmm0, xmmword [rbx + 0x48f0]
movzx r15d, byte [rsp + 0xe0]
movups xmmword [rax + rcx*8 + 0x3a8], xmm0
mov byte [rbx + 0x48e4], 1
cmp byte [rbx + 0x48ea], r12b
je 0x140017acc
mov rax, qword [0x1400b2460]
mov word [rax + 0x48e5], 1
mov byte [rax + 0x48e7], 1
mov word [rdi + 0x48e9], r12w
mov dword [rdi + 0x48ec], r12d
mov dword [rdi + 0x48c8], r12d
cmp byte [rdi + 0x4900], r12b
je 0x140017af0
call fcn.140018fc0
xor r13b, r13b
mov dword [rdi + 0x4944], r12d
mov ebp, 1
mov word [rdi + 0x4900], r12w
cmp byte [rdi + 0x48e5], r12b
je 0x140017b3a
cmp byte [rdi + 0x48e4], r12b
je 0x140017b3a
cmp byte [rdi + 0x48e6], r12b
jne 0x140017b3a
cmp byte [rdi + 0x48e7], r12b
je 0x140017b3a
cmp qword [rdi + 0x48a8], r12
movzx r13d, r13b
cmovne r13d, ebp
mov byte [rdi + 0x48e5], r12b
cmp dword [rdi + 0x48e0], ebp
jbe 0x140017b63
mov r8d, 0x2bf4
lea rdx, str.C:UsersKifoxxxxe_Cheat_V2Desktopdivinity_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 0x140017b9e
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x140017b92
test dword [rax + 0x14], 0x14000000
jne 0x140017b92
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140017b72
jmp 0x140017b9e
cmp rax, rcx
je 0x140017b9e
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x140017bc3
cmp qword [rax + 0x398], r12
je 0x140017bc3
cmp dword [rdi + 0x48e0], r12d
jne 0x140017bc3
mov qword [rax + 0x398], r12
call fcn.140019fb0
test r15b, r15b
jne 0x140017bd6
test sil, sil
je 0x140017d27
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x140017d27
test dword [rax + 0x14], 0x40000
jne 0x140017d27
mov byte [rdi + 0xdd], bpl
cmp dword [rdi + 0x48b0], r12d
je 0x140017d2e
cmp byte [rdi + 0x48e6], r12b
jne 0x140017d2e
movzx eax, bpl
mov byte [rdi + 0xde], al
call fcn.1400192d0
mov qword [rdi + 0x48bc], r12
mov dword [rdi + 0x48b8], r12d
mov dword [rdi + 0x48c4], r12d
cmp dword [rdi + 0x48b0], r12d
je 0x140017e87
cmp byte [rdi + 0x48e6], r12b
jne 0x140017e87
cmp qword [rdi + 0x4a10], r12
jne 0x140017e87
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x140017e87
test dword [rax + 0x14], 0x40000
jne 0x140017e87
test r15b, r15b
je 0x140017cae
mov rcx, qword [0x1400b2460]
mov edx, 0x20c
call fcn.140010e30
cmp byte [rax], r12b
je 0x140017cae
mov rcx, qword [0x1400b2460]
mov edx, 0x20c
call fcn.140002460
cmp byte [rax + 8], r12b
je 0x140017ce4
test sil, sil
je 0x140017d42
mov rcx, qword [0x1400b2460]
mov edx, 0x26e
call fcn.140010e30
cmp byte [rax], r12b
je 0x140017d42
mov rcx, qword [0x1400b2460]
mov edx, 0x26e
call fcn.140002460
cmp byte [rax + 8], r12b
jne 0x140017d42
movzx r14d, byte [rsp + 0xe0]
movzx r15d, bpl
test r14b, r14b
je 0x140017d09
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.1400116a0
test al, al
jne 0x140017d21
test sil, sil
je 0x140017d4e
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.1400116a0
test al, al
je 0x140017d4e
movzx ebx, bpl
jmp 0x140017d50
mov byte [rdi + 0xdd], r12b
cmp qword [rdi + 0x4a10], r12
jne 0x140017c14
xor al, al
jmp 0x140017c18
movzx r14d, byte [rsp + 0xe0]
xor r15b, r15b
xor bl, bl
test r14b, r14b
je 0x140017d82
mov rcx, qword [0x1400b2460]
mov edx, 0x20d
call fcn.140010e30
cmp byte [rax], r12b
je 0x140017d82
mov rcx, qword [0x1400b2460]
mov edx, 0x20d
call fcn.140002460
cmp byte [rax + 8], r12b
je 0x140017db4
test sil, sil
je 0x140017df3
mov rcx, qword [0x1400b2460]
mov edx, 0x26d
call fcn.140010e30
cmp byte [rax], r12b
je 0x140017df3
mov rcx, qword [0x1400b2460]
mov edx, 0x26d
call fcn.140002460
cmp byte [rax + 8], r12b
jne 0x140017df3
movzx r14d, bpl
cmp byte [rsp + 0xe0], r12b
je 0x140017dd5
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.1400116a0
test al, al
jne 0x140017ded
test sil, sil
je 0x140017df6
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.1400116a0
test al, al
je 0x140017df6
movzx edx, bpl
jmp 0x140017df8
xor r14b, r14b
xor dl, dl
mov ecx, dword [rdi + 0x3f28]
test ecx, ecx
jne 0x140017e1e
test bl, bl
je 0x140017e26
mov eax, dword [rdi + 0x48b0]
mov dword [rdi + 0x48b8], eax
mov dword [rdi + 0x48c4], 2
jmp 0x140017e26
cmp ecx, dword [rdi + 0x48b0]
jne 0x140017e7e
test dl, dl
je 0x140017e3c
mov eax, dword [rdi + 0x48b0]
mov dword [rdi + 0x48b8], eax
mov dword [rdi + 0x48c4], ebp
test ecx, ecx
je 0x140017e48
cmp ecx, dword [rdi + 0x48b0]
jne 0x140017e7e
test r15b, r15b
jne 0x140017e52
test r14b, r14b
je 0x140017e5e
mov eax, dword [rdi + 0x48b0]
mov dword [rdi + 0x48bc], eax
test ecx, ecx
je 0x140017e6a
cmp ecx, dword [rdi + 0x48b0]
jne 0x140017e7e
test bl, bl
jne 0x140017e72
test dl, dl
je 0x140017e7e
mov eax, dword [rdi + 0x48b0]
mov dword [rdi + 0x48c0], eax
movzx r15d, byte [rsp + 0xe0]
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x140017ea3
test dword [rax + 0x14], 0x40000
je 0x140017ea3
mov byte [rdi + 0x48e6], bpl
mov eax, dword [rdi + 0x48b8]
test eax, eax
je 0x140017ecf
cmp dword [rdi + 0x48bc], eax
je 0x140017ecf
mov r8d, 0x2c21
lea rdx, str.C:UsersKifoxxxxe_Cheat_V2Desktopdivinity_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 0x140017ef7
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], r12d
call fcn.140018480
cmp dword [rdi + 0x4910], 0xffffffff
xorps xmm10, xmm10
jne 0x14001808f
mov rbx, qword [0x1400b2460]
cmp dword [rbx + 0x4910], 0xffffffff
mov r14, qword [rbx + 0x48a8]
je 0x140017f45
mov r8d, 0x2cf1
lea rdx, str.C:UsersKifoxxxxe_Cheat_V2Desktopdivinity_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 0x14001808f
cmp qword [rbx + 0x4a10], r12
jne 0x14001808f
test dword [r14 + 0x14], 0x40000
jne 0x14001808f
mov rcx, qword [0x1400b2460]
mov edx, 0x200
call fcn.140010e30
cmp byte [rax], r12b
je 0x14001808f
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x14001808f
ucomiss xmm0, xmm10
jp 0x140017f9a
je 0x140017fc6
mov rax, qword [0x1400b2460]
movss xmm1, dword [rax + 0x3c]
comiss xmm0, xmm1
jbe 0x14001808f
movss xmm2, dword [rax + 0x40]
mov ecx, 0x200
call fcn.140011010
test eax, eax
jle 0x14001808f
mov rcx, qword [0x1400b2460]
cmp byte [rcx + 0x473c], r12b
je 0x140017fe3
cmp dword [rcx + 0x3f28], 0xffffffff
jne 0x14001808f
mov edx, 0x200
call fcn.140002460
cmp dword [rax], 0xffffffff
jne 0x14001808f
cmp byte [rbx + 0xe24], r12b
jne 0x14001808f
cmp byte [rbx + 0xe26], r12b
jne 0x14001808f
movzx eax, byte [rbx + 0xe25]
test byte [rbx + 8], bpl
je 0x14001803e
test al, al
je 0x140018028
mov ebp, 0xffffffff
jmp 0x140018055
cmp byte [rbx + 0x48e6], bpl
jne 0x140018055
cmp dword [rbx + 0x3f28], r12d
jne 0x140018055
xor ebp, ebp
jmp 0x140018055
test al, al
je 0x140018049
mov ebp, 0xffffffff
jmp 0x140018055
xor ebp, ebp
cmp dword [rbx + 0x3f28], ebp
setne bpl
mov dword [rbx + 0x4940], ebp
mov eax, 0x21
cmp byte [r14 + 0xbc], r12b
mov r9d, 3
mov r8d, 0x400
cmovne r9d, eax
sar ebp, 0x1f
lea ecx, [rax - 0x22]
lea edx, [rbp + 3]
call fcn.140016fb0
mov dword [rbx + 0x4944], 0xffffffff
mov rax, qword [0x1400b2460]
mov rbp, qword [rsp + 0xf0]
cmp byte [rax + 0x4901], r12b
jne 0x1400180b9
cmp byte [rax + 0x48e9], r12b
jne 0x1400180b9
mov byte [rax + 0x48e8], r12b
jmp 0x1400180e3
mov byte [rax + 0x48e8], 1
cmp qword [rax + 0x48a8], r12
jne 0x1400180e3
mov r8d, 0x2b72
lea rdx, str.C:UsersKifoxxxxe_Cheat_V2Desktopdivinity_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 r14, qword [rdi + 0x48a8]
mov byte [rdi + 0x48e4], r12b
mov r12, qword [rsp + 0xf8]
test r14, r14
je 0x1400183dc
test dword [r14 + 0x14], 0x40000
jne 0x1400183dc
cmp qword [rdi + 0x4a10], 0
jne 0x1400183dc
mov rax, qword [r14]
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm9
movss xmm0, dword [rax + 0x3c2c]
mov rax, qword [r14 + 0x368]
mulss xmm0, dword [r14 + 0x290]
test rax, rax
je 0x140018155
mulss xmm0, dword [rax + 0x290]
cmp word [r14 + 0x15c], 0
mulss xmm0, dword [0x1400a8928]
mov ecx, dword [rdi + 0x4910]
movss xmm8, dword [0x1400a884c]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x1400a881c]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x140018244
cmp byte [r14 + 0x161], 0
je 0x140018244
cmp ecx, 0xffffffff
je 0x140018244
movss xmm1, dword [0x1400a8988]
test ecx, ecx
je 0x1400181c3
cmp ecx, 1
jne 0x1400181fe
movaps xmm0, xmm8
jmp 0x1400181c6
movaps xmm0, xmm1
mulss xmm0, xmm9
mov dword [r14 + 0x9c], 0
mov dword [r14 + 0xa4], 0
addss xmm0, dword [r14 + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x94], xmm0
cmp ecx, 2
je 0x14001820c
cmp ecx, 3
jne 0x140018244
movaps xmm1, xmm8
mulss xmm1, xmm9
mov dword [r14 + 0xa0], 0
mov dword [r14 + 0xa8], 0
addss xmm1, dword [r14 + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x98], xmm0
test sil, sil
je 0x1400183cd
mov rcx, qword [0x1400b2460]
mov edx, 0x27c
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
call fcn.140010e30
mov rcx, qword [0x1400b2460]
mov edx, 0x27b
mov rbx, rax
call fcn.140010e30
movss xmm6, dword [rbx + 0xc]
mov edx, 0x27a
mov rcx, qword [0x1400b2460]
subss xmm6, dword [rax + 0xc]
call fcn.140010e30
mov rcx, qword [0x1400b2460]
mov edx, 0x279
mov rbx, rax
call fcn.140010e30
movss xmm7, dword [rbx + 0xc]
mov edx, 0x273
mov rcx, qword [0x1400b2460]
subss xmm7, dword [rax + 0xc]
call fcn.140010e30
cmp byte [rax], 0
je 0x1400182f3
mov rcx, qword [0x1400b2460]
mov edx, 0x273
call fcn.140002460
cmp byte [rax + 8], 0
jne 0x1400182f3
movss xmm8, dword [0x1400a87ec]
jmp 0x140018329
mov rcx, qword [0x1400b2460]
mov edx, 0x274
call fcn.140010e30
cmp byte [rax], 0
je 0x140018329
mov rcx, qword [0x1400b2460]
mov edx, 0x274
call fcn.140002460
cmp byte [rax + 8], 0
jne 0x140018329
movss xmm8, dword [0x1400a88c4]
ucomiss xmm7, xmm10
jp 0x140018331
je 0x140018378
cmp byte [r14 + 0xb4], 0
je 0x140018378
mulss xmm7, xmm9
mov dword [r14 + 0x9c], 0
mov dword [r14 + 0xa4], 0
mulss xmm7, xmm8
addss xmm7, dword [r14 + 0x84]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x94], xmm0
ucomiss xmm6, xmm10
movaps xmm7, xmmword [rsp + 0x90]
jp 0x140018388
je 0x1400183c5
mulss xmm6, xmm9
mov dword [r14 + 0xa0], 0
mov dword [r14 + 0xa8], 0
mulss xmm6, xmm8
addss xmm6, dword [r14 + 0x88]
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x98], xmm0
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm10, xmmword [rsp + 0x60]
test r15b, r15b
mov r15, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xe8]
jne 0x14001840f
test sil, sil
jne 0x14001840f
mov word [rdi + 0x48e6], 1
jmp 0x14001845d
test r13b, r13b
je 0x14001845d
test byte [rdi + 8], 4
je 0x14001845d
test byte [rdi + 0xc], 4
je 0x14001845d
lea rcx, [rsp + 0xe0]
call fcn.140017590
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], 0
add rsp, 0xc0
pop r13
pop rdi
pop rsi
ret