Function at 0x140018270
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 [0x1407ce108]
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 0x140018365
test byte [rdi + 0xc], 1
je 0x140018365
movdqa xmm0, xmmword [0x140053b20]
lea rsi, [rsp + 0x40]
movdqa xmm1, xmmword [0x140053b30]
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 [0x1407ce108]
call fcn.140011290
cmp byte [rax], 0
je 0x140018355
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x14001833a
cmp ebx, 0x1000
je 0x14001833a
cmp ebx, 0x2000
je 0x14001833a
cmp ebx, 0x4000
je 0x14001833a
cmp ebx, 0x8000
je 0x14001833a
cmp ebx, 0x800
jne 0x14001834e
mov rcx, qword [0x1407ce108]
mov edx, ebx
call fcn.140002130
cmp byte [rax + 8], 0
jne 0x140018355
mov dword [rdi + 0x48e4], r15d
add rsi, 4
lea rax, [rsp + 0x60]
cmp rsi, rax
jne 0x1400182f0
jmp 0x140018368
xor r14b, r14b
movzx ebp, byte [rdi + 8]
movdqa xmm0, xmmword [0x140053b10]
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 0x140018426
lea rsi, [rsp + 0x20]
nop dword [rax]
mov ebx, dword [rsi]
mov edx, ebx
mov rcx, qword [0x1407ce108]
call fcn.140011290
cmp byte [rax], 0
je 0x140018418
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x1400183fa
cmp ebx, 0x1000
je 0x1400183fa
cmp ebx, 0x2000
je 0x1400183fa
cmp ebx, 0x4000
je 0x1400183fa
cmp ebx, 0x8000
je 0x1400183fa
cmp ebx, 0x800
jne 0x14001840e
mov rcx, qword [0x1407ce108]
mov edx, ebx
call fcn.140002130
cmp byte [rax + 8], 0
jne 0x140018418
mov dword [rdi + 0x48e4], 2
add rsi, 4
lea rax, [rsp + 0x3c]
cmp rsi, rax
jne 0x1400183b0
xor r12d, r12d
mov dword [rdi + 0x48d0], r12d
cmp dword [rdi + 0x4900], r12d
je 0x1400184e1
mov rbx, qword [0x1407ce108]
mov r9, qword [rbx + 0x48b0]
test r9, r9
je 0x1400184e1
mov edx, dword [rbx + 0x4900]
cmp dword [rbx + 0x48b8], edx
je 0x14001847b
mov dword [rbx + 0x48d0], edx
mov eax, dword [rbx + 0x4904]
mov dword [rbx + 0x48d4], eax
mov dword [rbx + 0x48d8], r12d
test byte [rbx + 0x5cbc], 8
je 0x14001849b
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]
call fcn.14001d1c0
mov r8d, dword [rbx + 0x4904]
lea r9, [rbx + 0x4908]
mov edx, dword [rbx + 0x48e8]
mov ecx, dword [rbx + 0x4900]
call fcn.140016b10
mov byte [rbx + 0x48ec], 1
cmp byte [rbx + 0x48f2], r12b
je 0x1400184e1
mov rax, qword [0x1407ce108]
mov word [rax + 0x48ed], 1
mov byte [rax + 0x48ef], 1
mov word [rdi + 0x48f1], r12w
mov dword [rdi + 0x4900], r12d
cmp byte [rdi + 0x4928], r12b
je 0x1400184fe
call fcn.140019a60
xor r13b, r13b
mov dword [rdi + 0x496c], r12d
mov esi, 1
mov word [rdi + 0x4928], r12w
cmp byte [rdi + 0x48ed], r12b
je 0x140018548
cmp byte [rdi + 0x48ec], r12b
je 0x140018548
cmp byte [rdi + 0x48ee], r12b
jne 0x140018548
cmp byte [rdi + 0x48ef], r12b
je 0x140018548
cmp qword [rdi + 0x48b0], r12
movzx r13d, r13b
cmovne r13d, esi
mov byte [rdi + 0x48ed], r12b
cmp dword [rdi + 0x48e8], esi
jbe 0x140018571
mov r8d, 0x2c27
lea rdx, str.D:Nizzware_CodeNizzware_Tool_SRCimgui.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 0x1400185ac
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x1400185a0
test dword [rax + 0x14], 0x14000000
jne 0x1400185a0
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140018580
jmp 0x1400185ac
cmp rax, rcx
je 0x1400185ac
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x1400185d1
cmp qword [rax + 0x398], r12
je 0x1400185d1
cmp dword [rdi + 0x48e8], r12d
jne 0x1400185d1
mov qword [rax + 0x398], r12
call fcn.14001abe0
test bpl, bpl
jne 0x1400185e4
test r14b, r14b
je 0x14001872a
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x14001872a
test dword [rax + 0x14], 0x40000
jne 0x14001872a
mov byte [rdi + 0xdd], sil
cmp dword [rdi + 0x48b8], r12d
je 0x140018731
cmp byte [rdi + 0x48ee], r12b
jne 0x140018731
movzx eax, sil
mov byte [rdi + 0xde], al
call fcn.140019f00
xor eax, eax
mov qword [rdi + 0x48c4], rax
mov dword [rdi + 0x48c0], eax
mov dword [rdi + 0x48cc], eax
cmp dword [rdi + 0x48b8], eax
je 0x140018884
cmp byte [rdi + 0x48ee], al
jne 0x140018884
cmp qword [rdi + 0x4a38], rax
jne 0x140018884
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x140018884
test dword [rax + 0x14], 0x40000
jne 0x140018884
test bpl, bpl
je 0x1400186ba
mov rcx, qword [0x1407ce108]
mov edx, 0x20c
call fcn.140011290
cmp byte [rax], r12b
je 0x1400186ba
mov rcx, qword [0x1407ce108]
mov edx, 0x20c
call fcn.140002130
cmp byte [rax + 8], r12b
je 0x1400186f0
test r14b, r14b
je 0x140018745
mov rcx, qword [0x1407ce108]
mov edx, 0x26e
call fcn.140011290
cmp byte [rax], r12b
je 0x140018745
mov rcx, qword [0x1407ce108]
mov edx, 0x26e
call fcn.140002130
cmp byte [rax + 8], r12b
jne 0x140018745
movzx r15d, sil
test bpl, bpl
je 0x14001870c
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140011b00
test al, al
jne 0x140018724
test r14b, r14b
je 0x140018748
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140011b00
test al, al
je 0x140018748
movzx ebx, sil
jmp 0x14001874a
mov byte [rdi + 0xdd], r12b
cmp qword [rdi + 0x4a38], r12
jne 0x140018622
xor al, al
jmp 0x140018626
xor r15b, r15b
xor bl, bl
test bpl, bpl
je 0x14001877c
mov rcx, qword [0x1407ce108]
mov edx, 0x20d
call fcn.140011290
cmp byte [rax], r12b
je 0x14001877c
mov rcx, qword [0x1407ce108]
mov edx, 0x20d
call fcn.140002130
cmp byte [rax + 8], r12b
je 0x1400187ae
test r14b, r14b
je 0x1400187ed
mov rcx, qword [0x1407ce108]
mov edx, 0x26d
call fcn.140011290
cmp byte [rax], r12b
je 0x1400187ed
mov rcx, qword [0x1407ce108]
mov edx, 0x26d
call fcn.140002130
cmp byte [rax + 8], r12b
jne 0x1400187ed
movzx ebp, sil
cmp byte [rsp + 0xe0], r12b
je 0x1400187cf
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140011b00
test al, al
jne 0x1400187e7
test r14b, r14b
je 0x1400187f0
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140011b00
test al, al
je 0x1400187f0
movzx edx, sil
jmp 0x1400187f2
xor bpl, bpl
xor dl, dl
mov ecx, dword [rdi + 0x3f30]
test ecx, ecx
jne 0x140018818
test bl, bl
je 0x140018820
mov eax, dword [rdi + 0x48b8]
mov dword [rdi + 0x48c0], eax
mov dword [rdi + 0x48cc], 2
jmp 0x140018820
cmp ecx, dword [rdi + 0x48b8]
jne 0x140018858
test dl, dl
je 0x140018836
mov eax, dword [rdi + 0x48b8]
mov dword [rdi + 0x48c0], eax
mov dword [rdi + 0x48cc], esi
test ecx, ecx
je 0x140018842
cmp ecx, dword [rdi + 0x48b8]
jne 0x140018858
test r15b, r15b
jne 0x14001884c
test bpl, bpl
je 0x140018858
mov eax, dword [rdi + 0x48b8]
mov dword [rdi + 0x48c4], eax
mov eax, dword [rdi + 0x3f30]
test eax, eax
je 0x14001886a
cmp eax, dword [rdi + 0x48b8]
jne 0x14001887e
test bl, bl
jne 0x140018872
test dl, dl
je 0x14001887e
mov eax, dword [rdi + 0x48b8]
mov dword [rdi + 0x48c8], eax
mov r15d, 3
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x1400188a0
test dword [rax + 0x14], 0x40000
je 0x1400188a0
mov byte [rdi + 0x48ee], sil
mov eax, dword [rdi + 0x48c0]
test eax, eax
je 0x1400188cc
cmp dword [rdi + 0x48c4], eax
je 0x1400188cc
mov r8d, 0x2c54
lea rdx, str.D:Nizzware_CodeNizzware_Tool_SRCimgui.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 0x1400188f4
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
xor ebp, ebp
mov dword [rdi + 0x48dc], ebp
call fcn.140018e40
cmp dword [rdi + 0x4938], 0xffffffff
xorps xmm10, xmm10
jne 0x140018a91
mov rbx, qword [0x1407ce108]
cmp dword [rbx + 0x4938], 0xffffffff
mov rbp, qword [rbx + 0x48b0]
je 0x140018943
mov r8d, 0x2d47
lea rdx, str.D:Nizzware_CodeNizzware_Tool_SRCimgui.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 0x140018a8f
cmp qword [rbx + 0x4a38], r12
jne 0x140018a8f
test dword [rbp + 0x14], 0x40000
jne 0x140018a8f
mov rcx, qword [0x1407ce108]
mov edx, 0x200
call fcn.140011290
cmp byte [rax], r12b
je 0x140018a8f
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x140018a8f
ucomiss xmm0, xmm10
jp 0x140018997
je 0x1400189c3
mov rax, qword [0x1407ce108]
movss xmm1, dword [rax + 0x3c]
comiss xmm0, xmm1
jbe 0x140018a8f
movss xmm2, dword [rax + 0x40]
mov ecx, 0x200
call fcn.140011470
test eax, eax
jle 0x140018a8f
mov rcx, qword [0x1407ce108]
cmp byte [rcx + 0x4744], r12b
je 0x1400189e0
cmp dword [rcx + 0x3f30], 0xffffffff
jne 0x140018a8f
mov edx, 0x200
call fcn.140002130
cmp dword [rax], 0xffffffff
jne 0x140018a8f
cmp byte [rbx + 0xe24], r12b
jne 0x140018a8f
cmp byte [rbx + 0xe26], r12b
jne 0x140018a8f
movzx eax, byte [rbx + 0xe25]
test byte [rbx + 8], sil
je 0x140018a3d
test al, al
je 0x140018a25
mov esi, 0xffffffff
jmp 0x140018a56
cmp byte [rbx + 0x48ee], sil
jne 0x140018a56
cmp dword [rbx + 0x3f30], r12d
jne 0x140018a56
xor eax, eax
mov esi, eax
jmp 0x140018a56
test al, al
je 0x140018a48
mov esi, 0xffffffff
jmp 0x140018a56
xor eax, eax
cmp dword [rbx + 0x3f30], eax
mov esi, eax
setne sil
mov dword [rbx + 0x4968], esi
mov eax, 0x21
cmp byte [rbp + 0xbc], r12b
mov ecx, 0xffffffff
mov r8d, 0xc00
cmovne r15d, eax
sar esi, 0x1f
mov r9d, r15d
lea edx, [rsi + 3]
call fcn.1400179f0
mov dword [rbx + 0x496c], 0xffffffff
xor ebp, ebp
mov rax, qword [0x1407ce108]
mov r15, qword [rsp + 0xb0]
cmp byte [rax + 0x4929], r12b
jne 0x140018abb
cmp byte [rax + 0x48f1], r12b
jne 0x140018abb
mov byte [rax + 0x48f0], r12b
jmp 0x140018ae5
mov byte [rax + 0x48f0], 1
cmp qword [rax + 0x48b0], r12
jne 0x140018ae5
mov r8d, 0x2ba6
lea rdx, str.D:Nizzware_CodeNizzware_Tool_SRCimgui.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 byte [rdi + 0x48ec], r12b
mov r12, qword [rsp + 0xf8]
test rsi, rsi
je 0x140018da9
test dword [rsi + 0x14], 0x40000
jne 0x140018da9
cmp qword [rdi + 0x4a38], 0
jne 0x140018da9
mov rax, qword [rsi]
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm9
movss xmm0, dword [rax + 0x3c0c]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x140018b55
mulss xmm0, dword [rax + 0x290]
cmp word [rsi + 0x15c], 0
mulss xmm0, dword [0x1400539c4]
mov ecx, dword [rdi + 0x4938]
movss xmm8, dword [0x140053934]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x140053900]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x140018c2a
cmp byte [rsi + 0x162], 0
je 0x140018c2a
cmp ecx, 0xffffffff
je 0x140018c2a
movss xmm1, dword [0x140053a48]
test ecx, ecx
je 0x140018bc1
cmp ecx, 1
jne 0x140018bf0
movaps xmm0, xmm8
jmp 0x140018bc4
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 0x140018bfe
cmp ecx, 3
jne 0x140018c2a
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 0x140018d9a
mov rcx, qword [0x1407ce108]
mov edx, 0x27c
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
call fcn.140011290
mov rcx, qword [0x1407ce108]
mov edx, 0x27b
mov rbx, rax
call fcn.140011290
movss xmm6, dword [rbx + 0xc]
mov edx, 0x27a
mov rcx, qword [0x1407ce108]
subss xmm6, dword [rax + 0xc]
call fcn.140011290
mov rcx, qword [0x1407ce108]
mov edx, 0x279
mov rbx, rax
call fcn.140011290
movss xmm7, dword [rbx + 0xc]
mov edx, 0x273
mov rcx, qword [0x1407ce108]
subss xmm7, dword [rax + 0xc]
call fcn.140011290
cmp byte [rax], 0
je 0x140018cd9
mov rcx, qword [0x1407ce108]
mov edx, 0x273
call fcn.140002130
cmp byte [rax + 8], 0
jne 0x140018cd9
movss xmm8, dword [0x1400538e0]
jmp 0x140018d0f
mov rcx, qword [0x1407ce108]
mov edx, 0x274
call fcn.140011290
cmp byte [rax], 0
je 0x140018d0f
mov rcx, qword [0x1407ce108]
mov edx, 0x274
call fcn.140002130
cmp byte [rax + 8], 0
jne 0x140018d0f
movss xmm8, dword [0x14005396c]
ucomiss xmm7, xmm10
jp 0x140018d17
je 0x140018d51
cmp byte [rsi + 0xb4], 0
je 0x140018d51
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 0x140018d61
je 0x140018d92
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 0x140018dd9
test r14b, r14b
jne 0x140018dd9
mov word [rdi + 0x48ee], 1
jmp 0x140018e27
test r13b, r13b
je 0x140018e27
test byte [rdi + 8], 4
je 0x140018e27
test byte [rdi + 0xc], 4
je 0x140018e27
lea rcx, [rsp + 0xe0]
call fcn.140017ff0
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 + 0x4964], ebp
add rsp, 0xb8
pop r14
pop r13
pop rdi
pop rbp
ret