Function at 0x140019cb0
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 [0x1404e5fc0]
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 + 0xd5], 0
je 0x140019da5
test byte [rdi + 0xc], 1
je 0x140019da5
movdqa xmm0, xmmword [0x140135dc0]
lea rsi, [rsp + 0x40]
movdqa xmm1, xmmword [0x140135dd0]
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 [0x1404e5fc0]
call fcn.140012b80
cmp byte [rax], 0
je 0x140019d95
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x140019d7a
cmp ebx, 0x1000
je 0x140019d7a
cmp ebx, 0x2000
je 0x140019d7a
cmp ebx, 0x4000
je 0x140019d7a
cmp ebx, 0x8000
je 0x140019d7a
cmp ebx, 0x800
jne 0x140019d8e
mov rcx, qword [0x1404e5fc0]
mov edx, ebx
call fcn.140002c30
cmp byte [rax + 8], 0
jne 0x140019d95
mov dword [rdi + 0x4934], r15d
add rsi, 4
lea rax, [rsp + 0x60]
cmp rsi, rax
jne 0x140019d30
jmp 0x140019da8
xor r14b, r14b
movzx ebp, byte [rdi + 8]
movdqa xmm0, xmmword [0x140135db0]
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 0x140019e66
lea rsi, [rsp + 0x20]
nop dword [rax]
mov ebx, dword [rsi]
mov edx, ebx
mov rcx, qword [0x1404e5fc0]
call fcn.140012b80
cmp byte [rax], 0
je 0x140019e58
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x140019e3a
cmp ebx, 0x1000
je 0x140019e3a
cmp ebx, 0x2000
je 0x140019e3a
cmp ebx, 0x4000
je 0x140019e3a
cmp ebx, 0x8000
je 0x140019e3a
cmp ebx, 0x800
jne 0x140019e4e
mov rcx, qword [0x1404e5fc0]
mov edx, ebx
call fcn.140002c30
cmp byte [rax + 8], 0
jne 0x140019e58
mov dword [rdi + 0x4934], 2
add rsi, 4
lea rax, [rsp + 0x3c]
cmp rsi, rax
jne 0x140019df0
xor r12d, r12d
mov dword [rdi + 0x4920], r12d
cmp dword [rdi + 0x4950], r12d
je 0x140019f21
mov rbx, qword [0x1404e5fc0]
mov r9, qword [rbx + 0x4900]
test r9, r9
je 0x140019f21
mov edx, dword [rbx + 0x4950]
cmp dword [rbx + 0x4908], edx
je 0x140019ebb
mov dword [rbx + 0x4920], edx
mov eax, dword [rbx + 0x4954]
mov dword [rbx + 0x4924], eax
mov dword [rbx + 0x4928], r12d
test byte [rbx + 0x5d1c], 8
je 0x140019edb
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rbx + 0x4938]
call fcn.14001e820
mov r8d, dword [rbx + 0x4954]
lea r9, [rbx + 0x4958]
mov edx, dword [rbx + 0x4938]
mov ecx, dword [rbx + 0x4950]
call fcn.140018550
mov byte [rbx + 0x493c], 1
cmp byte [rbx + 0x4942], r12b
je 0x140019f21
mov rax, qword [0x1404e5fc0]
mov word [rax + 0x493d], 1
mov byte [rax + 0x493f], 1
mov word [rdi + 0x4941], r12w
mov dword [rdi + 0x4950], r12d
cmp byte [rdi + 0x4978], r12b
je 0x140019f3e
call fcn.14001b4a0
xor r13b, r13b
mov dword [rdi + 0x49bc], r12d
mov esi, 1
mov word [rdi + 0x4978], r12w
cmp byte [rdi + 0x493d], r12b
je 0x140019f88
cmp byte [rdi + 0x493c], r12b
je 0x140019f88
cmp byte [rdi + 0x493e], r12b
jne 0x140019f88
cmp byte [rdi + 0x493f], r12b
je 0x140019f88
cmp qword [rdi + 0x4900], r12
movzx r13d, r13b
cmovne r13d, esi
mov byte [rdi + 0x493d], r12b
cmp dword [rdi + 0x4938], esi
jbe 0x140019fb1
mov r8d, 0x2cbf
lea rdx, str.C:UsersdiscoDesktoploader_DECADE_Keyauthimgui_Decadeimgui.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 + 0x4900]
test rcx, rcx
je 0x140019fec
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x140019fe0
test dword [rax + 0x14], 0x14000000
jne 0x140019fe0
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140019fc0
jmp 0x140019fec
cmp rax, rcx
je 0x140019fec
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x4900]
test rax, rax
je 0x14001a011
cmp qword [rax + 0x398], r12
je 0x14001a011
cmp dword [rdi + 0x4938], r12d
jne 0x14001a011
mov qword [rax + 0x398], r12
call fcn.14001c620
test bpl, bpl
jne 0x14001a024
test r14b, r14b
je 0x14001a16a
mov rax, qword [rdi + 0x4900]
test rax, rax
je 0x14001a16a
test dword [rax + 0x14], 0x40000
jne 0x14001a16a
mov byte [rdi + 0xd7], sil
cmp dword [rdi + 0x4908], r12d
je 0x14001a171
cmp byte [rdi + 0x493e], r12b
jne 0x14001a171
movzx eax, sil
mov byte [rdi + 0xd8], al
call fcn.14001b940
xor eax, eax
mov qword [rdi + 0x4914], rax
mov dword [rdi + 0x4910], eax
mov dword [rdi + 0x491c], eax
cmp dword [rdi + 0x4908], eax
je 0x14001a2c4
cmp byte [rdi + 0x493e], al
jne 0x14001a2c4
cmp qword [rdi + 0x4a88], rax
jne 0x14001a2c4
mov rax, qword [rdi + 0x4900]
test rax, rax
je 0x14001a2c4
test dword [rax + 0x14], 0x40000
jne 0x14001a2c4
test bpl, bpl
je 0x14001a0fa
mov rcx, qword [0x1404e5fc0]
mov edx, 0x20c
call fcn.140012b80
cmp byte [rax], r12b
je 0x14001a0fa
mov rcx, qword [0x1404e5fc0]
mov edx, 0x20c
call fcn.140002c30
cmp byte [rax + 8], r12b
je 0x14001a130
test r14b, r14b
je 0x14001a185
mov rcx, qword [0x1404e5fc0]
mov edx, 0x26e
call fcn.140012b80
cmp byte [rax], r12b
je 0x14001a185
mov rcx, qword [0x1404e5fc0]
mov edx, 0x26e
call fcn.140002c30
cmp byte [rax + 8], r12b
jne 0x14001a185
movzx r15d, sil
test bpl, bpl
je 0x14001a14c
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.1400133f0
test al, al
jne 0x14001a164
test r14b, r14b
je 0x14001a188
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.1400133f0
test al, al
je 0x14001a188
movzx ebx, sil
jmp 0x14001a18a
mov byte [rdi + 0xd7], r12b
cmp qword [rdi + 0x4a88], r12
jne 0x14001a062
xor al, al
jmp 0x14001a066
xor r15b, r15b
xor bl, bl
test bpl, bpl
je 0x14001a1bc
mov rcx, qword [0x1404e5fc0]
mov edx, 0x20d
call fcn.140012b80
cmp byte [rax], r12b
je 0x14001a1bc
mov rcx, qword [0x1404e5fc0]
mov edx, 0x20d
call fcn.140002c30
cmp byte [rax + 8], r12b
je 0x14001a1ee
test r14b, r14b
je 0x14001a22d
mov rcx, qword [0x1404e5fc0]
mov edx, 0x26d
call fcn.140012b80
cmp byte [rax], r12b
je 0x14001a22d
mov rcx, qword [0x1404e5fc0]
mov edx, 0x26d
call fcn.140002c30
cmp byte [rax + 8], r12b
jne 0x14001a22d
movzx ebp, sil
cmp byte [rsp + 0xe0], r12b
je 0x14001a20f
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.1400133f0
test al, al
jne 0x14001a227
test r14b, r14b
je 0x14001a230
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.1400133f0
test al, al
je 0x14001a230
movzx edx, sil
jmp 0x14001a232
xor bpl, bpl
xor dl, dl
mov ecx, dword [rdi + 0x3f68]
test ecx, ecx
jne 0x14001a258
test bl, bl
je 0x14001a260
mov eax, dword [rdi + 0x4908]
mov dword [rdi + 0x4910], eax
mov dword [rdi + 0x491c], 2
jmp 0x14001a260
cmp ecx, dword [rdi + 0x4908]
jne 0x14001a298
test dl, dl
je 0x14001a276
mov eax, dword [rdi + 0x4908]
mov dword [rdi + 0x4910], eax
mov dword [rdi + 0x491c], esi
test ecx, ecx
je 0x14001a282
cmp ecx, dword [rdi + 0x4908]
jne 0x14001a298
test r15b, r15b
jne 0x14001a28c
test bpl, bpl
je 0x14001a298
mov eax, dword [rdi + 0x4908]
mov dword [rdi + 0x4914], eax
mov eax, dword [rdi + 0x3f68]
test eax, eax
je 0x14001a2aa
cmp eax, dword [rdi + 0x4908]
jne 0x14001a2be
test bl, bl
jne 0x14001a2b2
test dl, dl
je 0x14001a2be
mov eax, dword [rdi + 0x4908]
mov dword [rdi + 0x4918], eax
mov r15d, 3
mov rax, qword [rdi + 0x4900]
test rax, rax
je 0x14001a2e0
test dword [rax + 0x14], 0x40000
je 0x14001a2e0
mov byte [rdi + 0x493e], sil
mov eax, dword [rdi + 0x4910]
test eax, eax
je 0x14001a30c
cmp dword [rdi + 0x4914], eax
je 0x14001a30c
mov r8d, 0x2cec
lea rdx, str.C:UsersdiscoDesktoploader_DECADE_Keyauthimgui_Decadeimgui.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 + 0x492c]
test eax, eax
je 0x14001a334
mov dword [rdi + 0x4918], eax
mov dword [rdi + 0x4914], eax
mov dword [rdi + 0x4910], eax
mov eax, dword [rdi + 0x4930]
mov dword [rdi + 0x491c], eax
xor ebp, ebp
mov dword [rdi + 0x492c], ebp
call fcn.14001a880
cmp dword [rdi + 0x4988], 0xffffffff
xorps xmm10, xmm10
jne 0x14001a4d1
mov rbx, qword [0x1404e5fc0]
cmp dword [rbx + 0x4988], 0xffffffff
mov rbp, qword [rbx + 0x4900]
je 0x14001a383
mov r8d, 0x2ddf
lea rdx, str.C:UsersdiscoDesktoploader_DECADE_Keyauthimgui_Decadeimgui.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 0x14001a4cf
cmp qword [rbx + 0x4a88], r12
jne 0x14001a4cf
test dword [rbp + 0x14], 0x40000
jne 0x14001a4cf
mov rcx, qword [0x1404e5fc0]
mov edx, 0x200
call fcn.140012b80
cmp byte [rax], r12b
je 0x14001a4cf
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x14001a4cf
ucomiss xmm0, xmm10
jp 0x14001a3d7
je 0x14001a403
mov rax, qword [0x1404e5fc0]
movss xmm1, dword [rax + 0x70]
comiss xmm0, xmm1
jbe 0x14001a4cf
movss xmm2, dword [rax + 0x74]
mov ecx, 0x200
call fcn.140012d60
test eax, eax
jle 0x14001a4cf
mov rcx, qword [0x1404e5fc0]
cmp byte [rcx + 0x477c], r12b
je 0x14001a420
cmp dword [rcx + 0x3f68], 0xffffffff
jne 0x14001a4cf
mov edx, 0x200
call fcn.140002c30
cmp dword [rax], 0xffffffff
jne 0x14001a4cf
cmp byte [rbx + 0xe1c], r12b
jne 0x14001a4cf
cmp byte [rbx + 0xe1e], r12b
jne 0x14001a4cf
movzx eax, byte [rbx + 0xe1d]
test byte [rbx + 8], sil
je 0x14001a47d
test al, al
je 0x14001a465
mov esi, 0xffffffff
jmp 0x14001a496
cmp byte [rbx + 0x493e], sil
jne 0x14001a496
cmp dword [rbx + 0x3f68], r12d
jne 0x14001a496
xor eax, eax
mov esi, eax
jmp 0x14001a496
test al, al
je 0x14001a488
mov esi, 0xffffffff
jmp 0x14001a496
xor eax, eax
cmp dword [rbx + 0x3f68], eax
mov esi, eax
setne sil
mov dword [rbx + 0x49b8], esi
mov eax, reloc.WLDAP32.dll_Ordinal_33
cmp byte [rbp + 0xbc], r12b
mov ecx, 0xffffffff
mov r8d, 0x1400
cmovne r15d, eax
sar esi, 0x1f
mov r9d, r15d
lea edx, [rsi + 3]
call fcn.140019430
mov dword [rbx + 0x49bc], 0xffffffff
xor ebp, ebp
mov rax, qword [0x1404e5fc0]
mov r15, qword [rsp + 0xb0]
cmp byte [rax + 0x4979], r12b
jne 0x14001a4fb
cmp byte [rax + 0x4941], r12b
jne 0x14001a4fb
mov byte [rax + 0x4940], r12b
jmp 0x14001a525
mov byte [rax + 0x4940], 1
cmp qword [rax + 0x4900], r12
jne 0x14001a525
mov r8d, 0x2c3e
lea rdx, str.C:UsersdiscoDesktoploader_DECADE_Keyauthimgui_Decadeimgui.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 + 0x4900]
mov byte [rdi + 0x493c], r12b
mov r12, qword [rsp + 0xf8]
test rsi, rsi
je 0x14001a7e9
test dword [rsi + 0x14], 0x40000
jne 0x14001a7e9
cmp qword [rdi + 0x4a88], 0
jne 0x14001a7e9
mov rax, qword [rsi]
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm9
movss xmm0, dword [rax + 0x3c34]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x14001a595
mulss xmm0, dword [rax + 0x290]
cmp word [rsi + 0x15c], 0
mulss xmm0, dword [0x140135c60]
mov ecx, dword [rdi + 0x4988]
movss xmm8, dword [0x140135bb0]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x140135b7c]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x14001a66a
cmp byte [rsi + 0x162], 0
je 0x14001a66a
cmp ecx, 0xffffffff
je 0x14001a66a
movss xmm1, dword [0x140135cc4]
test ecx, ecx
je 0x14001a601
cmp ecx, 1
jne 0x14001a630
movaps xmm0, xmm8
jmp 0x14001a604
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 0x14001a63e
cmp ecx, 3
jne 0x14001a66a
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 0x14001a7da
mov rcx, qword [0x1404e5fc0]
mov edx, 0x27c
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
call fcn.140012b80
mov rcx, qword [0x1404e5fc0]
mov edx, 0x27b
mov rbx, rax
call fcn.140012b80
movss xmm6, dword [rbx + 0xc]
mov edx, 0x27a
mov rcx, qword [0x1404e5fc0]
subss xmm6, dword [rax + 0xc]
call fcn.140012b80
mov rcx, qword [0x1404e5fc0]
mov edx, 0x279
mov rbx, rax
call fcn.140012b80
movss xmm7, dword [rbx + 0xc]
mov edx, 0x273
mov rcx, qword [0x1404e5fc0]
subss xmm7, dword [rax + 0xc]
call fcn.140012b80
cmp byte [rax], 0
je 0x14001a719
mov rcx, qword [0x1404e5fc0]
mov edx, 0x273
call fcn.140002c30
cmp byte [rax + 8], 0
jne 0x14001a719
movss xmm8, dword [0x140135b5c]
jmp 0x14001a74f
mov rcx, qword [0x1404e5fc0]
mov edx, 0x274
call fcn.140012b80
cmp byte [rax], 0
je 0x14001a74f
mov rcx, qword [0x1404e5fc0]
mov edx, 0x274
call fcn.140002c30
cmp byte [rax + 8], 0
jne 0x14001a74f
movss xmm8, dword [0x140135c00]
ucomiss xmm7, xmm10
jp 0x14001a757
je 0x14001a791
cmp byte [rsi + 0xb4], 0
je 0x14001a791
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 0x14001a7a1
je 0x14001a7d2
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 0x14001a819
test r14b, r14b
jne 0x14001a819
mov word [rdi + 0x493e], 1
jmp 0x14001a867
test r13b, r13b
je 0x14001a867
test byte [rdi + 8], 4
je 0x14001a867
test byte [rdi + 0xc], 4
je 0x14001a867
lea rcx, [rsp + 0xe0]
call fcn.140019a30
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x36e8], xmm0
movss dword [rdi + 0x36ec], xmm1
movss dword [rdi + 0xe00], xmm0
movss dword [rdi + 0xe04], xmm1
mov byte [rdi + 0xd5], 1
mov dword [rdi + 0x49b4], ebp
add rsp, 0xb8
pop r14
pop r13
pop rdi
pop rbp
ret