Function at 0x140020d20
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 [0x140180310]
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
movaps xmmword [rax - 0x78], xmm10
mov byte [rdi + 0xdb], 0
je 0x140020da8
test byte [rdi + 0xc], 1
je 0x140020da8
movdqa xmm0, xmmword [0x1400cee20]
lea rbx, [rsp + 0x40]
movdqa xmm1, xmmword [0x1400cee30]
mov bpl, 1
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
mov ecx, dword [rbx]
call fcn.140019930
test al, al
je 0x140020d98
mov dword [rdi + 0x48dc], 3
add rbx, 4
lea rax, [rsp + 0x60]
cmp rbx, rax
jne 0x140020d83
jmp 0x140020dab
xor bpl, bpl
movzx r15d, byte [rdi + 8]
movdqa xmm0, xmmword [0x1400cee10]
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 0x140020e66
lea rsi, [rsp + 0x20]
nop dword [rax]
mov ebx, dword [rsi]
mov edx, ebx
mov rcx, qword [0x140180310]
call fcn.1400190c0
cmp byte [rax], 0
je 0x140020e58
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x140020e3a
cmp ebx, 0x1000
je 0x140020e3a
cmp ebx, 0x2000
je 0x140020e3a
cmp ebx, 0x4000
je 0x140020e3a
cmp ebx, 0x8000
je 0x140020e3a
cmp ebx, 0x800
jne 0x140020e4e
mov rcx, qword [0x140180310]
mov edx, ebx
call fcn.140008f50
cmp byte [rax + 8], 0
jne 0x140020e58
mov dword [rdi + 0x48dc], 2
add rsi, 4
lea rax, [rsp + 0x3c]
cmp rsi, rax
jne 0x140020df0
xor r14d, r14d
cmp dword [rdi + 0x48ec], r14d
je 0x140020f82
mov rbx, qword [0x140180310]
mov r9, qword [rbx + 0x48a8]
test r9, r9
je 0x140020f82
test byte [rbx + 0x5c94], 8
je 0x140020eb3
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rbx + 0x48e0]
mov edx, dword [rbx + 0x48ec]
call fcn.140026040
mov rsi, qword [0x140180310]
movsxd r14, dword [rbx + 0x48e0]
mov r15d, dword [rbx + 0x48ec]
cmp qword [rsi + 0x48a8], 0
jne 0x140020eec
mov r8d, 0x2987
lea rdx, str.C:UsersAhmadDownloadsportin_auth_2kryptedimgui.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 0x140020f0c
mov r8d, 0x2988
lea rdx, str.C:UsersAhmadDownloadsportin_auth_2kryptedimgui.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 + 0x48a8]
mov rcx, r14
mov dword [rsi + 0x48b0], r15d
add rcx, rcx
mov dword [rsi + 0x48e0], r14d
mov dword [rsi + 0x48b4], 0
mov dword [rax + r14*4 + 0x3a0], r15d
xor r14d, r14d
mov rax, qword [rsi + 0x48a8]
movups xmm0, xmmword [rbx + 0x48f0]
movzx r15d, byte [rsp + 0xe0]
movups xmmword [rax + rcx*8 + 0x3a8], xmm0
mov byte [rbx + 0x48e4], 1
cmp byte [rbx + 0x48ea], r14b
je 0x140020f82
mov rax, qword [0x140180310]
mov word [rax + 0x48e5], 1
mov byte [rax + 0x48e7], 1
cmp byte [rdi + 0x4900], 0
mov word [rdi + 0x48e9], 0
mov dword [rdi + 0x48ec], r14d
mov dword [rdi + 0x48c8], r14d
je 0x140020fa7
call fcn.140022450
xor r13b, r13b
mov dword [rdi + 0x4944], r14d
mov esi, 1
mov word [rdi + 0x4900], 0
cmp byte [rdi + 0x48e5], r13b
je 0x140020ff3
cmp byte [rdi + 0x48e4], r13b
je 0x140020ff3
cmp byte [rdi + 0x48e6], r13b
jne 0x140020ff3
cmp byte [rdi + 0x48e7], r13b
je 0x140020ff3
cmp qword [rdi + 0x48a8], 0
movzx r13d, r13b
cmovne r13d, esi
mov byte [rdi + 0x48e5], 0
cmp dword [rdi + 0x48e0], esi
jbe 0x14002101c
mov r8d, 0x2bd2
lea rdx, str.C:UsersAhmadDownloadsportin_auth_2kryptedimgui.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 + 0x48a8]
test rcx, rcx
je 0x14002105c
mov rax, rcx
nop dword [rax + rax]
cmp qword [rax + 0x378], rax
je 0x140021050
test dword [rax + 0x14], 0x14000000
jne 0x140021050
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140021030
jmp 0x14002105c
cmp rax, rcx
je 0x14002105c
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x140021082
cmp qword [rax + 0x398], 0
je 0x140021082
cmp dword [rdi + 0x48e0], 0
jne 0x140021082
mov qword [rax + 0x398], r14
call fcn.140023440
test r15b, r15b
jne 0x140021095
test bpl, bpl
je 0x1400211eb
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x1400211eb
test dword [rax + 0x14], 0x40000
jne 0x1400211eb
mov byte [rdi + 0xdd], sil
cmp dword [rdi + 0x48b0], 0
je 0x1400211f2
cmp byte [rdi + 0x48e6], 0
jne 0x1400211f2
movzx eax, sil
mov byte [rdi + 0xde], al
call fcn.140022760
cmp dword [rdi + 0x48b0], 0
mov qword [rdi + 0x48bc], 0
mov dword [rdi + 0x48b8], r14d
mov dword [rdi + 0x48c4], r14d
je 0x14002134f
cmp byte [rdi + 0x48e6], 0
jne 0x14002134f
cmp qword [rdi + 0x4a10], 0
jne 0x14002134f
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x14002134f
test dword [rax + 0x14], 0x40000
jne 0x14002134f
test r15b, r15b
je 0x140021172
mov rcx, qword [0x140180310]
mov edx, 0x20c
call fcn.1400190c0
cmp byte [rax], 0
je 0x140021172
mov rcx, qword [0x140180310]
mov edx, 0x20c
call fcn.140008f50
cmp byte [rax + 8], 0
je 0x1400211a8
test bpl, bpl
je 0x140021207
mov rcx, qword [0x140180310]
mov edx, 0x26e
call fcn.1400190c0
cmp byte [rax], 0
je 0x140021207
mov rcx, qword [0x140180310]
mov edx, 0x26e
call fcn.140008f50
cmp byte [rax + 8], 0
jne 0x140021207
movzx r14d, byte [rsp + 0xe0]
movzx r15d, sil
test r14b, r14b
je 0x1400211cd
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.1400199b0
test al, al
jne 0x1400211e5
test bpl, bpl
je 0x140021213
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.1400199b0
test al, al
je 0x140021213
movzx ebx, sil
jmp 0x140021215
mov byte [rdi + 0xdd], 0
cmp qword [rdi + 0x4a10], 0
jne 0x1400210d3
xor al, al
jmp 0x1400210d7
movzx r14d, byte [rsp + 0xe0]
xor r15b, r15b
xor bl, bl
test r14b, r14b
je 0x140021247
mov rcx, qword [0x140180310]
mov edx, 0x20d
call fcn.1400190c0
cmp byte [rax], 0
je 0x140021247
mov rcx, qword [0x140180310]
mov edx, 0x20d
call fcn.140008f50
cmp byte [rax + 8], 0
je 0x140021279
test bpl, bpl
je 0x1400212b8
mov rcx, qword [0x140180310]
mov edx, 0x26d
call fcn.1400190c0
cmp byte [rax], 0
je 0x1400212b8
mov rcx, qword [0x140180310]
mov edx, 0x26d
call fcn.140008f50
cmp byte [rax + 8], 0
jne 0x1400212b8
cmp byte [rsp + 0xe0], 0
movzx r14d, sil
je 0x14002129a
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.1400199b0
test al, al
jne 0x1400212b2
test bpl, bpl
je 0x1400212bb
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.1400199b0
test al, al
je 0x1400212bb
movzx edx, sil
jmp 0x1400212bd
xor r14b, r14b
xor dl, dl
mov ecx, dword [rdi + 0x3f28]
test ecx, ecx
jne 0x1400212e3
test bl, bl
je 0x1400212eb
mov eax, dword [rdi + 0x48b0]
mov dword [rdi + 0x48b8], eax
mov dword [rdi + 0x48c4], 2
jmp 0x1400212eb
cmp ecx, dword [rdi + 0x48b0]
jne 0x140021343
test dl, dl
je 0x140021301
mov eax, dword [rdi + 0x48b0]
mov dword [rdi + 0x48b8], eax
mov dword [rdi + 0x48c4], esi
test ecx, ecx
je 0x14002130d
cmp ecx, dword [rdi + 0x48b0]
jne 0x140021343
test r15b, r15b
jne 0x140021317
test r14b, r14b
je 0x140021323
mov eax, dword [rdi + 0x48b0]
mov dword [rdi + 0x48bc], eax
test ecx, ecx
je 0x14002132f
cmp ecx, dword [rdi + 0x48b0]
jne 0x140021343
test bl, bl
jne 0x140021337
test dl, dl
je 0x140021343
mov eax, dword [rdi + 0x48b0]
mov dword [rdi + 0x48c0], eax
movzx r15d, byte [rsp + 0xe0]
xor r14d, r14d
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x14002136b
test dword [rax + 0x14], 0x40000
je 0x14002136b
mov byte [rdi + 0x48e6], sil
mov eax, dword [rdi + 0x48b8]
test eax, eax
je 0x140021397
cmp dword [rdi + 0x48bc], eax
je 0x140021397
mov r8d, 0x2bff
lea rdx, str.C:UsersAhmadDownloadsportin_auth_2kryptedimgui.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 + 0x48d4]
test eax, eax
je 0x1400213bf
mov dword [rdi + 0x48c0], eax
mov dword [rdi + 0x48bc], eax
mov dword [rdi + 0x48b8], eax
mov eax, dword [rdi + 0x48d8]
mov dword [rdi + 0x48c4], eax
mov dword [rdi + 0x48d4], r14d
call fcn.140021910
cmp dword [rdi + 0x4910], 0xffffffff
xorps xmm10, xmm10
jne 0x14002155c
mov rbx, qword [0x140180310]
cmp dword [rbx + 0x4910], 0xffffffff
mov r14, qword [rbx + 0x48a8]
je 0x14002140d
mov r8d, 0x2ccf
lea rdx, str.C:UsersAhmadDownloadsportin_auth_2kryptedimgui.cpp
lea rcx, str.g.NavMoveDir__ImGuiDir_None
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test r14, r14
je 0x140021559
cmp qword [rbx + 0x4a10], 0
jne 0x140021559
test dword [r14 + 0x14], 0x40000
jne 0x140021559
mov rcx, qword [0x140180310]
mov edx, 0x200
call fcn.1400190c0
cmp byte [rax], 0
je 0x140021559
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x140021559
ucomiss xmm0, xmm10
jp 0x140021463
je 0x14002148f
mov rax, qword [0x140180310]
movss xmm1, dword [rax + 0x3c]
comiss xmm0, xmm1
jbe 0x140021559
movss xmm2, dword [rax + 0x40]
mov ecx, 0x200
call fcn.1400192a0
test eax, eax
jle 0x140021559
mov rcx, qword [0x140180310]
cmp byte [rcx + 0x473c], 0
je 0x1400214ac
cmp dword [rcx + 0x3f28], 0xffffffff
jne 0x140021559
mov edx, 0x200
call fcn.140008f50
cmp dword [rax], 0xffffffff
jne 0x140021559
cmp byte [rbx + 0xe24], 0
jne 0x140021559
cmp byte [rbx + 0xe26], 0
jne 0x140021559
movzx eax, byte [rbx + 0xe25]
test byte [rbx + 8], sil
je 0x140021507
test al, al
je 0x1400214f1
mov esi, 0xffffffff
jmp 0x14002151e
cmp byte [rbx + 0x48e6], sil
jne 0x14002151e
cmp dword [rbx + 0x3f28], 0
jne 0x14002151e
xor esi, esi
jmp 0x14002151e
test al, al
je 0x140021512
mov esi, 0xffffffff
jmp 0x14002151e
xor esi, esi
cmp dword [rbx + 0x3f28], esi
setne sil
mov dword [rbx + 0x4940], esi
mov eax, 0x21
cmp byte [r14 + 0xbc], 0
mov r9d, 3
mov r8d, 0x400
cmovne r9d, eax
sar esi, 0x1f
lea ecx, [rax - 0x22]
lea edx, [rsi + 3]
call fcn.1400203e0
mov dword [rbx + 0x4944], 0xffffffff
xor r14d, r14d
mov rax, qword [0x140180310]
cmp byte [rax + 0x4901], 0
jne 0x14002157e
cmp byte [rax + 0x48e9], 0
jne 0x14002157e
mov byte [rax + 0x48e8], 0
jmp 0x1400215a9
cmp qword [rax + 0x48a8], 0
mov byte [rax + 0x48e8], 1
jne 0x1400215a9
mov r8d, 0x2b50
lea rdx, str.C:UsersAhmadDownloadsportin_auth_2kryptedimgui.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 + 0x48a8]
mov r12, qword [rsp + 0xf8]
mov byte [rdi + 0x48e4], 0
test rsi, rsi
je 0x140021875
test dword [rsi + 0x14], 0x40000
jne 0x140021875
cmp qword [rdi + 0x4a10], 0
jne 0x140021875
mov rax, qword [rsi]
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm9
movss xmm0, dword [rax + 0x3c2c]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x140021619
mulss xmm0, dword [rax + 0x290]
cmp word [rsi + 0x15c], 0
mulss xmm0, dword [0x1400cea34]
mov ecx, dword [rdi + 0x4910]
movss xmm8, dword [0x1400ce8a0]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x1400ce868]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x1400216f2
cmp byte [rsi + 0x161], 0
je 0x1400216f2
cmp ecx, 0xffffffff
je 0x1400216f2
movss xmm1, dword [0x1400ceae8]
test ecx, ecx
je 0x140021685
cmp ecx, 1
jne 0x1400216b6
movaps xmm0, xmm8
jmp 0x140021688
movaps xmm0, xmm1
mulss xmm0, xmm9
mov dword [rsi + 0x9c], r14d
mov dword [rsi + 0xa4], r14d
addss xmm0, dword [rsi + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x94], xmm0
cmp ecx, 2
je 0x1400216c4
cmp ecx, 3
jne 0x1400216f2
movaps xmm1, xmm8
mulss xmm1, xmm9
mov dword [rsi + 0xa0], r14d
mov dword [rsi + 0xa8], r14d
addss xmm1, dword [rsi + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x98], xmm0
test bpl, bpl
je 0x140021866
mov rcx, qword [0x140180310]
mov edx, 0x27c
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
call fcn.1400190c0
mov rcx, qword [0x140180310]
mov edx, 0x27b
mov rbx, rax
call fcn.1400190c0
movss xmm6, dword [rbx + 0xc]
mov edx, 0x27a
mov rcx, qword [0x140180310]
subss xmm6, dword [rax + 0xc]
call fcn.1400190c0
mov rcx, qword [0x140180310]
mov edx, 0x279
mov rbx, rax
call fcn.1400190c0
movss xmm7, dword [rbx + 0xc]
mov edx, 0x273
mov rcx, qword [0x140180310]
subss xmm7, dword [rax + 0xc]
call fcn.1400190c0
cmp byte [rax], 0
je 0x1400217a1
mov rcx, qword [0x140180310]
mov edx, 0x273
call fcn.140008f50
cmp byte [rax + 8], 0
jne 0x1400217a1
movss xmm8, dword [0x1400ce838]
jmp 0x1400217d7
mov rcx, qword [0x140180310]
mov edx, 0x274
call fcn.1400190c0
cmp byte [rax], 0
je 0x1400217d7
mov rcx, qword [0x140180310]
mov edx, 0x274
call fcn.140008f50
cmp byte [rax + 8], 0
jne 0x1400217d7
movss xmm8, dword [0x1400ce9c4]
ucomiss xmm7, xmm10
jp 0x1400217df
je 0x14002181b
cmp byte [rsi + 0xb4], 0
je 0x14002181b
mulss xmm7, xmm9
mov dword [rsi + 0x9c], r14d
mov dword [rsi + 0xa4], r14d
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 0x14002182b
je 0x14002185e
mulss xmm6, xmm9
mov dword [rsi + 0xa0], r14d
mov dword [rsi + 0xa8], r14d
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]
movaps xmm10, xmmword [rsp + 0x60]
test r15b, r15b
mov r15, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xe8]
jne 0x1400218a8
test bpl, bpl
jne 0x1400218a8
mov word [rdi + 0x48e6], 1
jmp 0x1400218f6
test r13b, r13b
je 0x1400218f6
test byte [rdi + 8], 4
je 0x1400218f6
test byte [rdi + 0xc], 4
je 0x1400218f6
lea rcx, [rsp + 0xe0]
call fcn.1400209c0
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 + 0x493c], r14d
add rsp, 0xb8
pop r14
pop r13
pop rdi
pop rbp
ret