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

Disassembly:
sub rsp, 0x118
mov rax, qword [0x1402708d0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov byte [rax + 0xd5], 0
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
and eax, 2
test eax, eax
je 0x140036021
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
je 0x140036021
mov byte [rsp + 0x3b], 1
jmp 0x140036026
mov byte [rsp + 0x3b], 0
movzx eax, byte [rsp + 0x3b]
mov byte [rsp + 0x38], al
mov dword [rsp + 0xd0], 0x26c
mov dword [rsp + 0xd4], 0x26b
mov dword [rsp + 0xd8], 0x26d
mov dword [rsp + 0xdc], 0x26e
mov dword [rsp + 0xe0], 0x270
mov dword [rsp + 0xe4], 0x26f
mov dword [rsp + 0xe8], 0x271
mov dword [rsp + 0xec], 0x272
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140036125
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xa0]
add rax, 0x20
mov qword [rsp + 0xf0], rax
jmp 0x1400360de
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rsp + 0x80], rax
je 0x140036125
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x9c], eax
mov ecx, dword [rsp + 0x9c]
call fcn.140030f50
movzx eax, al
test eax, eax
je 0x140036123
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4ad4], 3
jmp 0x1400360ca
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x14003613a
mov byte [rsp + 0x3c], 1
jmp 0x14003613f
mov byte [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x39], al
mov dword [rsp + 0xb0], 0x20c
mov dword [rsp + 0xb4], 0x20d
mov dword [rsp + 0xb8], 0x20e
mov dword [rsp + 0xbc], 0x202
mov dword [rsp + 0xc0], 0x201
mov dword [rsp + 0xc4], 0x203
mov dword [rsp + 0xc8], 0x204
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x140036233
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa8]
add rax, 0x1c
mov qword [rsp + 0xf8], rax
jmp 0x1400361ec
mov rax, qword [rsp + 0x88]
add rax, 4
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xf8]
cmp qword [rsp + 0x88], rax
je 0x140036233
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov dword [rsp + 0x98], eax
mov ecx, dword [rsp + 0x98]
call fcn.140030f50
movzx eax, al
test eax, eax
je 0x140036231
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4ad4], 2
jmp 0x1400361d8
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4ac0], 0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4af8], 0
je 0x140036255
call fcn.140034260
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x4aed], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x4aee], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4af8], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x4b30]
test eax, eax
je 0x140036291
call fcn.140034570
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4b74], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x4b31], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x4b30], 0
mov byte [rsp + 0x3a], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x4ae9]
test eax, eax
je 0x140036311
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x4ae8]
test eax, eax
je 0x140036311
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x4aea]
test eax, eax
jne 0x140036311
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x4aeb]
test eax, eax
je 0x140036311
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4aa0], 0
je 0x140036311
mov byte [rsp + 0x3a], 1
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x4ae9], 0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4ad8], 0
je 0x140036355
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4ad8], 1
je 0x140036355
mov r8d, 0x2f68
lea rdx, [0x1401e9240]
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]
xor eax, eax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4aa0], 0
je 0x140036375
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x4aa0]
call fcn.1400358c0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4aa0], 0
je 0x1400363bf
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4aa0]
cmp qword [rax + 0x3e0], 0
je 0x1400363bf
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4ad8], 0
jne 0x1400363bf
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4aa0]
mov qword [rax + 0x3e0], 0
call fcn.140038470
movzx eax, byte [rsp + 0x39]
test eax, eax
jne 0x1400363d6
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140036407
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4aa0], 0
je 0x140036407
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4aa0]
mov eax, dword [rax + 0x14]
and eax, 0x40000
test eax, eax
jne 0x140036407
mov dword [rsp + 0x74], 1
jmp 0x14003640f
mov dword [rsp + 0x74], 0
mov rax, qword [rsp + 0x58]
movzx ecx, byte [rsp + 0x74]
mov byte [rax + 0xd7], cl
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0xd7]
test eax, eax
je 0x14003644d
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4aa8], 0
je 0x14003644d
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x4aea]
test eax, eax
je 0x140036466
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4c80], 0
jne 0x140036466
mov dword [rsp + 0x78], 0
jmp 0x14003646e
mov dword [rsp + 0x78], 1
mov rax, qword [rsp + 0x58]
movzx ecx, byte [rsp + 0x78]
mov byte [rax + 0xd8], cl
call fcn.140036cb0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4ab8], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4ab4], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4ab0], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4abc], 0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4aa8], 0
je 0x140036791
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x4aea]
test eax, eax
jne 0x140036791
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4c80], 0
jne 0x140036791
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4aa0], 0
je 0x140036791
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4aa0]
mov eax, dword [rax + 0x14]
and eax, 0x40000
test eax, eax
jne 0x140036791
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x140036541
mov ecx, 0x20c
call fcn.140030f50
movzx eax, al
test eax, eax
jne 0x140036562
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14003655b
mov ecx, 0x26e
call fcn.140030f50
movzx eax, al
test eax, eax
jne 0x140036562
mov byte [rsp + 0x3d], 0
jmp 0x140036567
mov byte [rsp + 0x3d], 1
movzx eax, byte [rsp + 0x3d]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x1400365b8
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x140036595
xor edx, edx
mov ecx, 0x20c
call fcn.140031100
movzx eax, al
test eax, eax
jne 0x1400365b1
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1400365b8
xor edx, edx
mov ecx, 0x26e
call fcn.140031100
movzx eax, al
test eax, eax
je 0x1400365b8
mov byte [rsp + 0x3e], 1
jmp 0x1400365bd
mov byte [rsp + 0x3e], 0
movzx eax, byte [rsp + 0x3e]
mov byte [rsp + 0x43], al
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x1400365e0
mov ecx, 0x20d
call fcn.140030f50
movzx eax, al
test eax, eax
jne 0x140036601
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1400365fa
mov ecx, 0x26d
call fcn.140030f50
movzx eax, al
test eax, eax
jne 0x140036601
mov byte [rsp + 0x3f], 0
jmp 0x140036606
mov byte [rsp + 0x3f], 1
movzx eax, byte [rsp + 0x3f]
mov byte [rsp + 0x42], al
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x140036657
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x140036634
xor edx, edx
mov ecx, 0x20d
call fcn.140031100
movzx eax, al
test eax, eax
jne 0x140036650
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140036657
xor edx, edx
mov ecx, 0x26d
call fcn.140031100
movzx eax, al
test eax, eax
je 0x140036657
mov byte [rsp + 0x40], 1
jmp 0x14003665c
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x44], al
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4078], 0
jne 0x1400366a1
movzx eax, byte [rsp + 0x43]
test eax, eax
je 0x1400366a1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4aa8]
mov dword [rax + 0x4ab0], ecx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4abc], 2
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4078], 0
je 0x1400366c7
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4aa8]
cmp dword [rax + 0x4078], ecx
jne 0x1400366f5
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x1400366f5
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4aa8]
mov dword [rax + 0x4ab0], ecx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4abc], 1
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4078], 0
je 0x14003671b
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4aa8]
cmp dword [rax + 0x4078], ecx
jne 0x140036743
movzx eax, byte [rsp + 0x41]
test eax, eax
jne 0x14003672d
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x140036743
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4aa8]
mov dword [rax + 0x4ab4], ecx
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4078], 0
je 0x140036769
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4aa8]
cmp dword [rax + 0x4078], ecx
jne 0x140036791
movzx eax, byte [rsp + 0x43]
test eax, eax
jne 0x14003677b
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x140036791
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4aa8]
mov dword [rax + 0x4ab8], ecx
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4aa0], 0
je 0x1400367c4
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4aa0]
mov eax, dword [rax + 0x14]
and eax, 0x40000
test eax, eax
je 0x1400367c4
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x4aea], 1
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4ab0], 0
je 0x140036806
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4ab0]
cmp dword [rax + 0x4ab4], ecx
je 0x140036806
mov r8d, 0x2f95
lea rdx, [0x1401e9340]
lea rcx, str.g.NavActivateDownId__g.NavActivateId
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4acc], 0
je 0x14003686c
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4acc]
mov dword [rax + 0x4ab8], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4ab8]
mov dword [rax + 0x4ab4], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4ab4]
mov dword [rax + 0x4ab0], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4ad0]
mov dword [rax + 0x4abc], ecx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4acc], 0
call fcn.140036fc0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4b40], 0xffffffff
jne 0x140036893
call fcn.140037ae0
call fcn.140036c10
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x4ae8], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4aa0], 0
je 0x140036b7e
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4aa0]
mov eax, dword [rax + 0x14]
and eax, 0x40000
test eax, eax
jne 0x140036b7e
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4c80], 0
jne 0x140036b7e
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4aa0]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140015270
mulss xmm0, dword [0x1401fa71c]
mov rax, qword [rsp + 0x58]
mulss xmm0, dword [rax + 0x10]
addss xmm0, dword [0x1401fa66c]
cvttss2si eax, xmm0
cvtsi2ss xmm0, eax
movss dword [rsp + 0x60], xmm0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x4b40]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x50]
movsx eax, word [rax + 0x194]
test eax, eax
jne 0x140036a35
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x19a]
test eax, eax
je 0x140036a35
cmp dword [rsp + 0x48], 0xffffffff
je 0x140036a35
cmp dword [rsp + 0x48], 0
je 0x140036979
cmp dword [rsp + 0x48], 1
jne 0x1400369d0
cmp dword [rsp + 0x48], 0
jne 0x140036990
movss xmm0, dword [0x1401fa73c]
movss dword [rsp + 0x7c], xmm0
jmp 0x14003699e
movss xmm0, dword [0x1401fa69c]
movss dword [rsp + 0x7c], xmm0
movss xmm0, dword [rsp + 0x7c]
mulss xmm0, dword [rsp + 0x60]
mov rax, qword [rsp + 0x50]
movss xmm1, dword [rax + 0xb8]
addss xmm1, xmm0
movaps xmm0, xmm1
call fcn.14002e150
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x50]
call fcn.140042ab0
cmp dword [rsp + 0x48], 2
je 0x1400369de
cmp dword [rsp + 0x48], 3
jne 0x140036a35
cmp dword [rsp + 0x48], 2
jne 0x1400369f5
movss xmm0, dword [0x1401fa73c]
movss dword [rsp + 0x64], xmm0
jmp 0x140036a03
movss xmm0, dword [0x1401fa69c]
movss dword [rsp + 0x64], xmm0
movss xmm0, dword [rsp + 0x64]
mulss xmm0, dword [rsp + 0x60]
mov rax, qword [rsp + 0x50]
movss xmm1, dword [rax + 0xbc]
addss xmm1, xmm0
movaps xmm0, xmm1
call fcn.14002e150
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x50]
call fcn.140042af0
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140036b7e
mov dword [rsp + 0x20], 0x27c
mov r9d, 0x27b
mov r8d, 0x27a
mov edx, 0x279
lea rcx, [rsp + 0x90]
call fcn.14002c3d0
mov ecx, 0x273
call fcn.140030f50
movzx eax, al
test eax, eax
je 0x140036a89
movss xmm0, dword [0x1401fa650]
movss dword [rsp + 0x6c], xmm0
jmp 0x140036ac4
mov ecx, 0x274
call fcn.140030f50
movzx eax, al
test eax, eax
je 0x140036aaa
movss xmm0, dword [0x1401fa6ec]
movss dword [rsp + 0x68], xmm0
jmp 0x140036ab8
movss xmm0, dword [0x1401fa69c]
movss dword [rsp + 0x68], xmm0
movss xmm0, dword [rsp + 0x68]
movss dword [rsp + 0x6c], xmm0
movss xmm0, dword [rsp + 0x6c]
movss dword [rsp + 0x70], xmm0
movss xmm0, dword [rsp + 0x90]
ucomiss xmm0, dword [0x1401fa630]
jp 0x140036ae4
je 0x140036b2f
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0xe8]
test eax, eax
je 0x140036b2f
movss xmm0, dword [rsp + 0x90]
mulss xmm0, dword [rsp + 0x60]
mulss xmm0, dword [rsp + 0x70]
mov rax, qword [rsp + 0x50]
movss xmm1, dword [rax + 0xb8]
addss xmm1, xmm0
movaps xmm0, xmm1
call fcn.14002e150
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x50]
call fcn.140042ab0
movss xmm0, dword [rsp + 0x94]
ucomiss xmm0, dword [0x1401fa630]
jp 0x140036b43
je 0x140036b7e
movss xmm0, dword [rsp + 0x94]
mulss xmm0, dword [rsp + 0x60]
mulss xmm0, dword [rsp + 0x70]
mov rax, qword [rsp + 0x50]
movss xmm1, dword [rax + 0xbc]
addss xmm1, xmm0
movaps xmm0, xmm1
call fcn.14002e150
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x50]
call fcn.140042af0
movzx eax, byte [rsp + 0x39]
test eax, eax
jne 0x140036bb1
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x140036bb1
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x4aea], 1
mov byte [rsp + 0x3a], 0
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x3a]
mov byte [rax + 0x4aeb], cl
movzx eax, byte [rsp + 0x3a]
test eax, eax
je 0x140036bec
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
and eax, 4
test eax, eax
je 0x140036bec
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
and eax, 4
test eax, eax
je 0x140036bec
lea rcx, [rsp + 0x100]
call fcn.140033ec0
mov rcx, rax
call fcn.1400440a0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4b6c], 0
add rsp, 0x118
ret