Function at 0x140031270
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 [0x1401bff00]
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 0x1400312f8
test byte [rdi + 0xc], 1
je 0x1400312f8
movdqa xmm0, xmmword [0x1400e3cb0]
lea rbx, [rsp + 0x40]
movdqa xmm1, xmmword [0x1400e3cc0]
mov bpl, 1
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
mov ecx, dword [rbx]
call fcn.140029e80
test al, al
je 0x1400312e8
mov dword [rdi + 0x48dc], 3
add rbx, 4
lea rax, [rsp + 0x60]
cmp rbx, rax
jne 0x1400312d3
jmp 0x1400312fb
xor bpl, bpl
movzx r15d, byte [rdi + 8]
movdqa xmm0, xmmword [0x1400e3ca0]
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 0x1400313b6
lea rsi, [rsp + 0x20]
nop dword [rax]
mov ebx, dword [rsi]
mov edx, ebx
mov rcx, qword [0x1401bff00]
call fcn.140029610
cmp byte [rax], 0
je 0x1400313a8
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x14003138a
cmp ebx, 0x1000
je 0x14003138a
cmp ebx, 0x2000
je 0x14003138a
cmp ebx, 0x4000
je 0x14003138a
cmp ebx, 0x8000
je 0x14003138a
cmp ebx, 0x800
jne 0x14003139e
mov rcx, qword [0x1401bff00]
mov edx, ebx
call fcn.14001a2e0
cmp byte [rax + 8], 0
jne 0x1400313a8
mov dword [rdi + 0x48dc], 2
add rsi, 4
lea rax, [rsp + 0x3c]
cmp rsi, rax
jne 0x140031340
xor r14d, r14d
cmp dword [rdi + 0x48ec], r14d
je 0x1400314d2
mov rbx, qword [0x1401bff00]
mov r9, qword [rbx + 0x48a8]
test r9, r9
je 0x1400314d2
test byte [rbx + 0x5c94], 8
je 0x140031403
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.140036590
mov rsi, qword [0x1401bff00]
movsxd r14, dword [rbx + 0x48e0]
mov r15d, dword [rbx + 0x48ec]
cmp qword [rsi + 0x48a8], 0
jne 0x14003143c
mov r8d, 0x2987
lea rdx, str.F:Machozenakokotleokryptedimgui.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 0x14003145c
mov r8d, 0x2988
lea rdx, str.F:Machozenakokotleokryptedimgui.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 0x1400314d2
mov rax, qword [0x1401bff00]
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 0x1400314f7
call fcn.1400329a0
xor r13b, r13b
mov dword [rdi + 0x4944], r14d
mov esi, 1
mov word [rdi + 0x4900], 0
cmp byte [rdi + 0x48e5], r13b
je 0x140031543
cmp byte [rdi + 0x48e4], r13b
je 0x140031543
cmp byte [rdi + 0x48e6], r13b
jne 0x140031543
cmp byte [rdi + 0x48e7], r13b
je 0x140031543
cmp qword [rdi + 0x48a8], 0
movzx r13d, r13b
cmovne r13d, esi
mov byte [rdi + 0x48e5], 0
cmp dword [rdi + 0x48e0], esi
jbe 0x14003156c
mov r8d, 0x2bd2
lea rdx, str.F:Machozenakokotleokryptedimgui.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 0x1400315ac
mov rax, rcx
nop dword [rax + rax]
cmp qword [rax + 0x378], rax
je 0x1400315a0
test dword [rax + 0x14], 0x14000000
jne 0x1400315a0
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140031580
jmp 0x1400315ac
cmp rax, rcx
je 0x1400315ac
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x1400315d2
cmp qword [rax + 0x398], 0
je 0x1400315d2
cmp dword [rdi + 0x48e0], 0
jne 0x1400315d2
mov qword [rax + 0x398], r14
call fcn.140033990
test r15b, r15b
jne 0x1400315e5
test bpl, bpl
je 0x14003173b
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x14003173b
test dword [rax + 0x14], 0x40000
jne 0x14003173b
mov byte [rdi + 0xdd], sil
cmp dword [rdi + 0x48b0], 0
je 0x140031742
cmp byte [rdi + 0x48e6], 0
jne 0x140031742
movzx eax, sil
mov byte [rdi + 0xde], al
call fcn.140032cb0
cmp dword [rdi + 0x48b0], 0
mov qword [rdi + 0x48bc], 0
mov dword [rdi + 0x48b8], r14d
mov dword [rdi + 0x48c4], r14d
je 0x14003189f
cmp byte [rdi + 0x48e6], 0
jne 0x14003189f
cmp qword [rdi + 0x4a10], 0
jne 0x14003189f
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x14003189f
test dword [rax + 0x14], 0x40000
jne 0x14003189f
test r15b, r15b
je 0x1400316c2
mov rcx, qword [0x1401bff00]
mov edx, 0x20c
call fcn.140029610
cmp byte [rax], 0
je 0x1400316c2
mov rcx, qword [0x1401bff00]
mov edx, 0x20c
call fcn.14001a2e0
cmp byte [rax + 8], 0
je 0x1400316f8
test bpl, bpl
je 0x140031757
mov rcx, qword [0x1401bff00]
mov edx, 0x26e
call fcn.140029610
cmp byte [rax], 0
je 0x140031757
mov rcx, qword [0x1401bff00]
mov edx, 0x26e
call fcn.14001a2e0
cmp byte [rax + 8], 0
jne 0x140031757
movzx r14d, byte [rsp + 0xe0]
movzx r15d, sil
test r14b, r14b
je 0x14003171d
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140029f00
test al, al
jne 0x140031735
test bpl, bpl
je 0x140031763
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140029f00
test al, al
je 0x140031763
movzx ebx, sil
jmp 0x140031765
mov byte [rdi + 0xdd], 0
cmp qword [rdi + 0x4a10], 0
jne 0x140031623
xor al, al
jmp 0x140031627
movzx r14d, byte [rsp + 0xe0]
xor r15b, r15b
xor bl, bl
test r14b, r14b
je 0x140031797
mov rcx, qword [0x1401bff00]
mov edx, 0x20d
call fcn.140029610
cmp byte [rax], 0
je 0x140031797
mov rcx, qword [0x1401bff00]
mov edx, 0x20d
call fcn.14001a2e0
cmp byte [rax + 8], 0
je 0x1400317c9
test bpl, bpl
je 0x140031808
mov rcx, qword [0x1401bff00]
mov edx, 0x26d
call fcn.140029610
cmp byte [rax], 0
je 0x140031808
mov rcx, qword [0x1401bff00]
mov edx, 0x26d
call fcn.14001a2e0
cmp byte [rax + 8], 0
jne 0x140031808
cmp byte [rsp + 0xe0], 0
movzx r14d, sil
je 0x1400317ea
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140029f00
test al, al
jne 0x140031802
test bpl, bpl
je 0x14003180b
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140029f00
test al, al
je 0x14003180b
movzx edx, sil
jmp 0x14003180d
xor r14b, r14b
xor dl, dl
mov ecx, dword [rdi + 0x3f28]
test ecx, ecx
jne 0x140031833
test bl, bl
je 0x14003183b
mov eax, dword [rdi + 0x48b0]
mov dword [rdi + 0x48b8], eax
mov dword [rdi + 0x48c4], 2
jmp 0x14003183b
cmp ecx, dword [rdi + 0x48b0]
jne 0x140031893
test dl, dl
je 0x140031851
mov eax, dword [rdi + 0x48b0]
mov dword [rdi + 0x48b8], eax
mov dword [rdi + 0x48c4], esi
test ecx, ecx
je 0x14003185d
cmp ecx, dword [rdi + 0x48b0]
jne 0x140031893
test r15b, r15b
jne 0x140031867
test r14b, r14b
je 0x140031873
mov eax, dword [rdi + 0x48b0]
mov dword [rdi + 0x48bc], eax
test ecx, ecx
je 0x14003187f
cmp ecx, dword [rdi + 0x48b0]
jne 0x140031893
test bl, bl
jne 0x140031887
test dl, dl
je 0x140031893
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 0x1400318bb
test dword [rax + 0x14], 0x40000
je 0x1400318bb
mov byte [rdi + 0x48e6], sil
mov eax, dword [rdi + 0x48b8]
test eax, eax
je 0x1400318e7
cmp dword [rdi + 0x48bc], eax
je 0x1400318e7
mov r8d, 0x2bff
lea rdx, str.F:Machozenakokotleokryptedimgui.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 0x14003190f
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.140031e60
cmp dword [rdi + 0x4910], 0xffffffff
xorps xmm10, xmm10
jne 0x140031aac
mov rbx, qword [0x1401bff00]
cmp dword [rbx + 0x4910], 0xffffffff
mov r14, qword [rbx + 0x48a8]
je 0x14003195d
mov r8d, 0x2ccf
lea rdx, str.F:Machozenakokotleokryptedimgui.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 0x140031aa9
cmp qword [rbx + 0x4a10], 0
jne 0x140031aa9
test dword [r14 + 0x14], 0x40000
jne 0x140031aa9
mov rcx, qword [0x1401bff00]
mov edx, 0x200
call fcn.140029610
cmp byte [rax], 0
je 0x140031aa9
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x140031aa9
ucomiss xmm0, xmm10
jp 0x1400319b3
je 0x1400319df
mov rax, qword [0x1401bff00]
movss xmm1, dword [rax + 0x3c]
comiss xmm0, xmm1
jbe 0x140031aa9
movss xmm2, dword [rax + 0x40]
mov ecx, 0x200
call fcn.1400297f0
test eax, eax
jle 0x140031aa9
mov rcx, qword [0x1401bff00]
cmp byte [rcx + 0x473c], 0
je 0x1400319fc
cmp dword [rcx + 0x3f28], 0xffffffff
jne 0x140031aa9
mov edx, 0x200
call fcn.14001a2e0
cmp dword [rax], 0xffffffff
jne 0x140031aa9
cmp byte [rbx + 0xe24], 0
jne 0x140031aa9
cmp byte [rbx + 0xe26], 0
jne 0x140031aa9
movzx eax, byte [rbx + 0xe25]
test byte [rbx + 8], sil
je 0x140031a57
test al, al
je 0x140031a41
mov esi, 0xffffffff
jmp 0x140031a6e
cmp byte [rbx + 0x48e6], sil
jne 0x140031a6e
cmp dword [rbx + 0x3f28], 0
jne 0x140031a6e
xor esi, esi
jmp 0x140031a6e
test al, al
je 0x140031a62
mov esi, 0xffffffff
jmp 0x140031a6e
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.140030930
mov dword [rbx + 0x4944], 0xffffffff
xor r14d, r14d
mov rax, qword [0x1401bff00]
cmp byte [rax + 0x4901], 0
jne 0x140031ace
cmp byte [rax + 0x48e9], 0
jne 0x140031ace
mov byte [rax + 0x48e8], 0
jmp 0x140031af9
cmp qword [rax + 0x48a8], 0
mov byte [rax + 0x48e8], 1
jne 0x140031af9
mov r8d, 0x2b50
lea rdx, str.F:Machozenakokotleokryptedimgui.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 0x140031dc5
test dword [rsi + 0x14], 0x40000
jne 0x140031dc5
cmp qword [rdi + 0x4a10], 0
jne 0x140031dc5
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 0x140031b69
mulss xmm0, dword [rax + 0x290]
cmp word [rsi + 0x15c], 0
mulss xmm0, dword [0x1400e3894]
mov ecx, dword [rdi + 0x4910]
movss xmm8, dword [0x1400e36f8]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x1400e36c0]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x140031c42
cmp byte [rsi + 0x161], 0
je 0x140031c42
cmp ecx, 0xffffffff
je 0x140031c42
movss xmm1, dword [0x1400e3948]
test ecx, ecx
je 0x140031bd5
cmp ecx, 1
jne 0x140031c06
movaps xmm0, xmm8
jmp 0x140031bd8
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 0x140031c14
cmp ecx, 3
jne 0x140031c42
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 0x140031db6
mov rcx, qword [0x1401bff00]
mov edx, 0x27c
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
call fcn.140029610
mov rcx, qword [0x1401bff00]
mov edx, 0x27b
mov rbx, rax
call fcn.140029610
movss xmm6, dword [rbx + 0xc]
mov edx, 0x27a
mov rcx, qword [0x1401bff00]
subss xmm6, dword [rax + 0xc]
call fcn.140029610
mov rcx, qword [0x1401bff00]
mov edx, 0x279
mov rbx, rax
call fcn.140029610
movss xmm7, dword [rbx + 0xc]
mov edx, 0x273
mov rcx, qword [0x1401bff00]
subss xmm7, dword [rax + 0xc]
call fcn.140029610
cmp byte [rax], 0
je 0x140031cf1
mov rcx, qword [0x1401bff00]
mov edx, 0x273
call fcn.14001a2e0
cmp byte [rax + 8], 0
jne 0x140031cf1
movss xmm8, dword [0x1400e3690]
jmp 0x140031d27
mov rcx, qword [0x1401bff00]
mov edx, 0x274
call fcn.140029610
cmp byte [rax], 0
je 0x140031d27
mov rcx, qword [0x1401bff00]
mov edx, 0x274
call fcn.14001a2e0
cmp byte [rax + 8], 0
jne 0x140031d27
movss xmm8, dword [0x1400e382c]
ucomiss xmm7, xmm10
jp 0x140031d2f
je 0x140031d6b
cmp byte [rsi + 0xb4], 0
je 0x140031d6b
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 0x140031d7b
je 0x140031dae
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 0x140031df8
test bpl, bpl
jne 0x140031df8
mov word [rdi + 0x48e6], 1
jmp 0x140031e46
test r13b, r13b
je 0x140031e46
test byte [rdi + 8], 4
je 0x140031e46
test byte [rdi + 0xc], 4
je 0x140031e46
lea rcx, [rsp + 0xe0]
call fcn.140030f10
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