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

Disassembly:
mov r11, rsp
push rbp
push rdi
sub rsp, 0xe8
mov rax, qword [0x1402345c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, qword [0x14024af40]
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], r12
test byte [rdi + 8], 2
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x78], xmm10
mov byte [rdi + 0xdb], 0
je 0x1400193b7
test byte [rdi + 0xc], 1
je 0x1400193b7
movdqa xmm0, xmmword [0x14020aca0]
lea rbx, [rsp + 0x50]
movdqa xmm1, xmmword [0x14020acb0]
mov bpl, 1
movdqu xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
mov ecx, dword [rbx]
call fcn.140012320
test al, al
je 0x1400193a7
mov dword [rdi + 0x48e4], 3
add rbx, 4
lea rax, [rsp + 0x70]
cmp rbx, rax
jne 0x140019392
jmp 0x1400193ba
xor bpl, bpl
movzx r15d, byte [rdi + 8]
movdqa xmm0, xmmword [0x14020ac90]
and r15b, 1
mov byte [rsp + 0x20], r15b
mov qword [rsp + 0xd8], r14
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x201
mov dword [rsp + 0x44], 0x203
mov dword [rsp + 0x48], 0x204
je 0x140019476
lea rsi, [rsp + 0x30]
nop dword [rax]
mov ebx, dword [rsi]
mov edx, ebx
mov rcx, qword [0x14024af40]
call fcn.140011ad0
cmp byte [rax], 0
je 0x140019468
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x14001944a
cmp ebx, 0x1000
je 0x14001944a
cmp ebx, 0x2000
je 0x14001944a
cmp ebx, 0x4000
je 0x14001944a
cmp ebx, 0x8000
je 0x14001944a
cmp ebx, 0x800
jne 0x14001945e
mov rcx, qword [0x14024af40]
mov edx, ebx
call fcn.140002680
cmp byte [rax + 8], 0
jne 0x140019468
mov dword [rdi + 0x48e4], 2
add rsi, 4
lea rax, [rsp + 0x4c]
cmp rsi, rax
jne 0x140019400
xor r13d, r13d
cmp dword [rdi + 0x48f4], r13d
je 0x140019588
mov rbx, qword [0x14024af40]
mov r9, qword [rbx + 0x48b0]
test r9, r9
je 0x140019588
test byte [rbx + 0x5c9c], 8
je 0x1400194c3
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rbx + 0x48e8]
mov edx, dword [rbx + 0x48f4]
call fcn.14001e0d0
mov rsi, qword [0x14024af40]
movsxd r14, dword [rbx + 0x48e8]
mov r15d, dword [rbx + 0x48f4]
cmp qword [rsi + 0x48b0], r13
jne 0x1400194fb
mov r8d, 0x2976
lea rdx, str.F:GithubRust_Featuresdependencies_renderingimguiimgui.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 0x14001951b
mov r8d, 0x2977
lea rdx, str.F:GithubRust_Featuresdependencies_renderingimguiimgui.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 [rsi + 0x48b0]
mov rcx, r14
mov dword [rsi + 0x48b8], r15d
add rcx, rcx
mov dword [rsi + 0x48e8], r14d
mov dword [rsi + 0x48bc], r13d
mov dword [rax + r14*4 + 0x3a0], r15d
mov rax, qword [rsi + 0x48b0]
movups xmm0, xmmword [rbx + 0x48f8]
movzx r15d, byte [rsp + 0x20]
movups xmmword [rax + rcx*8 + 0x3a8], xmm0
mov byte [rbx + 0x48ec], 1
cmp byte [rbx + 0x48f2], r13b
je 0x140019588
mov rax, qword [0x14024af40]
mov word [rax + 0x48ed], 1
mov byte [rax + 0x48ef], 1
mov word [rdi + 0x48f1], r13w
mov dword [rdi + 0x48f4], r13d
mov dword [rdi + 0x48d0], r13d
cmp byte [rdi + 0x4908], r13b
je 0x1400195ac
call fcn.14001aae0
xor al, al
mov dword [rdi + 0x494c], r13d
mov r12d, 1
mov word [rdi + 0x4908], r13w
mov dword [rsp + 0x24], eax
cmp byte [rdi + 0x48ed], r13b
je 0x1400195fd
cmp byte [rdi + 0x48ec], r13b
je 0x1400195fd
cmp byte [rdi + 0x48ee], r13b
jne 0x1400195fd
cmp byte [rdi + 0x48ef], r13b
je 0x1400195fd
cmp qword [rdi + 0x48b0], r13
movzx eax, al
cmovne eax, r12d
mov dword [rsp + 0x24], eax
mov byte [rdi + 0x48ed], r13b
cmp dword [rdi + 0x48e8], r12d
jbe 0x140019627
mov r8d, 0x2bc1
lea rdx, str.F:GithubRust_Featuresdependencies_renderingimguiimgui.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 + 0x48b0]
test rcx, rcx
je 0x140019662
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x140019656
test dword [rax + 0x14], 0x14000000
jne 0x140019656
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140019636
jmp 0x140019662
cmp rax, rcx
je 0x140019662
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x140019687
cmp qword [rax + 0x398], r13
je 0x140019687
cmp dword [rdi + 0x48e8], r13d
jne 0x140019687
mov qword [rax + 0x398], r13
call fcn.14001b9e0
test r15b, r15b
jne 0x14001969a
test bpl, bpl
je 0x140019803
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x140019803
test dword [rax + 0x14], 0x40000
jne 0x140019803
mov byte [rdi + 0xdd], r12b
cmp dword [rdi + 0x48b8], r13d
je 0x14001980a
lea r14, [rdi + 0x48ee]
cmp byte [r14], r13b
jne 0x14001980a
lea r13, [rdi + 0x4a18]
movzx eax, r12b
movzx r15d, bpl
mov byte [rdi + 0xde], al
call fcn.14001ae00
cmp dword [rdi + 0x48b8], 0
mov qword [rdi + 0x48c4], 0
mov dword [rdi + 0x48c0], 0
mov dword [rdi + 0x48cc], 0
je 0x14001996b
lea rbx, [rdi + 0x48ee]
cmp byte [rbx], 0
mov r14, rbx
jne 0x14001996b
cmp qword [r13], 0
jne 0x14001996b
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x14001996b
test dword [rax + 0x14], 0x40000
jne 0x14001996b
movzx esi, byte [rsp + 0x20]
test sil, sil
je 0x140019793
mov rcx, qword [0x14024af40]
mov edx, 0x20c
call fcn.140011ad0
cmp byte [rax], 0
je 0x140019793
mov rcx, qword [0x14024af40]
mov edx, 0x20c
call fcn.140002680
cmp byte [rax + 8], 0
je 0x1400197c9
test bpl, bpl
je 0x14001982a
mov rcx, qword [0x14024af40]
mov edx, 0x26e
call fcn.140011ad0
cmp byte [rax], 0
je 0x14001982a
mov rcx, qword [0x14024af40]
mov edx, 0x26e
call fcn.140002680
cmp byte [rax + 8], 0
jne 0x14001982a
movzx r14d, r12b
test sil, sil
je 0x1400197e5
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.1400123a0
test al, al
jne 0x1400197fd
test bpl, bpl
je 0x14001982d
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.1400123a0
test al, al
je 0x14001982d
movzx r15d, r12b
jmp 0x140019830
mov byte [rdi + 0xdd], r13b
lea r13, [rdi + 0x4a18]
cmp qword [r13], 0
lea r14, [rdi + 0x48ee]
jne 0x1400196e2
xor al, al
jmp 0x1400196e6
xor r14b, r14b
xor r15b, r15b
test sil, sil
je 0x140019862
mov rcx, qword [0x14024af40]
mov edx, 0x20d
call fcn.140011ad0
cmp byte [rax], 0
je 0x140019862
mov rcx, qword [0x14024af40]
mov edx, 0x20d
call fcn.140002680
cmp byte [rax + 8], 0
je 0x140019894
test bpl, bpl
je 0x1400198d0
mov rcx, qword [0x14024af40]
mov edx, 0x26d
call fcn.140011ad0
cmp byte [rax], 0
je 0x1400198d0
mov rcx, qword [0x14024af40]
mov edx, 0x26d
call fcn.140002680
cmp byte [rax + 8], 0
jne 0x1400198d0
cmp byte [rsp + 0x20], 0
movzx esi, r12b
je 0x1400198b2
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.1400123a0
test al, al
jne 0x1400198ca
test bpl, bpl
je 0x1400198d3
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.1400123a0
test al, al
je 0x1400198d3
movzx edx, r12b
jmp 0x1400198d5
xor sil, sil
xor dl, dl
mov ecx, dword [rdi + 0x3f30]
test ecx, ecx
jne 0x1400198fc
test r15b, r15b
je 0x140019904
mov eax, dword [rdi + 0x48b8]
mov dword [rdi + 0x48c0], eax
mov dword [rdi + 0x48cc], 2
jmp 0x140019904
cmp ecx, dword [rdi + 0x48b8]
jne 0x140019941
test dl, dl
je 0x14001991b
mov eax, dword [rdi + 0x48b8]
mov dword [rdi + 0x48c0], eax
mov dword [rdi + 0x48cc], r12d
test ecx, ecx
je 0x140019927
cmp ecx, dword [rdi + 0x48b8]
jne 0x140019941
test r14b, r14b
jne 0x140019931
test sil, sil
je 0x14001993d
mov eax, dword [rdi + 0x48b8]
mov dword [rdi + 0x48c4], eax
test ecx, ecx
je 0x14001994c
mov r14, rbx
cmp ecx, dword [rdi + 0x48b8]
jne 0x140019967
test r15b, r15b
jne 0x140019958
mov r14, rbx
test dl, dl
je 0x140019967
mov eax, dword [rdi + 0x48b8]
mov r14, rbx
mov dword [rdi + 0x48c8], eax
movzx r15d, bpl
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x140019983
test dword [rax + 0x14], 0x40000
je 0x140019983
mov byte [r14], r12b
mov eax, dword [rdi + 0x48c0]
test eax, eax
je 0x1400199af
cmp dword [rdi + 0x48c4], eax
je 0x1400199af
mov r8d, 0x2bee
lea rdx, str.F:GithubRust_Featuresdependencies_renderingimguiimgui.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 + 0x48dc]
test eax, eax
je 0x1400199d7
mov dword [rdi + 0x48c8], eax
mov dword [rdi + 0x48c4], eax
mov dword [rdi + 0x48c0], eax
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48cc], eax
mov dword [rdi + 0x48dc], 0
call fcn.140019f70
cmp dword [rdi + 0x4918], 0xffffffff
xorps xmm10, xmm10
jne 0x140019b7b
mov rbx, qword [0x14024af40]
cmp dword [rbx + 0x4918], 0xffffffff
mov rsi, qword [rbx + 0x48b0]
je 0x140019a28
mov r8d, 0x2cbe
lea rdx, str.F:GithubRust_Featuresdependencies_renderingimguiimgui.cpp
lea rcx, str.g.NavMoveDir__ImGuiDir_None
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
je 0x140019b7b
cmp qword [rbx + 0x4a18], 0
jne 0x140019b7b
test dword [rsi + 0x14], 0x40000
jne 0x140019b7b
mov rcx, qword [0x14024af40]
mov edx, 0x200
call fcn.140011ad0
cmp byte [rax], 0
je 0x140019b7b
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x140019b7b
ucomiss xmm0, xmm10
jp 0x140019a7d
je 0x140019aa9
mov rax, qword [0x14024af40]
movss xmm1, dword [rax + 0x3c]
comiss xmm0, xmm1
jbe 0x140019b7b
movss xmm2, dword [rax + 0x40]
mov ecx, 0x200
call fcn.140011cb0
test eax, eax
jle 0x140019b7b
mov rcx, qword [0x14024af40]
cmp byte [rcx + 0x4744], 0
je 0x140019ac6
cmp dword [rcx + 0x3f30], 0xffffffff
jne 0x140019b7b
mov edx, 0x200
call fcn.140002680
cmp dword [rax], 0xffffffff
jne 0x140019b7b
cmp byte [rbx + 0xe24], 0
jne 0x140019b7b
cmp byte [rbx + 0xe26], 0
jne 0x140019b7b
movzx eax, byte [rbx + 0xe25]
test byte [rbx + 8], r12b
je 0x140019b23
test al, al
je 0x140019b0c
mov r12d, 0xffffffff
jmp 0x140019b3d
cmp byte [rbx + 0x48ee], r12b
jne 0x140019b3d
cmp dword [rbx + 0x3f30], 0
jne 0x140019b3d
xor r12d, r12d
jmp 0x140019b3d
test al, al
je 0x140019b2f
mov r12d, 0xffffffff
jmp 0x140019b3d
xor r12d, r12d
cmp dword [rbx + 0x3f30], r12d
setne r12b
mov dword [rbx + 0x4948], r12d
mov eax, reloc.WLDAP32.dll_Ordinal_33
cmp byte [rsi + 0xbc], 0
mov r9d, 3
mov r8d, 0x400
cmovne r9d, eax
sar r12d, 0x1f
lea ecx, [rax - 0x22]
lea edx, [r12 + 3]
call fcn.1400189c0
mov dword [rbx + 0x494c], 0xffffffff
mov rax, qword [0x14024af40]
mov r12, qword [rsp + 0x110]
cmp byte [rax + 0x4909], 0
jne 0x140019ba5
cmp byte [rax + 0x48f1], 0
jne 0x140019ba5
mov byte [rax + 0x48f0], 0
jmp 0x140019bd4
cmp qword [rax + 0x48b0], 0
movzx ebp, r15b
mov byte [rax + 0x48f0], 1
jne 0x140019bd4
mov r8d, 0x2b3f
lea rdx, str.F:GithubRust_Featuresdependencies_renderingimguiimgui.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 + 0x48b0]
mov r15, qword [rsp + 0xd0]
mov byte [rdi + 0x48ec], 0
test rsi, rsi
je 0x140019ebb
test dword [rsi + 0x14], 0x40000
jne 0x140019ebb
cmp qword [r13], 0
jne 0x140019ebb
mov rax, qword [rsi]
movaps xmmword [rsp + 0xa0], xmm8
movaps xmmword [rsp + 0x90], xmm9
movss xmm0, dword [rax + 0x3c0c]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x140019c44
mulss xmm0, dword [rax + 0x290]
cmp word [rsi + 0x15c], 0
mulss xmm0, dword [0x14020a9e4]
mov ecx, dword [rdi + 0x4918]
movss xmm8, dword [0x14020a89c]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x14020a854]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x140019d29
cmp byte [rsi + 0x161], 0
je 0x140019d29
cmp ecx, 0xffffffff
je 0x140019d29
movss xmm1, dword [0x14020aad0]
test ecx, ecx
je 0x140019cb0
cmp ecx, 1
jne 0x140019ce7
movaps xmm0, xmm8
jmp 0x140019cb3
movaps xmm0, xmm1
mulss xmm0, xmm9
mov dword [rsi + 0x9c], 0
mov dword [rsi + 0xa4], 0
addss xmm0, dword [rsi + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x94], xmm0
cmp ecx, 2
je 0x140019cf5
cmp ecx, 3
jne 0x140019d29
movaps xmm1, xmm8
mulss xmm1, xmm9
mov dword [rsi + 0xa0], 0
mov dword [rsi + 0xa8], 0
addss xmm1, dword [rsi + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x98], xmm0
test bpl, bpl
je 0x140019ea9
mov rcx, qword [0x14024af40]
mov edx, 0x27c
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm7
call fcn.140011ad0
mov rcx, qword [0x14024af40]
mov edx, 0x27b
mov rbx, rax
call fcn.140011ad0
movss xmm6, dword [rbx + 0xc]
mov edx, 0x27a
mov rcx, qword [0x14024af40]
subss xmm6, dword [rax + 0xc]
call fcn.140011ad0
mov rcx, qword [0x14024af40]
mov edx, 0x279
mov rbx, rax
call fcn.140011ad0
movss xmm7, dword [rbx + 0xc]
mov edx, 0x273
mov rcx, qword [0x14024af40]
subss xmm7, dword [rax + 0xc]
call fcn.140011ad0
cmp byte [rax], 0
je 0x140019dd8
mov rcx, qword [0x14024af40]
mov edx, 0x273
call fcn.140002680
cmp byte [rax + 8], 0
jne 0x140019dd8
movss xmm8, dword [0x14020a808]
jmp 0x140019e0e
mov rcx, qword [0x14024af40]
mov edx, 0x274
call fcn.140011ad0
cmp byte [rax], 0
je 0x140019e0e
mov rcx, qword [0x14024af40]
mov edx, 0x274
call fcn.140002680
cmp byte [rax + 8], 0
jne 0x140019e0e
movss xmm8, dword [0x14020a970]
ucomiss xmm7, xmm10
jp 0x140019e16
je 0x140019e58
cmp byte [rsi + 0xb4], 0
je 0x140019e58
mulss xmm7, xmm9
mov dword [rsi + 0x9c], 0
mov dword [rsi + 0xa4], 0
mulss xmm7, xmm8
addss xmm7, dword [rsi + 0x84]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x94], xmm0
ucomiss xmm6, xmm10
movaps xmm7, xmmword [rsp + 0xb0]
jp 0x140019e68
je 0x140019ea1
mulss xmm6, xmm9
mov dword [rsi + 0xa0], 0
mov dword [rsi + 0xa8], 0
mulss xmm6, xmm8
addss xmm6, dword [rsi + 0x88]
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x98], xmm0
movaps xmm6, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0x90]
cmp byte [rsp + 0x20], 0
movaps xmm10, xmmword [rsp + 0x80]
mov r13, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x100]
jne 0x140019ef5
test bpl, bpl
jne 0x140019ef5
mov byte [r14], 1
mov byte [rdi + 0x48ef], bpl
jmp 0x140019f42
cmp byte [rsp + 0x24], 0
je 0x140019f42
test byte [rdi + 8], 4
je 0x140019f42
test byte [rdi + 0xc], 4
je 0x140019f42
lea rcx, [rsp + 0x24]
call fcn.140018fa0
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 r14, qword [rsp + 0xd8]
mov dword [rdi + 0x4944], 0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401b6160
add rsp, 0xe8
pop rdi
pop rbp
ret