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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
sub rsp, 0xb8
mov rdi, qword [0x140398dc0]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r12
test byte [rdi + 8], 2
mov qword [rax - 0x28], r15
mov r15d, 3
movaps xmmword [rax - 0x78], xmm10
mov byte [rdi + 0xdb], 0
je 0x14001b505
test byte [rdi + 0xc], 1
je 0x14001b505
movdqa xmm0, xmmword [0x140176ed0]
lea rsi, [rsp + 0x40]
movdqa xmm1, xmmword [0x140176ee0]
mov r14b, 1
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
nop dword [rax]
nop word [rax + rax]
mov ebx, dword [rsi]
mov edx, ebx
mov rcx, qword [0x140398dc0]
call fcn.140013f30
cmp byte [rax], 0
je 0x14001b4f5
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x14001b4da
cmp ebx, 0x1000
je 0x14001b4da
cmp ebx, 0x2000
je 0x14001b4da
cmp ebx, 0x4000
je 0x14001b4da
cmp ebx, 0x8000
je 0x14001b4da
cmp ebx, 0x800
jne 0x14001b4ee
mov rcx, qword [0x140398dc0]
mov edx, ebx
call fcn.140003160
cmp byte [rax + 8], 0
jne 0x14001b4f5
mov dword [rdi + 0x490c], r15d
add rsi, 4
lea rax, [rsp + 0x60]
cmp rsi, rax
jne 0x14001b490
jmp 0x14001b508
xor r14b, r14b
movzx ebp, byte [rdi + 8]
movdqa xmm0, xmmword [0x140176ec0]
and bpl, 1
mov byte [rsp + 0xe0], bpl
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x201
mov dword [rsp + 0x34], 0x203
mov dword [rsp + 0x38], 0x204
je 0x14001b5c6
lea rsi, [rsp + 0x20]
nop dword [rax]
mov ebx, dword [rsi]
mov edx, ebx
mov rcx, qword [0x140398dc0]
call fcn.140013f30
cmp byte [rax], 0
je 0x14001b5b8
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x14001b59a
cmp ebx, 0x1000
je 0x14001b59a
cmp ebx, 0x2000
je 0x14001b59a
cmp ebx, 0x4000
je 0x14001b59a
cmp ebx, 0x8000
je 0x14001b59a
cmp ebx, 0x800
jne 0x14001b5ae
mov rcx, qword [0x140398dc0]
mov edx, ebx
call fcn.140003160
cmp byte [rax + 8], 0
jne 0x14001b5b8
mov dword [rdi + 0x490c], 2
add rsi, 4
lea rax, [rsp + 0x3c]
cmp rsi, rax
jne 0x14001b550
cmp dword [rdi + 0x491c], 0
je 0x14001b64a
mov rbx, qword [0x140398dc0]
mov r9, qword [rbx + 0x48d8]
test r9, r9
je 0x14001b64a
test byte [rbx + 0x5cc4], 8
je 0x14001b608
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rbx + 0x4910]
mov edx, dword [rbx + 0x491c]
call fcn.1400203f0
mov edx, dword [rbx + 0x4910]
lea r9, [rbx + 0x4920]
mov ecx, dword [rbx + 0x491c]
xor r8d, r8d
call fcn.140019be0
cmp byte [rbx + 0x491a], 0
mov byte [rbx + 0x4914], 1
je 0x14001b64a
mov rax, qword [0x140398dc0]
mov word [rax + 0x4915], 1
mov byte [rax + 0x4917], 1
xor r12d, r12d
mov word [rdi + 0x4919], 0
mov dword [rdi + 0x491c], r12d
mov dword [rdi + 0x48f8], r12d
cmp byte [rdi + 0x4930], r12b
je 0x14001b672
call fcn.14001cbd0
xor r13b, r13b
mov dword [rdi + 0x4974], r12d
mov esi, 1
mov word [rdi + 0x4930], r12w
cmp byte [rdi + 0x4915], r12b
je 0x14001b6bc
cmp byte [rdi + 0x4914], r12b
je 0x14001b6bc
cmp byte [rdi + 0x4916], r12b
jne 0x14001b6bc
cmp byte [rdi + 0x4917], r12b
je 0x14001b6bc
cmp qword [rdi + 0x48d8], r12
movzx r13d, r13b
cmovne r13d, esi
mov byte [rdi + 0x4915], r12b
cmp dword [rdi + 0x4910], esi
jbe 0x14001b6e5
mov r8d, 0x2cb8
lea rdx, str.C:UsersMONSTERDesktopRedFire_EXTERNALimgui.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 + 0x48d8]
test rcx, rcx
je 0x14001b720
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x14001b714
test dword [rax + 0x14], 0x14000000
jne 0x14001b714
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x14001b6f4
jmp 0x14001b720
cmp rax, rcx
je 0x14001b720
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x14001b745
cmp qword [rax + 0x398], r12
je 0x14001b745
cmp dword [rdi + 0x4910], r12d
jne 0x14001b745
mov qword [rax + 0x398], r12
call fcn.14001dd40
test bpl, bpl
jne 0x14001b758
test r14b, r14b
je 0x14001b89e
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x14001b89e
test dword [rax + 0x14], 0x40000
jne 0x14001b89e
mov byte [rdi + 0xdd], sil
cmp dword [rdi + 0x48e0], r12d
je 0x14001b8a5
cmp byte [rdi + 0x4916], r12b
jne 0x14001b8a5
movzx eax, sil
mov byte [rdi + 0xde], al
call fcn.14001d060
xor eax, eax
mov qword [rdi + 0x48ec], rax
mov dword [rdi + 0x48e8], eax
mov dword [rdi + 0x48f4], eax
cmp dword [rdi + 0x48e0], eax
je 0x14001b9f8
cmp byte [rdi + 0x4916], al
jne 0x14001b9f8
cmp qword [rdi + 0x4a40], rax
jne 0x14001b9f8
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x14001b9f8
test dword [rax + 0x14], 0x40000
jne 0x14001b9f8
test bpl, bpl
je 0x14001b82e
mov rcx, qword [0x140398dc0]
mov edx, 0x20c
call fcn.140013f30
cmp byte [rax], r12b
je 0x14001b82e
mov rcx, qword [0x140398dc0]
mov edx, 0x20c
call fcn.140003160
cmp byte [rax + 8], r12b
je 0x14001b864
test r14b, r14b
je 0x14001b8b9
mov rcx, qword [0x140398dc0]
mov edx, 0x26e
call fcn.140013f30
cmp byte [rax], r12b
je 0x14001b8b9
mov rcx, qword [0x140398dc0]
mov edx, 0x26e
call fcn.140003160
cmp byte [rax + 8], r12b
jne 0x14001b8b9
movzx r15d, sil
test bpl, bpl
je 0x14001b880
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140014820
test al, al
jne 0x14001b898
test r14b, r14b
je 0x14001b8bc
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140014820
test al, al
je 0x14001b8bc
movzx ebx, sil
jmp 0x14001b8be
mov byte [rdi + 0xdd], r12b
cmp qword [rdi + 0x4a40], r12
jne 0x14001b796
xor al, al
jmp 0x14001b79a
xor r15b, r15b
xor bl, bl
test bpl, bpl
je 0x14001b8f0
mov rcx, qword [0x140398dc0]
mov edx, 0x20d
call fcn.140013f30
cmp byte [rax], r12b
je 0x14001b8f0
mov rcx, qword [0x140398dc0]
mov edx, 0x20d
call fcn.140003160
cmp byte [rax + 8], r12b
je 0x14001b922
test r14b, r14b
je 0x14001b961
mov rcx, qword [0x140398dc0]
mov edx, 0x26d
call fcn.140013f30
cmp byte [rax], r12b
je 0x14001b961
mov rcx, qword [0x140398dc0]
mov edx, 0x26d
call fcn.140003160
cmp byte [rax + 8], r12b
jne 0x14001b961
movzx ebp, sil
cmp byte [rsp + 0xe0], r12b
je 0x14001b943
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140014820
test al, al
jne 0x14001b95b
test r14b, r14b
je 0x14001b964
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140014820
test al, al
je 0x14001b964
movzx edx, sil
jmp 0x14001b966
xor bpl, bpl
xor dl, dl
mov ecx, dword [rdi + 0x3f58]
test ecx, ecx
jne 0x14001b98c
test bl, bl
je 0x14001b994
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48e8], eax
mov dword [rdi + 0x48f4], 2
jmp 0x14001b994
cmp ecx, dword [rdi + 0x48e0]
jne 0x14001b9cc
test dl, dl
je 0x14001b9aa
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48e8], eax
mov dword [rdi + 0x48f4], esi
test ecx, ecx
je 0x14001b9b6
cmp ecx, dword [rdi + 0x48e0]
jne 0x14001b9cc
test r15b, r15b
jne 0x14001b9c0
test bpl, bpl
je 0x14001b9cc
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48ec], eax
mov eax, dword [rdi + 0x3f58]
test eax, eax
je 0x14001b9de
cmp eax, dword [rdi + 0x48e0]
jne 0x14001b9f2
test bl, bl
jne 0x14001b9e6
test dl, dl
je 0x14001b9f2
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48f0], eax
mov r15d, 3
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x14001ba14
test dword [rax + 0x14], 0x40000
je 0x14001ba14
mov byte [rdi + 0x4916], sil
mov eax, dword [rdi + 0x48e8]
test eax, eax
je 0x14001ba40
cmp dword [rdi + 0x48ec], eax
je 0x14001ba40
mov r8d, 0x2ce5
lea rdx, str.C:UsersMONSTERDesktopRedFire_EXTERNALimgui.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 + 0x4904]
test eax, eax
je 0x14001ba68
mov dword [rdi + 0x48f0], eax
mov dword [rdi + 0x48ec], eax
mov dword [rdi + 0x48e8], eax
mov eax, dword [rdi + 0x4908]
mov dword [rdi + 0x48f4], eax
xor ebp, ebp
mov dword [rdi + 0x4904], ebp
call fcn.14001bfb0
cmp dword [rdi + 0x4940], 0xffffffff
xorps xmm10, xmm10
jne 0x14001bc05
mov rbx, qword [0x140398dc0]
cmp dword [rbx + 0x4940], 0xffffffff
mov rbp, qword [rbx + 0x48d8]
je 0x14001bab7
mov r8d, 0x2dd0
lea rdx, str.C:UsersMONSTERDesktopRedFire_EXTERNALimgui.cpp
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 0x14001bc03
cmp qword [rbx + 0x4a40], r12
jne 0x14001bc03
test dword [rbp + 0x14], 0x40000
jne 0x14001bc03
mov rcx, qword [0x140398dc0]
mov edx, 0x200
call fcn.140013f30
cmp byte [rax], r12b
je 0x14001bc03
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x14001bc03
ucomiss xmm0, xmm10
jp 0x14001bb0b
je 0x14001bb37
mov rax, qword [0x140398dc0]
movss xmm1, dword [rax + 0x3c]
comiss xmm0, xmm1
jbe 0x14001bc03
movss xmm2, dword [rax + 0x40]
mov ecx, 0x200
call fcn.140014110
test eax, eax
jle 0x14001bc03
mov rcx, qword [0x140398dc0]
cmp byte [rcx + 0x476c], r12b
je 0x14001bb54
cmp dword [rcx + 0x3f58], 0xffffffff
jne 0x14001bc03
mov edx, 0x200
call fcn.140003160
cmp dword [rax], 0xffffffff
jne 0x14001bc03
cmp byte [rbx + 0xe24], r12b
jne 0x14001bc03
cmp byte [rbx + 0xe26], r12b
jne 0x14001bc03
movzx eax, byte [rbx + 0xe25]
test byte [rbx + 8], sil
je 0x14001bbb1
test al, al
je 0x14001bb99
mov esi, 0xffffffff
jmp 0x14001bbca
cmp byte [rbx + 0x4916], sil
jne 0x14001bbca
cmp dword [rbx + 0x3f58], r12d
jne 0x14001bbca
xor eax, eax
mov esi, eax
jmp 0x14001bbca
test al, al
je 0x14001bbbc
mov esi, 0xffffffff
jmp 0x14001bbca
xor eax, eax
cmp dword [rbx + 0x3f58], eax
mov esi, eax
setne sil
mov dword [rbx + 0x4970], esi
mov eax, reloc.WLDAP32.dll_Ordinal_33
cmp byte [rbp + 0xbc], r12b
mov ecx, 0xffffffff
mov r8d, 0x400
cmovne r15d, eax
sar esi, 0x1f
mov r9d, r15d
lea edx, [rsi + 3]
call fcn.14001aaa0
mov dword [rbx + 0x4974], 0xffffffff
xor ebp, ebp
mov rax, qword [0x140398dc0]
mov r15, qword [rsp + 0xb0]
cmp byte [rax + 0x4931], r12b
jne 0x14001bc2f
cmp byte [rax + 0x4919], r12b
jne 0x14001bc2f
mov byte [rax + 0x4918], r12b
jmp 0x14001bc59
mov byte [rax + 0x4918], 1
cmp qword [rax + 0x48d8], r12
jne 0x14001bc59
mov r8d, 0x2c36
lea rdx, str.C:UsersMONSTERDesktopRedFire_EXTERNALimgui.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 + 0x48d8]
mov byte [rdi + 0x4914], r12b
mov r12, qword [rsp + 0xf8]
test rsi, rsi
je 0x14001bf1d
test dword [rsi + 0x14], 0x40000
jne 0x14001bf1d
cmp qword [rdi + 0x4a40], 0
jne 0x14001bf1d
mov rax, qword [rsi]
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm9
movss xmm0, dword [rax + 0x3c24]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x14001bcc9
mulss xmm0, dword [rax + 0x290]
cmp word [rsi + 0x15c], 0
mulss xmm0, dword [0x140176cbc]
mov ecx, dword [rdi + 0x4940]
movss xmm8, dword [0x140176bc0]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x140176b8c]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x14001bd9e
cmp byte [rsi + 0x162], 0
je 0x14001bd9e
cmp ecx, 0xffffffff
je 0x14001bd9e
movss xmm1, dword [0x140176d90]
test ecx, ecx
je 0x14001bd35
cmp ecx, 1
jne 0x14001bd64
movaps xmm0, xmm8
jmp 0x14001bd38
movaps xmm0, xmm1
mulss xmm0, xmm9
mov dword [rsi + 0x9c], ebp
mov dword [rsi + 0xa4], ebp
addss xmm0, dword [rsi + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x94], xmm0
cmp ecx, 2
je 0x14001bd72
cmp ecx, 3
jne 0x14001bd9e
movaps xmm1, xmm8
mulss xmm1, xmm9
mov dword [rsi + 0xa0], ebp
mov dword [rsi + 0xa8], ebp
addss xmm1, dword [rsi + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x98], xmm0
test r14b, r14b
je 0x14001bf0e
mov rcx, qword [0x140398dc0]
mov edx, 0x27c
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
call fcn.140013f30
mov rcx, qword [0x140398dc0]
mov edx, 0x27b
mov rbx, rax
call fcn.140013f30
movss xmm6, dword [rbx + 0xc]
mov edx, 0x27a
mov rcx, qword [0x140398dc0]
subss xmm6, dword [rax + 0xc]
call fcn.140013f30
mov rcx, qword [0x140398dc0]
mov edx, 0x279
mov rbx, rax
call fcn.140013f30
movss xmm7, dword [rbx + 0xc]
mov edx, 0x273
mov rcx, qword [0x140398dc0]
subss xmm7, dword [rax + 0xc]
call fcn.140013f30
cmp byte [rax], 0
je 0x14001be4d
mov rcx, qword [0x140398dc0]
mov edx, 0x273
call fcn.140003160
cmp byte [rax + 8], 0
jne 0x14001be4d
movss xmm8, dword [0x140176b5c]
jmp 0x14001be83
mov rcx, qword [0x140398dc0]
mov edx, 0x274
call fcn.140013f30
cmp byte [rax], 0
je 0x14001be83
mov rcx, qword [0x140398dc0]
mov edx, 0x274
call fcn.140003160
cmp byte [rax + 8], 0
jne 0x14001be83
movss xmm8, dword [0x140176c40]
ucomiss xmm7, xmm10
jp 0x14001be8b
je 0x14001bec5
cmp byte [rsi + 0xb4], 0
je 0x14001bec5
mulss xmm7, xmm9
mov dword [rsi + 0x9c], ebp
mov dword [rsi + 0xa4], ebp
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 + 0x90]
jp 0x14001bed5
je 0x14001bf06
mulss xmm6, xmm9
mov dword [rsi + 0xa0], ebp
mov dword [rsi + 0xa8], ebp
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 + 0xa0]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm9, xmmword [rsp + 0x70]
cmp byte [rsp + 0xe0], 0
movaps xmm10, xmmword [rsp + 0x60]
mov rsi, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xe8]
jne 0x14001bf4d
test r14b, r14b
jne 0x14001bf4d
mov word [rdi + 0x4916], 1
jmp 0x14001bf9b
test r13b, r13b
je 0x14001bf9b
test byte [rdi + 8], 4
je 0x14001bf9b
test byte [rdi + 0xc], 4
je 0x14001bf9b
lea rcx, [rsp + 0xe0]
call fcn.14001b0b0
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 + 0x496c], ebp
add rsp, 0xb8
pop r14
pop r13
pop rdi
pop rbp
ret