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

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push r14
sub rsp, 0x58
mov rbx, qword [0x1401f19e8]
mov qword [rax + 0x20], rdi
mov qword [rax - 0x28], r12
mov r12d, 3
mov qword [rax - 0x30], r13
test byte [rbx + 8], 2
mov qword [rax - 0x38], r15
mov byte [rbx + 0xdb], 0
je 0x1400177a5
test byte [rbx + 0xc], 1
je 0x1400177a5
movdqa xmm0, xmmword [0x1400e0fb0]
lea r15, [rax - 0x58]
movdqa xmm1, xmmword [0x1400e0fc0]
mov bpl, 1
mov rsi, qword [0x1401f19e8]
movdqu xmmword [rax - 0x58], xmm0
movdqu xmmword [rax - 0x48], xmm1
nop dword [rax]
mov edi, dword [r15]
mov rcx, rsi
mov edx, edi
call fcn.1400133f0
cmp byte [rax], 0
je 0x140017795
lea eax, [rdi - 0x200]
cmp eax, 0x8b
jbe 0x140017777
cmp edi, 0x1000
je 0x140017777
cmp edi, 0x2000
je 0x140017777
cmp edi, 0x4000
je 0x140017777
cmp edi, 0x8000
je 0x140017777
cmp edi, 0x800
jne 0x140017787
mov edx, edi
mov rcx, rsi
call fcn.140013550
cmp byte [rax + 8], 0
jne 0x140017795
mov dword [rbx + 0x48e4], r12d
mov rsi, qword [0x1401f19e8]
add r15, 4
lea rax, [rsp + 0x40]
cmp r15, rax
jne 0x140017730
jmp 0x1400177af
mov rsi, qword [0x1401f19e8]
xor bpl, bpl
movzx r15d, byte [rbx + 8]
movdqa xmm0, xmmword [0x1400e0fa0]
and r15b, 1
mov byte [rsp + 0x80], r15b
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x201
mov dword [rsp + 0x34], 0x203
mov dword [rsp + 0x38], 0x204
je 0x140017870
lea r15, [rsp + 0x20]
mov edi, dword [r15]
mov rcx, rsi
mov edx, edi
call fcn.1400133f0
cmp byte [rax], 0
je 0x140017859
lea eax, [rdi - 0x200]
cmp eax, 0x8b
jbe 0x140017838
cmp edi, 0x1000
je 0x140017838
cmp edi, 0x2000
je 0x140017838
cmp edi, 0x4000
je 0x140017838
cmp edi, 0x8000
je 0x140017838
cmp edi, 0x800
jne 0x140017848
mov edx, edi
mov rcx, rsi
call fcn.140013550
cmp byte [rax + 8], 0
jne 0x140017859
mov dword [rbx + 0x48e4], 2
mov rsi, qword [0x1401f19e8]
add r15, 4
lea rax, [rsp + 0x3c]
cmp r15, rax
jne 0x1400177f1
movzx r15d, byte [rsp + 0x80]
xor r14d, r14d
cmp dword [rbx + 0x48f4], r14d
je 0x140017931
mov r9, qword [rsi + 0x48b0]
mov rdi, rsi
test r9, r9
je 0x140017931
test byte [rsi + 0x5c9c], 8
je 0x1400178c0
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rsi + 0x48e8]
mov edx, dword [rsi + 0x48f4]
call fcn.140010a60
mov rsi, qword [0x1401f19e8]
movsxd rax, dword [rdi + 0x48e8]
mov ecx, dword [rdi + 0x48f4]
mov rdx, rax
mov dword [rsi + 0x48e8], eax
mov rax, qword [rsi + 0x48b0]
mov dword [rsi + 0x48b8], ecx
mov dword [rsi + 0x48bc], r14d
mov dword [rax + rdx*4 + 0x3a0], ecx
add rdx, rdx
mov rax, qword [rsi + 0x48b0]
movups xmm0, xmmword [rdi + 0x48f8]
movups xmmword [rax + rdx*8 + 0x3a8], xmm0
mov byte [rdi + 0x48ec], 1
cmp byte [rdi + 0x48f2], r14b
je 0x140017931
mov rax, qword [0x1401f19e8]
mov word [rax + 0x48ed], 1
mov byte [rax + 0x48ef], 1
cmp byte [rbx + 0x4908], 0
mov word [rbx + 0x48f1], 0
mov dword [rbx + 0x48f4], r14d
mov dword [rbx + 0x48d0], r14d
je 0x140017956
call fcn.140016770
xor al, al
mov dword [rbx + 0x494c], r14d
mov r13d, 1
mov word [rbx + 0x4908], 0
mov dword [rsp + 0x88], eax
cmp byte [rbx + 0x48ed], al
je 0x1400179ab
cmp byte [rbx + 0x48ec], al
je 0x1400179ab
cmp byte [rbx + 0x48ee], al
jne 0x1400179ab
cmp byte [rbx + 0x48ef], al
je 0x1400179ab
cmp qword [rbx + 0x48b0], 0
movzx eax, al
cmovne eax, r13d
mov dword [rsp + 0x88], eax
mov rcx, qword [rbx + 0x48b0]
mov byte [rbx + 0x48ed], 0
test rcx, rcx
je 0x1400179ed
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x1400179e1
test dword [rax + 0x14], 0x14000000
jne 0x1400179e1
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x1400179c1
jmp 0x1400179ed
cmp rax, rcx
je 0x1400179ed
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x140017a13
cmp qword [rax + 0x398], 0
je 0x140017a13
cmp dword [rbx + 0x48e8], 0
jne 0x140017a13
mov qword [rax + 0x398], r14
call fcn.1400190b0
test r15b, r15b
jne 0x140017a26
test bpl, bpl
je 0x140017b5e
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x140017b5e
test dword [rax + 0x14], 0x40000
jne 0x140017b5e
mov byte [rbx + 0xdd], r13b
cmp dword [rbx + 0x48b8], 0
je 0x140017b65
lea rsi, [rbx + 0x48ee]
cmp byte [rsi], 0
jne 0x140017b65
lea r15, [rbx + 0x4a18]
movzx eax, r13b
mov qword [rsp + 0x90], r15
mov byte [rbx + 0xde], al
call fcn.1400180e0
mov r12d, dword [rbx + 0x48b8]
mov qword [rbx + 0x48c4], 0
mov dword [rbx + 0x48c0], r14d
mov dword [rbx + 0x48cc], r14d
test r12d, r12d
je 0x140017c7d
lea r14, [rbx + 0x48ee]
cmp byte [r14], 0
mov rsi, r14
jne 0x140017c7a
cmp qword [r15], 0
jne 0x140017c7a
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x140017c7a
test dword [rax + 0x14], 0x40000
jne 0x140017c7a
movzx eax, byte [rsp + 0x80]
mov rdi, qword [0x1401f19e8]
test al, al
je 0x140017b0e
cmp byte [rdi + 0x2eec], 0
je 0x140017b0e
cmp byte [rdi + 0x4010], 0
je 0x140017b25
test bpl, bpl
je 0x140017b8c
cmp byte [rdi + 0x350c], 0
je 0x140017b8c
cmp byte [rdi + 0x44a8], 0
jne 0x140017b8c
movzx esi, r13b
test al, al
je 0x140017b40
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140015290
test al, al
jne 0x140017b58
test bpl, bpl
je 0x140017b8f
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140015290
test al, al
je 0x140017b8f
movzx r15d, r13b
jmp 0x140017b92
mov byte [rbx + 0xdd], 0
lea r15, [rbx + 0x4a18]
cmp qword [r15], 0
lea rsi, [rbx + 0x48ee]
mov qword [rsp + 0x90], r15
jne 0x140017a6e
xor al, al
jmp 0x140017a7a
xor sil, sil
xor r15b, r15b
movzx eax, byte [rsp + 0x80]
test al, al
je 0x140017bb0
cmp byte [rdi + 0x2efc], 0
je 0x140017bb0
cmp byte [rdi + 0x401c], 0
je 0x140017bc7
test bpl, bpl
je 0x140017c00
cmp byte [rdi + 0x34fc], 0
je 0x140017c00
cmp byte [rdi + 0x449c], 0
jne 0x140017c00
movzx edi, r13b
test al, al
je 0x140017be2
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140015290
test al, al
jne 0x140017bfa
test bpl, bpl
je 0x140017c03
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140015290
test al, al
je 0x140017c03
movzx ecx, r13b
jmp 0x140017c05
xor dil, dil
xor cl, cl
mov eax, dword [rbx + 0x3f30]
test eax, eax
jne 0x140017c27
test r15b, r15b
je 0x140017c2c
mov dword [rbx + 0x48c0], r12d
mov dword [rbx + 0x48cc], 2
jmp 0x140017c2c
cmp eax, r12d
jne 0x140017c5c
test cl, cl
je 0x140017c3e
mov dword [rbx + 0x48c0], r12d
mov dword [rbx + 0x48cc], r13d
test eax, eax
je 0x140017c47
cmp eax, r12d
jne 0x140017c5c
test sil, sil
jne 0x140017c51
test dil, dil
je 0x140017c58
mov dword [rbx + 0x48c4], r12d
test eax, eax
je 0x140017c64
mov rsi, r14
cmp eax, r12d
jne 0x140017c7a
test r15b, r15b
jne 0x140017c70
mov rsi, r14
test cl, cl
je 0x140017c7a
mov dword [rbx + 0x48c8], r12d
mov rsi, r14
xor r14d, r14d
mov rax, qword [rbx + 0x48b0]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x50]
test rax, rax
je 0x140017c9f
test dword [rax + 0x14], 0x40000
je 0x140017c9f
mov byte [rsi], r13b
mov eax, dword [rbx + 0x48dc]
test eax, eax
je 0x140017cc7
mov dword [rbx + 0x48c8], eax
mov dword [rbx + 0x48c4], eax
mov dword [rbx + 0x48c0], eax
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48cc], eax
mov dword [rbx + 0x48dc], r14d
call fcn.140018350
cmp dword [rbx + 0x4918], 0xffffffff
jne 0x140017dd2
mov rdi, qword [0x1401f19e8]
mov r14, qword [rdi + 0x48b0]
test r14, r14
je 0x140017dcf
cmp qword [rdi + 0x4a18], 0
jne 0x140017dcf
test dword [r14 + 0x14], 0x40000
jne 0x140017dcf
mov r8d, r13d
mov edx, 0xffffffff
mov ecx, 0x200
call fcn.140015290
test al, al
je 0x140017dcf
cmp byte [rdi + 0xe24], 0
jne 0x140017dcf
cmp byte [rdi + 0xe26], 0
jne 0x140017dcf
movzx eax, byte [rdi + 0xe25]
test byte [rdi + 8], r13b
je 0x140017d77
test al, al
je 0x140017d60
mov r13d, 0xffffffff
jmp 0x140017d91
cmp byte [rdi + 0x48ee], r13b
jne 0x140017d91
cmp dword [rdi + 0x3f30], 0
jne 0x140017d91
xor r13d, r13d
jmp 0x140017d91
test al, al
je 0x140017d83
mov r13d, 0xffffffff
jmp 0x140017d91
xor r13d, r13d
cmp dword [rdi + 0x3f30], r13d
setne r13b
mov dword [rdi + 0x4948], r13d
mov eax, 0x21
cmp byte [r14 + 0xbc], 0
mov r9d, 3
mov r8d, 0x400
cmovne r9d, eax
sar r13d, 0x1f
lea ecx, [rax - 0x22]
lea edx, [r13 + 3]
call fcn.140016b90
mov dword [rdi + 0x494c], 0xffffffff
xor r14d, r14d
mov rax, qword [0x1401f19e8]
mov r13, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x98]
cmp byte [rax + 0x4909], 0
jne 0x140017dfc
cmp byte [rax + 0x48f1], 0
jne 0x140017dfc
xor cl, cl
jmp 0x140017dfe
mov cl, 1
mov byte [rax + 0x48f0], cl
mov rcx, qword [rbx + 0x48b0]
mov byte [rbx + 0x48ec], 0
test rcx, rcx
je 0x140018015
test dword [rcx + 0x14], 0x40000
jne 0x140018015
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
jne 0x140018015
mov rax, qword [rcx]
movss xmm0, dword [rax + 0x3c0c]
mov rax, qword [rcx + 0x368]
mulss xmm0, dword [rcx + 0x290]
test rax, rax
je 0x140017e61
mulss xmm0, dword [rax + 0x290]
cmp word [rcx + 0x15c], 0
mulss xmm0, dword [0x1400e0f64]
mov edx, dword [rbx + 0x4918]
movss xmm2, dword [0x1400df438]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x1400df434]
cvttss2si eax, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
jne 0x140017f33
cmp byte [rcx + 0x162], 0
je 0x140017f33
cmp edx, 0xffffffff
je 0x140017f33
movss xmm1, dword [0x1400df454]
test edx, edx
je 0x140017ec9
cmp edx, 1
jne 0x140017ef9
movaps xmm0, xmm2
jmp 0x140017ecc
movaps xmm0, xmm1
mulss xmm0, xmm4
mov dword [rcx + 0x9c], r14d
mov dword [rcx + 0xa4], r14d
addss xmm0, dword [rcx + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x94], xmm0
cmp edx, 2
je 0x140017f06
cmp edx, 3
jne 0x140017f33
movaps xmm1, xmm2
mulss xmm1, xmm4
mov dword [rcx + 0xa0], r14d
mov dword [rcx + 0xa8], r14d
addss xmm1, dword [rcx + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x98], xmm0
test bpl, bpl
je 0x140018015
mov rax, qword [0x1401f19e8]
cmp byte [rax + 0x355c], 0
movss xmm1, dword [rax + 0x35f8]
movss xmm0, dword [rax + 0x35d8]
subss xmm1, dword [rax + 0x35e8]
subss xmm0, dword [rax + 0x35c8]
je 0x140017f75
cmp byte [rax + 0x44e4], 0
je 0x140017f91
cmp byte [rax + 0x356c], 0
je 0x140017f99
cmp byte [rax + 0x44f0], 0
jne 0x140017f99
movss xmm2, dword [0x1400e0f50]
jmp 0x140017f99
movss xmm2, dword [0x1400e0ef8]
xorps xmm3, xmm3
ucomiss xmm0, xmm3
jp 0x140017fa3
je 0x140017fdd
cmp byte [rcx + 0xb4], 0
je 0x140017fdd
mulss xmm0, xmm4
mov dword [rcx + 0x9c], r14d
mov dword [rcx + 0xa4], r14d
mulss xmm0, xmm2
addss xmm0, dword [rcx + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x94], xmm0
ucomiss xmm1, xmm3
jp 0x140017fe4
je 0x140018015
mulss xmm1, xmm4
mov dword [rcx + 0xa0], r14d
mov dword [rcx + 0xa8], r14d
mulss xmm1, xmm2
addss xmm1, dword [rcx + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x98], xmm0
cmp byte [rsp + 0x80], 0
jne 0x14001803f
test bpl, bpl
jne 0x14001803f
mov byte [rsi], 1
mov byte [rbx + 0x48ef], bpl
mov dword [rbx + 0x4944], r14d
add rsp, 0x58
pop r14
pop rsi
pop rbp
pop rbx
ret
cmp byte [rsp + 0x88], 0
je 0x140018092
test byte [rbx + 8], 4
je 0x140018092
test byte [rbx + 0xc], 4
je 0x140018092
lea rcx, [rsp + 0x80]
call fcn.1400163e0
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x36f0], xmm0
movss dword [rbx + 0x36f4], xmm1
movss dword [rbx + 0xe08], xmm0
movss dword [rbx + 0xe0c], xmm1
mov byte [rbx + 0xdb], 1
mov dword [rbx + 0x4944], r14d
add rsp, 0x58
pop r14
pop rsi
pop rbp
pop rbx
ret