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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r13
sub rsp, 0xb8
mov rdi, qword [0x1403b1040]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r14
test byte [rdi + 8], 2
mov qword [rax - 0x28], r15
movaps xmmword [rax - 0x78], xmm10
mov byte [rdi + 0xdb], 0
je 0x140019e9b
test byte [rdi + 0xc], 1
je 0x140019e9b
movdqa xmm0, xmmword [0x140184290]
lea r14, [rsp + 0x40]
movdqa xmm1, xmmword [0x1401842a0]
mov sil, 1
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
nop word [rax + rax]
mov ebx, dword [r14]
mov ecx, ebx
call fcn.140012e30
cmp byte [rax], 0
je 0x140019e8b
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x140019e74
cmp ebx, 0x1000
je 0x140019e74
cmp ebx, 0x2000
je 0x140019e74
cmp ebx, 0x4000
je 0x140019e74
cmp ebx, 0x8000
je 0x140019e74
cmp ebx, 0x800
jne 0x140019e81
mov ecx, ebx
call fcn.140002b60
cmp byte [rax + 8], 0
jne 0x140019e8b
mov dword [rdi + 0x4914], 3
add r14, 4
lea rax, [rsp + 0x60]
cmp r14, rax
jne 0x140019e30
jmp 0x140019e9e
xor sil, sil
movzx r15d, byte [rdi + 8]
movdqa xmm0, xmmword [0x140184280]
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 0x140019f49
lea r14, [rsp + 0x20]
nop dword [rax]
mov ebx, dword [r14]
mov ecx, ebx
call fcn.140012e30
cmp byte [rax], 0
je 0x140019f3b
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x140019f24
cmp ebx, 0x1000
je 0x140019f24
cmp ebx, 0x2000
je 0x140019f24
cmp ebx, 0x4000
je 0x140019f24
cmp ebx, 0x8000
je 0x140019f24
cmp ebx, 0x800
jne 0x140019f31
mov ecx, ebx
call fcn.140002b60
cmp byte [rax + 8], 0
jne 0x140019f3b
mov dword [rdi + 0x4914], 2
add r14, 4
lea rax, [rsp + 0x3c]
cmp r14, rax
jne 0x140019ee0
xor ebp, ebp
cmp dword [rdi + 0x4924], ebp
je 0x14001a062
mov rbx, qword [0x1403b1040]
mov r9, qword [rbx + 0x48e0]
test r9, r9
je 0x14001a062
test byte [rbx + 0x5cb4], 8
je 0x140019f94
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rbx + 0x4918]
mov edx, dword [rbx + 0x4924]
call fcn.14001e850
mov rbp, qword [0x1403b1040]
movsxd r14, dword [rbx + 0x4918]
mov r15d, dword [rbx + 0x4924]
cmp qword [rbp + 0x48e0], 0
jne 0x140019fcd
mov r8d, 0x2979
lea rdx, [0x140173b50]
lea rcx, str.g.NavWindow___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp r14d, 1
jbe 0x140019fed
mov r8d, 0x297a
lea rdx, [0x140173b50]
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 + 0x48e0]
mov rcx, r14
mov dword [rbp + 0x48e8], r15d
add rcx, rcx
mov dword [rbp + 0x4918], r14d
mov dword [rbp + 0x48ec], 0
mov dword [rax + r14*4 + 0x3a0], r15d
mov rax, qword [rbp + 0x48e0]
xor ebp, ebp
movups xmm0, xmmword [rbx + 0x4928]
movzx r15d, byte [rsp + 0xe0]
movups xmmword [rax + rcx*8 + 0x3a8], xmm0
mov byte [rbx + 0x491c], 1
cmp byte [rbx + 0x4922], bpl
je 0x14001a062
mov rax, qword [0x1403b1040]
mov word [rax + 0x491d], 1
mov byte [rax + 0x491f], 1
cmp byte [rdi + 0x4938], 0
mov word [rdi + 0x4921], 0
mov dword [rdi + 0x4924], ebp
mov dword [rdi + 0x4900], ebp
je 0x14001a085
call fcn.14001b470
xor r13b, r13b
mov dword [rdi + 0x497c], ebp
mov r14d, 1
mov word [rdi + 0x4938], 0
cmp byte [rdi + 0x491d], r13b
je 0x14001a0d1
cmp byte [rdi + 0x491c], r13b
je 0x14001a0d1
cmp byte [rdi + 0x491e], r13b
jne 0x14001a0d1
cmp byte [rdi + 0x491f], r13b
je 0x14001a0d1
cmp qword [rdi + 0x48e0], 0
movzx r13d, r13b
cmovne r13d, r14d
mov byte [rdi + 0x491d], 0
cmp dword [rdi + 0x4918], r14d
jbe 0x14001a0fb
mov r8d, 0x2bc4
lea rdx, [0x140173b50]
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 + 0x48e0]
test rcx, rcx
je 0x14001a13c
mov rax, rcx
nop word [rax + rax]
cmp qword [rax + 0x378], rax
je 0x14001a130
test dword [rax + 0x14], 0x14000000
jne 0x14001a130
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x14001a110
jmp 0x14001a13c
cmp rax, rcx
je 0x14001a13c
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x48e0]
test rax, rax
je 0x14001a162
cmp qword [rax + 0x398], 0
je 0x14001a162
cmp dword [rdi + 0x4918], 0
jne 0x14001a162
mov qword [rax + 0x398], rbp
call fcn.14001c440
test r15b, r15b
jne 0x14001a175
test sil, sil
je 0x14001a2a8
mov rax, qword [rdi + 0x48e0]
test rax, rax
je 0x14001a2a8
test dword [rax + 0x14], 0x40000
jne 0x14001a2a8
mov byte [rdi + 0xdd], r14b
cmp dword [rdi + 0x48e8], 0
je 0x14001a2af
cmp byte [rdi + 0x491e], 0
jne 0x14001a2af
movzx eax, r14b
mov byte [rdi + 0xde], al
call fcn.14001b780
cmp dword [rdi + 0x48e8], 0
mov qword [rdi + 0x48f4], 0
mov dword [rdi + 0x48f0], ebp
mov dword [rdi + 0x48fc], ebp
je 0x14001a3ef
cmp byte [rdi + 0x491e], 0
jne 0x14001a3ef
cmp qword [rdi + 0x4a48], 0
jne 0x14001a3ef
mov rax, qword [rdi + 0x48e0]
test rax, rax
je 0x14001a3ef
test dword [rax + 0x14], 0x40000
jne 0x14001a3ef
test r15b, r15b
je 0x14001a242
mov ecx, 0x20c
call fcn.140012e30
cmp byte [rax], 0
je 0x14001a242
mov ecx, 0x20c
call fcn.140002b60
cmp byte [rax + 8], 0
je 0x14001a266
test sil, sil
je 0x14001a2c4
mov ecx, 0x26e
call fcn.140012e30
cmp byte [rax], 0
je 0x14001a2c4
mov ecx, 0x26e
call fcn.140002b60
cmp byte [rax + 8], 0
jne 0x14001a2c4
movzx ebp, byte [rsp + 0xe0]
movzx r15d, r14b
test bpl, bpl
je 0x14001a28a
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.1400136c0
test al, al
jne 0x14001a2a2
test sil, sil
je 0x14001a2cf
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.1400136c0
test al, al
je 0x14001a2cf
movzx ebx, r14b
jmp 0x14001a2d1
mov byte [rdi + 0xdd], 0
cmp qword [rdi + 0x4a48], 0
jne 0x14001a1b3
xor al, al
jmp 0x14001a1b7
movzx ebp, byte [rsp + 0xe0]
xor r15b, r15b
xor bl, bl
test bpl, bpl
je 0x14001a2f5
mov ecx, 0x20d
call fcn.140012e30
cmp byte [rax], 0
je 0x14001a2f5
mov ecx, 0x20d
call fcn.140002b60
cmp byte [rax + 8], 0
je 0x14001a319
test sil, sil
je 0x14001a358
mov ecx, 0x26d
call fcn.140012e30
cmp byte [rax], 0
je 0x14001a358
mov ecx, 0x26d
call fcn.140002b60
cmp byte [rax + 8], 0
jne 0x14001a358
cmp byte [rsp + 0xe0], 0
movzx ebp, r14b
je 0x14001a33a
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.1400136c0
test al, al
jne 0x14001a352
test sil, sil
je 0x14001a35b
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.1400136c0
test al, al
je 0x14001a35b
movzx edx, r14b
jmp 0x14001a35d
xor bpl, bpl
xor dl, dl
mov ecx, dword [rdi + 0x3f60]
test ecx, ecx
jne 0x14001a383
test bl, bl
je 0x14001a38b
mov eax, dword [rdi + 0x48e8]
mov dword [rdi + 0x48f0], eax
mov dword [rdi + 0x48fc], 2
jmp 0x14001a38b
cmp ecx, dword [rdi + 0x48e8]
jne 0x14001a3e4
test dl, dl
je 0x14001a3a2
mov eax, dword [rdi + 0x48e8]
mov dword [rdi + 0x48f0], eax
mov dword [rdi + 0x48fc], r14d
test ecx, ecx
je 0x14001a3ae
cmp ecx, dword [rdi + 0x48e8]
jne 0x14001a3e4
test r15b, r15b
jne 0x14001a3b8
test bpl, bpl
je 0x14001a3c4
mov eax, dword [rdi + 0x48e8]
mov dword [rdi + 0x48f4], eax
test ecx, ecx
je 0x14001a3d0
cmp ecx, dword [rdi + 0x48e8]
jne 0x14001a3e4
test bl, bl
jne 0x14001a3d8
test dl, dl
je 0x14001a3e4
mov eax, dword [rdi + 0x48e8]
mov dword [rdi + 0x48f8], eax
movzx r15d, byte [rsp + 0xe0]
xor ebp, ebp
mov rax, qword [rdi + 0x48e0]
test rax, rax
je 0x14001a40b
test dword [rax + 0x14], 0x40000
je 0x14001a40b
mov byte [rdi + 0x491e], r14b
mov eax, dword [rdi + 0x48f0]
test eax, eax
je 0x14001a437
cmp dword [rdi + 0x48f4], eax
je 0x14001a437
mov r8d, 0x2bf1
lea rdx, [0x140173b50]
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 + 0x490c]
test eax, eax
je 0x14001a45f
mov dword [rdi + 0x48f8], eax
mov dword [rdi + 0x48f4], eax
mov dword [rdi + 0x48f0], eax
mov eax, dword [rdi + 0x4910]
mov dword [rdi + 0x48fc], eax
mov dword [rdi + 0x490c], ebp
call fcn.14001a980
cmp dword [rdi + 0x4948], 0xffffffff
xorps xmm10, xmm10
jne 0x14001a5f9
mov rbx, qword [0x1403b1040]
cmp dword [rbx + 0x4948], 0xffffffff
mov rbp, qword [rbx + 0x48e0]
je 0x14001a4ac
mov r8d, 0x2cc1
lea rdx, [0x140173b50]
lea rcx, str.g.NavMoveDir__ImGuiDir_None
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rbp, rbp
je 0x14001a5f7
cmp qword [rbx + 0x4a48], 0
jne 0x14001a5f7
test dword [rbp + 0x14], 0x40000
jne 0x14001a5f7
mov ecx, 0x200
call fcn.140012e30
cmp byte [rax], 0
je 0x14001a5f7
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x14001a5f7
ucomiss xmm0, xmm10
jp 0x14001a4fa
je 0x14001a526
mov rax, qword [0x1403b1040]
movss xmm1, dword [rax + 0x3c]
comiss xmm0, xmm1
jbe 0x14001a5f7
movss xmm2, dword [rax + 0x40]
mov ecx, 0x200
call fcn.140013040
test eax, eax
jle 0x14001a5f7
mov rax, qword [0x1403b1040]
cmp byte [rax + 0x4774], 0
je 0x14001a543
cmp dword [rax + 0x3f60], 0xffffffff
jne 0x14001a5f7
mov ecx, 0x200
call fcn.140002b60
cmp dword [rax], 0xffffffff
jne 0x14001a5f7
cmp byte [rbx + 0xe20], 0
jne 0x14001a5f7
cmp byte [rbx + 0xe22], 0
jne 0x14001a5f7
movzx eax, byte [rbx + 0xe21]
test byte [rbx + 8], r14b
je 0x14001a5a0
test al, al
je 0x14001a589
mov r14d, 0xffffffff
jmp 0x14001a5ba
cmp byte [rbx + 0x491e], r14b
jne 0x14001a5ba
cmp dword [rbx + 0x3f60], 0
jne 0x14001a5ba
xor r14d, r14d
jmp 0x14001a5ba
test al, al
je 0x14001a5ac
mov r14d, 0xffffffff
jmp 0x14001a5ba
xor r14d, r14d
cmp dword [rbx + 0x3f60], r14d
setne r14b
mov dword [rbx + 0x4978], r14d
mov eax, reloc.WLDAP32.dll_Ordinal_33
cmp byte [rbp + 0xbc], 0
mov r9d, 3
mov r8d, 0x400
cmovne r9d, eax
sar r14d, 0x1f
lea ecx, [rax - 0x22]
lea edx, [r14 + 3]
call fcn.140019560
mov dword [rbx + 0x497c], 0xffffffff
xor ebp, ebp
mov rax, qword [0x1403b1040]
cmp byte [rax + 0x4939], 0
jne 0x14001a61b
cmp byte [rax + 0x4921], 0
jne 0x14001a61b
mov byte [rax + 0x4920], 0
jmp 0x14001a646
cmp qword [rax + 0x48e0], 0
mov byte [rax + 0x4920], 1
jne 0x14001a646
mov r8d, 0x2b42
lea rdx, [0x140173b50]
lea rcx, str.g.NavWindow___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r14, qword [rdi + 0x48e0]
mov r12, qword [rsp + 0xf0]
mov byte [rdi + 0x491c], 0
test r14, r14
je 0x14001a8e7
test dword [r14 + 0x14], 0x40000
jne 0x14001a8e7
cmp qword [rdi + 0x4a48], 0
jne 0x14001a8e7
mov rax, qword [r14]
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm9
movss xmm0, dword [rax + 0x3c54]
mov rax, qword [r14 + 0x368]
mulss xmm0, dword [r14 + 0x290]
test rax, rax
je 0x14001a6b8
mulss xmm0, dword [rax + 0x290]
cmp word [r14 + 0x15c], 0
mulss xmm0, dword [0x140184064]
mov ecx, dword [rdi + 0x4948]
movss xmm8, dword [0x140183fb0]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x140183f68]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x14001a797
cmp byte [r14 + 0x161], 0
je 0x14001a797
cmp ecx, 0xffffffff
je 0x14001a797
movss xmm1, dword [0x140184174]
test ecx, ecx
je 0x14001a726
cmp ecx, 1
jne 0x14001a759
movaps xmm0, xmm8
jmp 0x14001a729
movaps xmm0, xmm1
mulss xmm0, xmm9
mov dword [r14 + 0x9c], ebp
mov dword [r14 + 0xa4], ebp
addss xmm0, dword [r14 + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x94], xmm0
cmp ecx, 2
je 0x14001a767
cmp ecx, 3
jne 0x14001a797
movaps xmm1, xmm8
mulss xmm1, xmm9
mov dword [r14 + 0xa0], ebp
mov dword [r14 + 0xa8], ebp
addss xmm1, dword [r14 + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x98], xmm0
test sil, sil
je 0x14001a8d8
movaps xmmword [rsp + 0xa0], xmm6
mov ecx, 0x27c
movaps xmmword [rsp + 0x90], xmm7
call fcn.140012e30
mov ecx, 0x27b
mov rbx, rax
call fcn.140012e30
movss xmm6, dword [rbx + 0xc]
mov ecx, 0x27a
subss xmm6, dword [rax + 0xc]
call fcn.140012e30
mov ecx, 0x279
mov rbx, rax
call fcn.140012e30
movss xmm7, dword [rbx + 0xc]
mov ecx, 0x273
subss xmm7, dword [rax + 0xc]
call fcn.140012e30
cmp byte [rax], 0
je 0x14001a81c
mov ecx, 0x273
call fcn.140002b60
cmp byte [rax + 8], 0
jne 0x14001a81c
movss xmm8, dword [0x140183f40]
jmp 0x14001a844
mov ecx, 0x274
call fcn.140012e30
cmp byte [rax], 0
je 0x14001a844
mov ecx, 0x274
call fcn.140002b60
cmp byte [rax + 8], 0
jne 0x14001a844
movss xmm8, dword [0x140184008]
ucomiss xmm7, xmm10
jp 0x14001a84c
je 0x14001a88b
cmp byte [r14 + 0xb4], 0
je 0x14001a88b
mulss xmm7, xmm9
mov dword [r14 + 0x9c], ebp
mov dword [r14 + 0xa4], ebp
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 0x14001a89b
je 0x14001a8d0
mulss xmm6, xmm9
mov dword [r14 + 0xa0], ebp
mov dword [r14 + 0xa8], ebp
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 + 0xf8]
mov rbx, qword [rsp + 0xe8]
jne 0x14001a91a
test sil, sil
jne 0x14001a91a
mov word [rdi + 0x491e], 1
jmp 0x14001a968
test r13b, r13b
je 0x14001a968
test byte [rdi + 8], 4
je 0x14001a968
test byte [rdi + 0xc], 4
je 0x14001a968
lea rcx, [rsp + 0xe0]
call fcn.140019b40
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x36ec], xmm0
movss dword [rdi + 0x36f0], xmm1
movss dword [rdi + 0xe08], xmm0
movss dword [rdi + 0xe0c], xmm1
mov byte [rdi + 0xdb], 1
mov dword [rdi + 0x4974], ebp
add rsp, 0xb8
pop r13
pop rdi
pop rsi
pop rbp
ret