Function at 0x1400163a0
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 [0x1401f0fb8]
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 0x140016485
test byte [rbx + 0xc], 1
je 0x140016485
movdqa xmm0, xmmword [0x1400dceb0]
lea r15, [rax - 0x58]
movdqa xmm1, xmmword [0x1400dcec0]
mov bpl, 1
mov rsi, qword [0x1401f0fb8]
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.1400120d0
cmp byte [rax], 0
je 0x140016475
lea eax, [rdi - 0x200]
cmp eax, 0x8b
jbe 0x140016457
cmp edi, 0x1000
je 0x140016457
cmp edi, 0x2000
je 0x140016457
cmp edi, 0x4000
je 0x140016457
cmp edi, 0x8000
je 0x140016457
cmp edi, 0x800
jne 0x140016467
mov edx, edi
mov rcx, rsi
call fcn.140012230
cmp byte [rax + 8], 0
jne 0x140016475
mov dword [rbx + 0x48e4], r12d
mov rsi, qword [0x1401f0fb8]
add r15, 4
lea rax, [rsp + 0x40]
cmp r15, rax
jne 0x140016410
jmp 0x14001648f
mov rsi, qword [0x1401f0fb8]
xor bpl, bpl
movzx r15d, byte [rbx + 8]
movdqa xmm0, xmmword [0x1400dcea0]
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 0x140016550
lea r15, [rsp + 0x20]
mov edi, dword [r15]
mov rcx, rsi
mov edx, edi
call fcn.1400120d0
cmp byte [rax], 0
je 0x140016539
lea eax, [rdi - 0x200]
cmp eax, 0x8b
jbe 0x140016518
cmp edi, 0x1000
je 0x140016518
cmp edi, 0x2000
je 0x140016518
cmp edi, 0x4000
je 0x140016518
cmp edi, 0x8000
je 0x140016518
cmp edi, 0x800
jne 0x140016528
mov edx, edi
mov rcx, rsi
call fcn.140012230
cmp byte [rax + 8], 0
jne 0x140016539
mov dword [rbx + 0x48e4], 2
mov rsi, qword [0x1401f0fb8]
add r15, 4
lea rax, [rsp + 0x3c]
cmp r15, rax
jne 0x1400164d1
movzx r15d, byte [rsp + 0x80]
xor r14d, r14d
cmp dword [rbx + 0x48f4], r14d
je 0x140016611
mov r9, qword [rsi + 0x48b0]
mov rdi, rsi
test r9, r9
je 0x140016611
test byte [rsi + 0x5c9c], 8
je 0x1400165a0
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.14000f740
mov rsi, qword [0x1401f0fb8]
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 0x140016611
mov rax, qword [0x1401f0fb8]
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 0x140016636
call fcn.140015450
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 0x14001668b
cmp byte [rbx + 0x48ec], al
je 0x14001668b
cmp byte [rbx + 0x48ee], al
jne 0x14001668b
cmp byte [rbx + 0x48ef], al
je 0x14001668b
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 0x1400166cd
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x1400166c1
test dword [rax + 0x14], 0x14000000
jne 0x1400166c1
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x1400166a1
jmp 0x1400166cd
cmp rax, rcx
je 0x1400166cd
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x1400166f3
cmp qword [rax + 0x398], 0
je 0x1400166f3
cmp dword [rbx + 0x48e8], 0
jne 0x1400166f3
mov qword [rax + 0x398], r14
call fcn.140017d90
test r15b, r15b
jne 0x140016706
test bpl, bpl
je 0x14001683e
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x14001683e
test dword [rax + 0x14], 0x40000
jne 0x14001683e
mov byte [rbx + 0xdd], r13b
cmp dword [rbx + 0x48b8], 0
je 0x140016845
lea rsi, [rbx + 0x48ee]
cmp byte [rsi], 0
jne 0x140016845
lea r15, [rbx + 0x4a18]
movzx eax, r13b
mov qword [rsp + 0x90], r15
mov byte [rbx + 0xde], al
call fcn.140016dc0
mov r12d, dword [rbx + 0x48b8]
mov qword [rbx + 0x48c4], 0
mov dword [rbx + 0x48c0], r14d
mov dword [rbx + 0x48cc], r14d
test r12d, r12d
je 0x14001695d
lea r14, [rbx + 0x48ee]
cmp byte [r14], 0
mov rsi, r14
jne 0x14001695a
cmp qword [r15], 0
jne 0x14001695a
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x14001695a
test dword [rax + 0x14], 0x40000
jne 0x14001695a
movzx eax, byte [rsp + 0x80]
mov rdi, qword [0x1401f0fb8]
test al, al
je 0x1400167ee
cmp byte [rdi + 0x2eec], 0
je 0x1400167ee
cmp byte [rdi + 0x4010], 0
je 0x140016805
test bpl, bpl
je 0x14001686c
cmp byte [rdi + 0x350c], 0
je 0x14001686c
cmp byte [rdi + 0x44a8], 0
jne 0x14001686c
movzx esi, r13b
test al, al
je 0x140016820
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140013f70
test al, al
jne 0x140016838
test bpl, bpl
je 0x14001686f
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140013f70
test al, al
je 0x14001686f
movzx r15d, r13b
jmp 0x140016872
mov byte [rbx + 0xdd], 0
lea r15, [rbx + 0x4a18]
cmp qword [r15], 0
lea rsi, [rbx + 0x48ee]
mov qword [rsp + 0x90], r15
jne 0x14001674e
xor al, al
jmp 0x14001675a
xor sil, sil
xor r15b, r15b
movzx eax, byte [rsp + 0x80]
test al, al
je 0x140016890
cmp byte [rdi + 0x2efc], 0
je 0x140016890
cmp byte [rdi + 0x401c], 0
je 0x1400168a7
test bpl, bpl
je 0x1400168e0
cmp byte [rdi + 0x34fc], 0
je 0x1400168e0
cmp byte [rdi + 0x449c], 0
jne 0x1400168e0
movzx edi, r13b
test al, al
je 0x1400168c2
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140013f70
test al, al
jne 0x1400168da
test bpl, bpl
je 0x1400168e3
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140013f70
test al, al
je 0x1400168e3
movzx ecx, r13b
jmp 0x1400168e5
xor dil, dil
xor cl, cl
mov eax, dword [rbx + 0x3f30]
test eax, eax
jne 0x140016907
test r15b, r15b
je 0x14001690c
mov dword [rbx + 0x48c0], r12d
mov dword [rbx + 0x48cc], 2
jmp 0x14001690c
cmp eax, r12d
jne 0x14001693c
test cl, cl
je 0x14001691e
mov dword [rbx + 0x48c0], r12d
mov dword [rbx + 0x48cc], r13d
test eax, eax
je 0x140016927
cmp eax, r12d
jne 0x14001693c
test sil, sil
jne 0x140016931
test dil, dil
je 0x140016938
mov dword [rbx + 0x48c4], r12d
test eax, eax
je 0x140016944
mov rsi, r14
cmp eax, r12d
jne 0x14001695a
test r15b, r15b
jne 0x140016950
mov rsi, r14
test cl, cl
je 0x14001695a
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 0x14001697f
test dword [rax + 0x14], 0x40000
je 0x14001697f
mov byte [rsi], r13b
mov eax, dword [rbx + 0x48dc]
test eax, eax
je 0x1400169a7
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.140017030
cmp dword [rbx + 0x4918], 0xffffffff
jne 0x140016ab2
mov rdi, qword [0x1401f0fb8]
mov r14, qword [rdi + 0x48b0]
test r14, r14
je 0x140016aaf
cmp qword [rdi + 0x4a18], 0
jne 0x140016aaf
test dword [r14 + 0x14], 0x40000
jne 0x140016aaf
mov r8d, r13d
mov edx, 0xffffffff
mov ecx, 0x200
call fcn.140013f70
test al, al
je 0x140016aaf
cmp byte [rdi + 0xe24], 0
jne 0x140016aaf
cmp byte [rdi + 0xe26], 0
jne 0x140016aaf
movzx eax, byte [rdi + 0xe25]
test byte [rdi + 8], r13b
je 0x140016a57
test al, al
je 0x140016a40
mov r13d, 0xffffffff
jmp 0x140016a71
cmp byte [rdi + 0x48ee], r13b
jne 0x140016a71
cmp dword [rdi + 0x3f30], 0
jne 0x140016a71
xor r13d, r13d
jmp 0x140016a71
test al, al
je 0x140016a63
mov r13d, 0xffffffff
jmp 0x140016a71
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.140015870
mov dword [rdi + 0x494c], 0xffffffff
xor r14d, r14d
mov rax, qword [0x1401f0fb8]
mov r13, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x98]
cmp byte [rax + 0x4909], 0
jne 0x140016adc
cmp byte [rax + 0x48f1], 0
jne 0x140016adc
xor cl, cl
jmp 0x140016ade
mov cl, 1
mov byte [rax + 0x48f0], cl
mov rcx, qword [rbx + 0x48b0]
mov byte [rbx + 0x48ec], 0
test rcx, rcx
je 0x140016cf5
test dword [rcx + 0x14], 0x40000
jne 0x140016cf5
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
jne 0x140016cf5
mov rax, qword [rcx]
movss xmm0, dword [rax + 0x3c0c]
mov rax, qword [rcx + 0x368]
mulss xmm0, dword [rcx + 0x290]
test rax, rax
je 0x140016b41
mulss xmm0, dword [rax + 0x290]
cmp word [rcx + 0x15c], 0
mulss xmm0, dword [0x1400dce68]
mov edx, dword [rbx + 0x4918]
movss xmm2, dword [0x1400db330]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x1400db32c]
cvttss2si eax, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
jne 0x140016c13
cmp byte [rcx + 0x162], 0
je 0x140016c13
cmp edx, 0xffffffff
je 0x140016c13
movss xmm1, dword [0x1400db350]
test edx, edx
je 0x140016ba9
cmp edx, 1
jne 0x140016bd9
movaps xmm0, xmm2
jmp 0x140016bac
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 0x140016be6
cmp edx, 3
jne 0x140016c13
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 0x140016cf5
mov rax, qword [0x1401f0fb8]
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 0x140016c55
cmp byte [rax + 0x44e4], 0
je 0x140016c71
cmp byte [rax + 0x356c], 0
je 0x140016c79
cmp byte [rax + 0x44f0], 0
jne 0x140016c79
movss xmm2, dword [0x1400dce50]
jmp 0x140016c79
movss xmm2, dword [0x1400dcdf8]
xorps xmm3, xmm3
ucomiss xmm0, xmm3
jp 0x140016c83
je 0x140016cbd
cmp byte [rcx + 0xb4], 0
je 0x140016cbd
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 0x140016cc4
je 0x140016cf5
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 0x140016d1f
test bpl, bpl
jne 0x140016d1f
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 0x140016d72
test byte [rbx + 8], 4
je 0x140016d72
test byte [rbx + 0xc], 4
je 0x140016d72
lea rcx, [rsp + 0x80]
call fcn.1400150c0
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