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

Disassembly:
sub rsp, 0x118
mov rax, qword [0x14022a660]
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 0x1400357e1
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
je 0x1400357e1
mov byte [rsp + 0x3b], 1
jmp 0x1400357e6
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 0x1400358e5
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 0x14003589e
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rsp + 0x80], rax
je 0x1400358e5
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x9c], eax
mov ecx, dword [rsp + 0x9c]
call fcn.140030710
movzx eax, al
test eax, eax
je 0x1400358e3
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4ad4], 3
jmp 0x14003588a
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x1400358fa
mov byte [rsp + 0x3c], 1
jmp 0x1400358ff
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 0x1400359f3
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 0x1400359ac
mov rax, qword [rsp + 0x88]
add rax, 4
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xf8]
cmp qword [rsp + 0x88], rax
je 0x1400359f3
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov dword [rsp + 0x98], eax
mov ecx, dword [rsp + 0x98]
call fcn.140030710
movzx eax, al
test eax, eax
je 0x1400359f1
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4ad4], 2
jmp 0x140035998
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4ac0], 0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4af8], 0
je 0x140035a15
call fcn.140033a20
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 0x140035a51
call fcn.140033d30
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 0x140035ad1
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x4ae8]
test eax, eax
je 0x140035ad1
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x4aea]
test eax, eax
jne 0x140035ad1
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x4aeb]
test eax, eax
je 0x140035ad1
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4aa0], 0
je 0x140035ad1
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 0x140035b15
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4ad8], 1
je 0x140035b15
mov r8d, 0x2f68
lea rdx, [0x1401aff10]
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 0x140035b35
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x4aa0]
call fcn.140035080
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4aa0], 0
je 0x140035b7f
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4aa0]
cmp qword [rax + 0x3e0], 0
je 0x140035b7f
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4ad8], 0
jne 0x140035b7f
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4aa0]
mov qword [rax + 0x3e0], 0
call fcn.140037c30
movzx eax, byte [rsp + 0x39]
test eax, eax
jne 0x140035b96
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140035bc7
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4aa0], 0
je 0x140035bc7
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4aa0]
mov eax, dword [rax + 0x14]
and eax, 0x40000
test eax, eax
jne 0x140035bc7
mov dword [rsp + 0x74], 1
jmp 0x140035bcf
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 0x140035c0d
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4aa8], 0
je 0x140035c0d
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x4aea]
test eax, eax
je 0x140035c26
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4c80], 0
jne 0x140035c26
mov dword [rsp + 0x78], 0
jmp 0x140035c2e
mov dword [rsp + 0x78], 1
mov rax, qword [rsp + 0x58]
movzx ecx, byte [rsp + 0x78]
mov byte [rax + 0xd8], cl
call fcn.140036470
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 0x140035f51
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x4aea]
test eax, eax
jne 0x140035f51
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4c80], 0
jne 0x140035f51
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4aa0], 0
je 0x140035f51
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4aa0]
mov eax, dword [rax + 0x14]
and eax, 0x40000
test eax, eax
jne 0x140035f51
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x140035d01
mov ecx, 0x20c
call fcn.140030710
movzx eax, al
test eax, eax
jne 0x140035d22
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140035d1b
mov ecx, 0x26e
call fcn.140030710
movzx eax, al
test eax, eax
jne 0x140035d22
mov byte [rsp + 0x3d], 0
jmp 0x140035d27
mov byte [rsp + 0x3d], 1
movzx eax, byte [rsp + 0x3d]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x140035d78
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x140035d55
xor edx, edx
mov ecx, 0x20c
call fcn.1400308c0
movzx eax, al
test eax, eax
jne 0x140035d71
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140035d78
xor edx, edx
mov ecx, 0x26e
call fcn.1400308c0
movzx eax, al
test eax, eax
je 0x140035d78
mov byte [rsp + 0x3e], 1
jmp 0x140035d7d
mov byte [rsp + 0x3e], 0
movzx eax, byte [rsp + 0x3e]
mov byte [rsp + 0x43], al
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x140035da0
mov ecx, 0x20d
call fcn.140030710
movzx eax, al
test eax, eax
jne 0x140035dc1
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140035dba
mov ecx, 0x26d
call fcn.140030710
movzx eax, al
test eax, eax
jne 0x140035dc1
mov byte [rsp + 0x3f], 0
jmp 0x140035dc6
mov byte [rsp + 0x3f], 1
movzx eax, byte [rsp + 0x3f]
mov byte [rsp + 0x42], al
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x140035e17
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x140035df4
xor edx, edx
mov ecx, 0x20d
call fcn.1400308c0
movzx eax, al
test eax, eax
jne 0x140035e10
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140035e17
xor edx, edx
mov ecx, 0x26d
call fcn.1400308c0
movzx eax, al
test eax, eax
je 0x140035e17
mov byte [rsp + 0x40], 1
jmp 0x140035e1c
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 0x140035e61
movzx eax, byte [rsp + 0x43]
test eax, eax
je 0x140035e61
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 0x140035e87
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4aa8]
cmp dword [rax + 0x4078], ecx
jne 0x140035eb5
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x140035eb5
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 0x140035edb
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4aa8]
cmp dword [rax + 0x4078], ecx
jne 0x140035f03
movzx eax, byte [rsp + 0x41]
test eax, eax
jne 0x140035eed
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x140035f03
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 0x140035f29
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4aa8]
cmp dword [rax + 0x4078], ecx
jne 0x140035f51
movzx eax, byte [rsp + 0x43]
test eax, eax
jne 0x140035f3b
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x140035f51
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 0x140035f84
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4aa0]
mov eax, dword [rax + 0x14]
and eax, 0x40000
test eax, eax
je 0x140035f84
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x4aea], 1
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4ab0], 0
je 0x140035fc6
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4ab0]
cmp dword [rax + 0x4ab4], ecx
je 0x140035fc6
mov r8d, 0x2f95
lea rdx, [0x1401b0010]
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 0x14003602c
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.140036780
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4b40], 0xffffffff
jne 0x140036053
call fcn.1400372a0
call fcn.1400363d0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x4ae8], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4aa0], 0
je 0x14003633e
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4aa0]
mov eax, dword [rax + 0x14]
and eax, 0x40000
test eax, eax
jne 0x14003633e
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4c80], 0
jne 0x14003633e
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x4aa0]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140014a60
mulss xmm0, dword [0x1401c1508]
mov rax, qword [rsp + 0x58]
mulss xmm0, dword [rax + 0x10]
addss xmm0, dword [0x1401c145c]
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 0x1400361f5
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x19a]
test eax, eax
je 0x1400361f5
cmp dword [rsp + 0x48], 0xffffffff
je 0x1400361f5
cmp dword [rsp + 0x48], 0
je 0x140036139
cmp dword [rsp + 0x48], 1
jne 0x140036190
cmp dword [rsp + 0x48], 0
jne 0x140036150
movss xmm0, dword [0x1401c1528]
movss dword [rsp + 0x7c], xmm0
jmp 0x14003615e
movss xmm0, dword [0x1401c148c]
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.14002d910
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x50]
call fcn.140042270
cmp dword [rsp + 0x48], 2
je 0x14003619e
cmp dword [rsp + 0x48], 3
jne 0x1400361f5
cmp dword [rsp + 0x48], 2
jne 0x1400361b5
movss xmm0, dword [0x1401c1528]
movss dword [rsp + 0x64], xmm0
jmp 0x1400361c3
movss xmm0, dword [0x1401c148c]
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.14002d910
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x50]
call fcn.1400422b0
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14003633e
mov dword [rsp + 0x20], 0x27c
mov r9d, 0x27b
mov r8d, 0x27a
mov edx, 0x279
lea rcx, [rsp + 0x90]
call fcn.14002bbc0
mov ecx, 0x273
call fcn.140030710
movzx eax, al
test eax, eax
je 0x140036249
movss xmm0, dword [0x1401c1440]
movss dword [rsp + 0x6c], xmm0
jmp 0x140036284
mov ecx, 0x274
call fcn.140030710
movzx eax, al
test eax, eax
je 0x14003626a
movss xmm0, dword [0x1401c14d8]
movss dword [rsp + 0x68], xmm0
jmp 0x140036278
movss xmm0, dword [0x1401c148c]
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 [0x1401c1420]
jp 0x1400362a4
je 0x1400362ef
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0xe8]
test eax, eax
je 0x1400362ef
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.14002d910
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x50]
call fcn.140042270
movss xmm0, dword [rsp + 0x94]
ucomiss xmm0, dword [0x1401c1420]
jp 0x140036303
je 0x14003633e
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.14002d910
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x50]
call fcn.1400422b0
movzx eax, byte [rsp + 0x39]
test eax, eax
jne 0x140036371
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x140036371
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 0x1400363ac
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
and eax, 4
test eax, eax
je 0x1400363ac
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
and eax, 4
test eax, eax
je 0x1400363ac
lea rcx, [rsp + 0x100]
call fcn.140033680
mov rcx, rax
call fcn.140043860
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4b6c], 0
add rsp, 0x118
ret