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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r13
sub rsp, 0xb8
mov rdi, qword [0x140580140]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r14
test byte [rdi + 8], 2
mov qword [rax - 0x28], r15
movaps xmmword [rax - 0x78], xmm10
mov byte [rdi + 0xd5], 0
je 0x140019359
test byte [rdi + 0xc], 1
je 0x140019359
movdqa xmm0, xmmword [0x140160a30]
lea r14, [rsp + 0x40]
movdqa xmm1, xmmword [0x140160a40]
mov sil, 1
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
nop word [rax + rax]
mov ebx, dword [r14]
mov edx, ebx
mov rcx, qword [0x140580140]
call fcn.140012820
cmp byte [rax], 0
je 0x140019349
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x14001932b
cmp ebx, 0x1000
je 0x14001932b
cmp ebx, 0x2000
je 0x14001932b
cmp ebx, 0x4000
je 0x14001932b
cmp ebx, 0x8000
je 0x14001932b
cmp ebx, 0x800
jne 0x14001933f
mov rcx, qword [0x140580140]
mov edx, ebx
call fcn.140002ed0
cmp byte [rax + 8], 0
jne 0x140019349
mov dword [rdi + 0x493c], 3
add r14, 4
lea rax, [rsp + 0x60]
cmp r14, rax
jne 0x1400192e0
jmp 0x14001935c
xor sil, sil
movzx r15d, byte [rdi + 8]
movdqa xmm0, xmmword [0x140160a20]
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 0x140019417
lea r14, [rsp + 0x20]
nop
mov ebx, dword [r14]
mov edx, ebx
mov rcx, qword [0x140580140]
call fcn.140012820
cmp byte [rax], 0
je 0x140019409
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x1400193eb
cmp ebx, 0x1000
je 0x1400193eb
cmp ebx, 0x2000
je 0x1400193eb
cmp ebx, 0x4000
je 0x1400193eb
cmp ebx, 0x8000
je 0x1400193eb
cmp ebx, 0x800
jne 0x1400193ff
mov rcx, qword [0x140580140]
mov edx, ebx
call fcn.140002ed0
cmp byte [rax + 8], 0
jne 0x140019409
mov dword [rdi + 0x493c], 2
add r14, 4
lea rax, [rsp + 0x3c]
cmp r14, rax
jne 0x1400193a0
xor r12d, r12d
mov dword [rdi + 0x4928], r12d
cmp dword [rdi + 0x4960], r12d
je 0x1400194e6
mov rbx, qword [0x140580140]
mov r9, qword [rbx + 0x4908]
test r9, r9
je 0x1400194e6
mov edx, dword [rbx + 0x4960]
cmp dword [rbx + 0x4910], edx
je 0x14001946c
mov dword [rbx + 0x4928], edx
mov eax, dword [rbx + 0x4964]
mov dword [rbx + 0x492c], eax
mov dword [rbx + 0x4930], r12d
test byte [rbx + 0x5de4], 8
je 0x14001948c
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rbx + 0x4940]
call fcn.14001df20
mov r8d, dword [rbx + 0x4964]
lea r9, [rbx + 0x4968]
mov edx, dword [rbx + 0x4940]
mov ecx, dword [rbx + 0x4960]
call fcn.140017d90
mov byte [rbx + 0x4950], 1
mov rax, qword [rbx + 0x4980]
cmp rax, 0xffffffffffffffff
je 0x1400194c6
mov qword [rbx + 0x4948], rax
cmp byte [rbx + 0x4956], r12b
je 0x1400194e6
mov rax, qword [0x140580140]
mov word [rax + 0x4951], 1
mov byte [rax + 0x4953], 1
mov word [rdi + 0x4955], r12w
mov dword [rdi + 0x4960], r12d
cmp byte [rdi + 0x4998], r12b
je 0x140019503
call fcn.14001ab10
xor r13b, r13b
mov dword [rdi + 0x49dc], r12d
mov ebp, 1
mov word [rdi + 0x4998], r12w
cmp byte [rdi + 0x4951], r12b
je 0x14001954d
cmp byte [rdi + 0x4950], r12b
je 0x14001954d
cmp byte [rdi + 0x4952], r12b
jne 0x14001954d
cmp byte [rdi + 0x4953], r12b
je 0x14001954d
cmp qword [rdi + 0x4908], r12
movzx r13d, r13b
cmovne r13d, ebp
mov byte [rdi + 0x4951], r12b
cmp dword [rdi + 0x4940], ebp
jbe 0x140019576
mov r8d, 0x2d03
lea rdx, [0x140150470]
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 + 0x4908]
test rcx, rcx
je 0x1400195b1
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x1400195a5
test dword [rax + 0x14], 0x14000000
jne 0x1400195a5
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140019585
jmp 0x1400195b1
cmp rax, rcx
je 0x1400195b1
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x4908]
test rax, rax
je 0x1400195d6
cmp qword [rax + 0x398], r12
je 0x1400195d6
cmp dword [rdi + 0x4940], r12d
jne 0x1400195d6
mov qword [rax + 0x398], r12
call fcn.14001bca0
test r15b, r15b
jne 0x1400195e9
test sil, sil
je 0x14001973a
mov rax, qword [rdi + 0x4908]
test rax, rax
je 0x14001973a
test dword [rax + 0x14], 0x40000
jne 0x14001973a
mov byte [rdi + 0xd7], bpl
cmp dword [rdi + 0x4910], r12d
je 0x140019741
cmp byte [rdi + 0x4952], r12b
jne 0x140019741
movzx eax, bpl
mov byte [rdi + 0xd8], al
call fcn.14001afc0
mov qword [rdi + 0x491c], r12
mov dword [rdi + 0x4918], r12d
mov dword [rdi + 0x4924], r12d
cmp dword [rdi + 0x4910], r12d
je 0x14001989a
cmp byte [rdi + 0x4952], r12b
jne 0x14001989a
cmp qword [rdi + 0x4ae8], r12
jne 0x14001989a
mov rax, qword [rdi + 0x4908]
test rax, rax
je 0x14001989a
test dword [rax + 0x14], 0x40000
jne 0x14001989a
test r15b, r15b
je 0x1400196c1
mov rcx, qword [0x140580140]
mov edx, 0x20c
call fcn.140012820
cmp byte [rax], r12b
je 0x1400196c1
mov rcx, qword [0x140580140]
mov edx, 0x20c
call fcn.140002ed0
cmp byte [rax + 8], r12b
je 0x1400196f7
test sil, sil
je 0x140019755
mov rcx, qword [0x140580140]
mov edx, 0x26e
call fcn.140012820
cmp byte [rax], r12b
je 0x140019755
mov rcx, qword [0x140580140]
mov edx, 0x26e
call fcn.140002ed0
cmp byte [rax + 8], r12b
jne 0x140019755
movzx r14d, byte [rsp + 0xe0]
movzx r15d, bpl
test r14b, r14b
je 0x14001971c
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140013090
test al, al
jne 0x140019734
test sil, sil
je 0x140019761
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140013090
test al, al
je 0x140019761
movzx ebx, bpl
jmp 0x140019763
mov byte [rdi + 0xd7], r12b
cmp qword [rdi + 0x4ae8], r12
jne 0x140019627
xor al, al
jmp 0x14001962b
movzx r14d, byte [rsp + 0xe0]
xor r15b, r15b
xor bl, bl
test r14b, r14b
je 0x140019795
mov rcx, qword [0x140580140]
mov edx, 0x20d
call fcn.140012820
cmp byte [rax], r12b
je 0x140019795
mov rcx, qword [0x140580140]
mov edx, 0x20d
call fcn.140002ed0
cmp byte [rax + 8], r12b
je 0x1400197c7
test sil, sil
je 0x140019806
mov rcx, qword [0x140580140]
mov edx, 0x26d
call fcn.140012820
cmp byte [rax], r12b
je 0x140019806
mov rcx, qword [0x140580140]
mov edx, 0x26d
call fcn.140002ed0
cmp byte [rax + 8], r12b
jne 0x140019806
movzx r14d, bpl
cmp byte [rsp + 0xe0], r12b
je 0x1400197e8
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140013090
test al, al
jne 0x140019800
test sil, sil
je 0x140019809
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140013090
test al, al
je 0x140019809
movzx edx, bpl
jmp 0x14001980b
xor r14b, r14b
xor dl, dl
mov ecx, dword [rdi + 0x3f68]
test ecx, ecx
jne 0x140019831
test bl, bl
je 0x140019839
mov eax, dword [rdi + 0x4910]
mov dword [rdi + 0x4918], eax
mov dword [rdi + 0x4924], 2
jmp 0x140019839
cmp ecx, dword [rdi + 0x4910]
jne 0x140019891
test dl, dl
je 0x14001984f
mov eax, dword [rdi + 0x4910]
mov dword [rdi + 0x4918], eax
mov dword [rdi + 0x4924], ebp
test ecx, ecx
je 0x14001985b
cmp ecx, dword [rdi + 0x4910]
jne 0x140019891
test r15b, r15b
jne 0x140019865
test r14b, r14b
je 0x140019871
mov eax, dword [rdi + 0x4910]
mov dword [rdi + 0x491c], eax
test ecx, ecx
je 0x14001987d
cmp ecx, dword [rdi + 0x4910]
jne 0x140019891
test bl, bl
jne 0x140019885
test dl, dl
je 0x140019891
mov eax, dword [rdi + 0x4910]
mov dword [rdi + 0x4920], eax
movzx r15d, byte [rsp + 0xe0]
mov rax, qword [rdi + 0x4908]
test rax, rax
je 0x1400198b6
test dword [rax + 0x14], 0x40000
je 0x1400198b6
mov byte [rdi + 0x4952], bpl
mov eax, dword [rdi + 0x4918]
test eax, eax
je 0x1400198e2
cmp dword [rdi + 0x491c], eax
je 0x1400198e2
mov r8d, 0x2d30
lea rdx, [0x140150470]
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 + 0x4934]
test eax, eax
je 0x14001990a
mov dword [rdi + 0x4920], eax
mov dword [rdi + 0x491c], eax
mov dword [rdi + 0x4918], eax
mov eax, dword [rdi + 0x4938]
mov dword [rdi + 0x4924], eax
mov dword [rdi + 0x4934], r12d
call fcn.140019e90
cmp dword [rdi + 0x49a8], 0xffffffff
xorps xmm10, xmm10
jne 0x140019a9e
mov rbx, qword [0x140580140]
cmp dword [rbx + 0x49a8], 0xffffffff
mov r14, qword [rbx + 0x4908]
je 0x140019958
mov r8d, 0x2e21
lea rdx, [0x140150470]
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 0x140019a9e
cmp qword [rbx + 0x4ae8], r12
jne 0x140019a9e
test dword [r14 + 0x14], 0x40000
jne 0x140019a9e
mov rcx, qword [0x140580140]
mov edx, 0x200
call fcn.140012820
cmp byte [rax], r12b
je 0x140019a9e
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x140019a9e
ucomiss xmm0, xmm10
jp 0x1400199ad
je 0x1400199d9
mov rax, qword [0x140580140]
movss xmm1, dword [rax + 0x70]
comiss xmm0, xmm1
jbe 0x140019a9e
movss xmm2, dword [rax + 0x74]
mov ecx, 0x200
call fcn.140012a00
test eax, eax
jle 0x140019a9e
mov rcx, qword [0x140580140]
cmp byte [rcx + 0x477c], r12b
je 0x1400199f6
cmp dword [rcx + 0x3f68], 0xffffffff
jne 0x140019a9e
mov edx, 0x200
call fcn.140002ed0
cmp dword [rax], 0xffffffff
jne 0x140019a9e
cmp byte [rbx + 0xe1c], r12b
jne 0x140019a9e
cmp byte [rbx + 0xe1e], r12b
jne 0x140019a9e
movzx eax, byte [rbx + 0xe1d]
test byte [rbx + 8], bpl
je 0x140019a4d
test al, al
je 0x140019a37
mov ebp, 0xffffffff
jmp 0x140019a64
cmp byte [rbx + 0x4952], bpl
jne 0x140019a64
cmp dword [rbx + 0x3f68], r12d
jne 0x140019a64
xor ebp, ebp
jmp 0x140019a64
test al, al
je 0x140019a58
mov ebp, 0xffffffff
jmp 0x140019a64
xor ebp, ebp
cmp dword [rbx + 0x3f68], ebp
setne bpl
mov dword [rbx + 0x49d8], ebp
mov eax, reloc.WLDAP32.dll_Ordinal_33
cmp byte [r14 + 0xbc], r12b
mov r9d, 3
mov r8d, 0x1400
cmovne r9d, eax
sar ebp, 0x1f
lea ecx, [rax - 0x22]
lea edx, [rbp + 3]
call fcn.140018a50
mov dword [rbx + 0x49dc], 0xffffffff
mov rax, qword [0x140580140]
cmp byte [rax + 0x4999], r12b
jne 0x140019ac0
cmp byte [rax + 0x4955], r12b
jne 0x140019ac0
mov byte [rax + 0x4954], r12b
jmp 0x140019aea
mov byte [rax + 0x4954], 1
cmp qword [rax + 0x4908], r12
jne 0x140019aea
mov r8d, 0x2c82
lea rdx, [0x140150470]
lea rcx, str.g.NavWindow___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r14, qword [rdi + 0x4908]
movaps xmmword [rsp + 0xa0], xmm6
mov byte [rdi + 0x4950], r12b
mov r12, qword [rsp + 0xf0]
test r14, r14
je 0x140019dc3
test dword [r14 + 0x14], 0x40000
jne 0x140019dc3
cmp qword [rdi + 0x4ae8], 0
jne 0x140019dc3
mov rax, qword [r14]
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm9
movss xmm0, dword [rax + 0x3c34]
mov rax, qword [r14 + 0x368]
mulss xmm0, dword [r14 + 0x290]
test rax, rax
je 0x140019b64
mulss xmm0, dword [rax + 0x290]
cmp word [r14 + 0x15c], 0
mulss xmm0, dword [0x1401608d0]
mov ecx, dword [rdi + 0x49a8]
movss xmm8, dword [0x140160814]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x1401607e0]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x140019c53
cmp byte [r14 + 0x162], 0
je 0x140019c53
cmp ecx, 0xffffffff
je 0x140019c53
movss xmm1, dword [0x140160930]
test ecx, ecx
je 0x140019bd2
cmp ecx, 1
jne 0x140019c0d
movaps xmm0, xmm8
jmp 0x140019bd5
movaps xmm0, xmm1
mulss xmm0, xmm9
mov dword [r14 + 0x9c], 0
mov dword [r14 + 0xa4], 0
addss xmm0, dword [r14 + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x94], xmm0
cmp ecx, 2
je 0x140019c1b
cmp ecx, 3
jne 0x140019c53
movaps xmm1, xmm8
mulss xmm1, xmm9
mov dword [r14 + 0xa0], 0
mov dword [r14 + 0xa8], 0
addss xmm1, dword [r14 + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x98], xmm0
test sil, sil
je 0x140019dc7
mov rcx, qword [0x140580140]
mov edx, 0x27c
movaps xmmword [rsp + 0x90], xmm7
call fcn.140012820
mov rcx, qword [0x140580140]
mov edx, 0x27b
mov rbx, rax
call fcn.140012820
movss xmm6, dword [rbx + 0xc]
mov edx, 0x27a
mov rcx, qword [0x140580140]
subss xmm6, dword [rax + 0xc]
call fcn.140012820
mov rcx, qword [0x140580140]
mov edx, 0x279
mov rbx, rax
call fcn.140012820
movss xmm7, dword [rbx + 0xc]
mov edx, 0x273
mov rcx, qword [0x140580140]
subss xmm7, dword [rax + 0xc]
call fcn.140012820
cmp byte [rax], 0
je 0x140019cfa
mov rcx, qword [0x140580140]
mov edx, 0x273
call fcn.140002ed0
cmp byte [rax + 8], 0
jne 0x140019cfa
movss xmm8, dword [0x1401607b8]
jmp 0x140019d30
mov rcx, qword [0x140580140]
mov edx, 0x274
call fcn.140012820
cmp byte [rax], 0
je 0x140019d30
mov rcx, qword [0x140580140]
mov edx, 0x274
call fcn.140002ed0
cmp byte [rax + 8], 0
jne 0x140019d30
movss xmm8, dword [0x140160878]
ucomiss xmm7, xmm10
jp 0x140019d38
je 0x140019d7a
xor ebp, ebp
cmp byte [r14 + 0xb4], bpl
je 0x140019d7c
mulss xmm7, xmm9
mov dword [r14 + 0x9c], ebp
mov dword [r14 + 0xa4], ebp
mulss xmm7, xmm8
addss xmm7, dword [r14 + 0x84]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x94], xmm0
jmp 0x140019d7c
xor ebp, ebp
ucomiss xmm6, xmm10
movaps xmm7, xmmword [rsp + 0x90]
jp 0x140019d8c
je 0x140019dc9
mulss xmm6, xmm9
mov dword [r14 + 0xa0], ebp
mov dword [r14 + 0xa8], ebp
mulss xmm6, xmm8
addss xmm6, dword [r14 + 0x88]
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x98], xmm0
jmp 0x140019dc9
xor ebp, ebp
jmp 0x140019dd8
xor ebp, ebp
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm10, xmmword [rsp + 0x60]
test r15b, r15b
mov r15, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xa0]
mov r14, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0xe8]
jne 0x140019e13
test sil, sil
jne 0x140019e13
mov word [rdi + 0x4952], 1
jmp 0x140019e73
test r13b, r13b
je 0x140019e73
test byte [rdi + 8], 4
je 0x140019e73
test byte [rdi + 0xc], 4
je 0x140019e73
lea rcx, [rsp + 0xe0]
call fcn.140018ff0
mov rcx, qword [0x140580140]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rcx + 0x36e8], xmm0
movss dword [rcx + 0x36ec], xmm1
movss dword [rcx + 0xe00], xmm0
movss dword [rcx + 0xe04], xmm1
mov qword [rcx + 0xf4], 0
mov byte [rcx + 0xd5], 1
mov dword [rdi + 0x49d4], ebp
add rsp, 0xb8
pop r13
pop rdi
pop rsi
pop rbp
ret