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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14010e040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r10, qword [0x14015ebd8]
mov r15d, 3
mov rbx, r10
test byte [r10 + 8], 2
mov byte [r10 + 0xd5], 0
je 0x140021266
test byte [r10 + 0xc], 1
je 0x140021266
movdqa xmm0, xmmword [0x1400fa780]
lea r11, [rsp + 0x48]
movdqa xmm1, xmmword [0x1400fa790]
mov dil, 1
movdqu xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x58], xmm1
nop dword [rax]
mov r9d, dword [r11]
mov rcx, r10
mov edx, r9d
call fcn.14001baa0
cmp byte [rax], 0
je 0x140021256
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x14002123e
cmp r9d, 0x1000
je 0x14002123e
cmp r9d, 0x2000
je 0x14002123e
cmp r9d, 0x4000
je 0x14002123e
cmp r9d, 0x8000
je 0x14002123e
cmp r9d, 0x800
jne 0x14002124f
mov edx, r9d
mov rcx, r10
call fcn.14000d690
cmp byte [rax + 8], 0
jne 0x140021256
mov dword [r10 + 0x493c], r15d
add r11, 4
lea rax, [rsp + 0x68]
cmp r11, rax
jne 0x1400211f0
jmp 0x140021269
xor dil, dil
movzx r13d, byte [r10 + 8]
movdqa xmm0, xmmword [0x1400fa770]
mov dword [rsp + 0x38], 0x201
mov dword [rsp + 0x3c], 0x203
mov dword [rsp + 0x40], 0x204
movdqu xmmword [rsp + 0x28], xmm0
and r13b, 1
je 0x140021318
lea r11, [rsp + 0x28]
nop
mov r9d, dword [r11]
mov rcx, r10
mov edx, r9d
call fcn.14001baa0
cmp byte [rax], 0
je 0x14002130a
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x1400212ee
cmp r9d, 0x1000
je 0x1400212ee
cmp r9d, 0x2000
je 0x1400212ee
cmp r9d, 0x4000
je 0x1400212ee
cmp r9d, 0x8000
je 0x1400212ee
cmp r9d, 0x800
jne 0x1400212ff
mov edx, r9d
mov rcx, r10
call fcn.14000d690
cmp byte [rax + 8], 0
jne 0x14002130a
mov dword [r10 + 0x493c], 2
add r11, 4
lea rax, [rsp + 0x44]
cmp r11, rax
jne 0x1400212a0
mov edx, dword [r10 + 0x4960]
xor r14d, r14d
mov dword [r10 + 0x4928], r14d
test edx, edx
je 0x14002145a
mov r9, qword [r10 + 0x4908]
mov rsi, r10
test r9, r9
je 0x14002145a
cmp dword [r10 + 0x4910], edx
je 0x140021369
mov dword [r10 + 0x4928], edx
mov eax, dword [r10 + 0x4964]
mov dword [r10 + 0x492c], eax
mov dword [r10 + 0x4930], r14d
test byte [r10 + 0x5de4], 8
je 0x140021391
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [r10 + 0x4940]
call fcn.140025a90
mov r10, qword [0x14015ebd8]
mov eax, dword [rsi + 0x4964]
movsxd rcx, dword [rsi + 0x4940]
mov edx, dword [rsi + 0x4960]
mov r8, rcx
mov dword [r10 + 0x4914], eax
add r8, r8
mov rax, qword [r10 + 0x4908]
mov dword [r10 + 0x4910], edx
mov dword [r10 + 0x4940], ecx
mov dword [rax + rcx*4 + 0x3a0], edx
mov rax, qword [r10 + 0x4908]
movups xmm0, xmmword [rsi + 0x4968]
movups xmmword [rax + r8*8 + 0x3a8], xmm0
mov rax, qword [r10 + 0x4908]
movsxd rdx, dword [r10 + 0x4940]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3c8], 0x7f7fffff
mov rax, qword [r10 + 0x4908]
movsxd rdx, dword [r10 + 0x4940]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3cc], 0x7f7fffff
mov byte [rsi + 0x4950], 1
mov rax, qword [rsi + 0x4980]
cmp rax, 0xffffffffffffffff
je 0x14002143f
mov qword [rsi + 0x4948], rax
cmp byte [rsi + 0x4956], r14b
je 0x14002145a
mov word [r10 + 0x4951], 1
mov byte [r10 + 0x4953], 1
cmp byte [rbx + 0x4998], 0
mov word [rbx + 0x4955], 0
mov dword [rbx + 0x4960], r14d
je 0x140021478
call fcn.140022790
xor r12b, r12b
mov dword [rbx + 0x49dc], r14d
mov ebp, 1
mov word [rbx + 0x4998], 0
cmp byte [rbx + 0x4951], r12b
je 0x1400214c4
cmp byte [rbx + 0x4950], r12b
je 0x1400214c4
cmp byte [rbx + 0x4952], r12b
jne 0x1400214c4
cmp byte [rbx + 0x4953], r12b
je 0x1400214c4
cmp qword [rbx + 0x4908], 0
movzx r12d, r12b
cmovne r12d, ebp
mov rcx, qword [rbx + 0x4908]
mov byte [rbx + 0x4951], 0
test rcx, rcx
je 0x14002150c
mov rax, rcx
nop word [rax + rax]
cmp qword [rax + 0x378], rax
je 0x140021500
test dword [rax + 0x14], 0x14000000
jne 0x140021500
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x1400214e0
jmp 0x14002150c
cmp rax, rcx
je 0x14002150c
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x4908]
test rax, rax
je 0x140021532
cmp qword [rax + 0x398], 0
je 0x140021532
cmp dword [rbx + 0x4940], 0
jne 0x140021532
mov qword [rax + 0x398], r14
call fcn.140023750
test r13b, r13b
jne 0x140021545
test dil, dil
je 0x140021671
mov rax, qword [rbx + 0x4908]
test rax, rax
je 0x140021671
test dword [rax + 0x14], 0x40000
jne 0x140021671
mov byte [rbx + 0xd7], bpl
cmp dword [rbx + 0x4910], 0
je 0x140021678
cmp byte [rbx + 0x4952], 0
jne 0x140021678
movzx eax, bpl
mov byte [rbx + 0xd8], al
call fcn.140022c40
cmp dword [rbx + 0x4910], 0
mov qword [rbx + 0x491c], 0
mov dword [rbx + 0x4918], r14d
mov dword [rbx + 0x4924], r14d
je 0x1400217a3
cmp byte [rbx + 0x4952], 0
jne 0x1400217a3
cmp qword [rbx + 0x4ae8], 0
jne 0x1400217a3
mov rax, qword [rbx + 0x4908]
test rax, rax
je 0x1400217a3
test dword [rax + 0x14], 0x40000
jne 0x1400217a3
mov rsi, qword [0x14015ebd8]
test r13b, r13b
je 0x140021617
mov edx, 0x20c
mov rcx, rsi
call fcn.14001baa0
cmp byte [rax], 0
je 0x140021617
cmp byte [rsi + 0x4048], 0
je 0x140021637
test dil, dil
je 0x14002168d
mov edx, 0x26e
mov rcx, rsi
call fcn.14001baa0
cmp byte [rax], 0
je 0x14002168d
cmp byte [rsi + 0x44e0], 0
jne 0x14002168d
movzx r15d, bpl
test r13b, r13b
je 0x140021653
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.14001c200
test al, al
jne 0x14002166b
test dil, dil
je 0x140021690
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.14001c200
test al, al
je 0x140021690
movzx r14d, bpl
jmp 0x140021693
mov byte [rbx + 0xd7], 0
cmp qword [rbx + 0x4ae8], 0
jne 0x140021583
xor al, al
jmp 0x140021587
xor r15b, r15b
xor r14b, r14b
test r13b, r13b
je 0x1400216b3
mov edx, 0x20d
mov rcx, rsi
call fcn.14001baa0
cmp byte [rax], 0
je 0x1400216b3
cmp byte [rsi + 0x4054], 0
je 0x1400216d3
test dil, dil
je 0x14002170d
mov edx, 0x26d
mov rcx, rsi
call fcn.14001baa0
cmp byte [rax], 0
je 0x14002170d
cmp byte [rsi + 0x44d4], 0
jne 0x14002170d
movzx esi, bpl
test r13b, r13b
je 0x1400216ef
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.14001c200
test al, al
jne 0x140021707
test dil, dil
je 0x140021710
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.14001c200
test al, al
je 0x140021710
movzx edx, bpl
jmp 0x140021712
xor sil, sil
xor dl, dl
mov ecx, dword [rbx + 0x3f68]
test ecx, ecx
jne 0x140021739
test r14b, r14b
je 0x140021741
mov eax, dword [rbx + 0x4910]
mov dword [rbx + 0x4918], eax
mov dword [rbx + 0x4924], 2
jmp 0x140021741
cmp ecx, dword [rbx + 0x4910]
jne 0x14002179a
test dl, dl
je 0x140021757
mov eax, dword [rbx + 0x4910]
mov dword [rbx + 0x4918], eax
mov dword [rbx + 0x4924], ebp
test ecx, ecx
je 0x140021763
cmp ecx, dword [rbx + 0x4910]
jne 0x14002179a
test r15b, r15b
jne 0x14002176d
test sil, sil
je 0x140021779
mov eax, dword [rbx + 0x4910]
mov dword [rbx + 0x491c], eax
test ecx, ecx
je 0x140021785
cmp ecx, dword [rbx + 0x4910]
jne 0x14002179a
test r14b, r14b
jne 0x14002178e
test dl, dl
je 0x14002179a
mov eax, dword [rbx + 0x4910]
mov dword [rbx + 0x4920], eax
mov r15d, 3
xor r14d, r14d
mov rax, qword [rbx + 0x4908]
test rax, rax
je 0x1400217bf
test dword [rax + 0x14], 0x40000
je 0x1400217bf
mov byte [rbx + 0x4952], bpl
mov eax, dword [rbx + 0x4934]
test eax, eax
je 0x1400217e7
mov dword [rbx + 0x4920], eax
mov dword [rbx + 0x491c], eax
mov dword [rbx + 0x4918], eax
mov eax, dword [rbx + 0x4938]
mov dword [rbx + 0x4924], eax
mov dword [rbx + 0x4934], r14d
call fcn.140021c60
cmp dword [rbx + 0x49a8], 0xffffffff
xorps xmm5, xmm5
mov r11, qword [0x14015ebd8]
jne 0x140021955
mov rsi, qword [r11 + 0x4908]
test rsi, rsi
je 0x140021955
cmp qword [r11 + 0x4ae8], 0
jne 0x140021955
test dword [rsi + 0x14], 0x40000
jne 0x140021955
mov edx, 0x200
mov rcx, r11
call fcn.14001baa0
cmp byte [rax], 0
je 0x140021955
movss xmm0, dword [rax + 4]
comiss xmm5, xmm0
ja 0x140021955
ucomiss xmm0, xmm5
jp 0x140021865
jne 0x140021865
mov r10, r11
jmp 0x14002188f
movss xmm1, dword [r11 + 0x70]
mov r10, r11
comiss xmm0, xmm1
jbe 0x140021955
movss xmm2, dword [r11 + 0x74]
mov ecx, 0x200
call fcn.14001bc30
test eax, eax
jle 0x140021955
cmp byte [r10 + 0x477c], 0
je 0x1400218a7
cmp dword [r10 + 0x3f68], 0xffffffff
jne 0x140021955
cmp dword [r10 + 0x3fb0], 0xffffffff
jne 0x140021955
cmp byte [r11 + 0xe1c], 0
jne 0x140021955
cmp byte [r11 + 0xe1e], 0
jne 0x140021955
movzx eax, byte [r11 + 0xe1d]
test byte [r11 + 8], bpl
je 0x140021902
test al, al
je 0x1400218ea
mov ebp, 0xffffffff
jmp 0x14002191c
cmp byte [r11 + 0x4952], bpl
jne 0x14002191c
cmp dword [r11 + 0x3f68], 0
jne 0x14002191c
mov ebp, r14d
jmp 0x14002191c
test al, al
je 0x14002190d
mov ebp, 0xffffffff
jmp 0x14002191c
cmp dword [r11 + 0x3f68], 0
mov ebp, r14d
setne bpl
mov dword [r11 + 0x49d8], ebp
mov eax, 0x21
cmp byte [rsi + 0xbc], 0
mov r8d, 0x1400
cmovne r15d, eax
sar ebp, 0x1f
mov r9d, r15d
lea ecx, [rax - 0x22]
lea edx, [rbp + 3]
call fcn.140020a10
mov dword [r11 + 0x49dc], 0xffffffff
cmp byte [r11 + 0x4999], 0
jne 0x14002196d
cmp byte [r11 + 0x4955], 0
jne 0x14002196d
xor al, al
jmp 0x14002196f
mov al, 1
mov byte [r11 + 0x4954], al
mov rsi, qword [rbx + 0x4908]
mov byte [rbx + 0x4950], 0
test rsi, rsi
je 0x140021bbd
test dword [rsi + 0x14], 0x40000
jne 0x140021bbd
cmp qword [rbx + 0x4ae8], 0
jne 0x140021bbd
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x3c34]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x1400219cf
mulss xmm0, dword [rax + 0x290]
cmp word [rsi + 0x15c], 0
mulss xmm0, dword [0x1400fa4c4]
mov ecx, dword [rbx + 0x49a8]
movss xmm2, dword [0x1400fa3c4]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x1400fa380]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x140021aa1
cmp byte [rsi + 0x162], 0
je 0x140021aa1
cmp ecx, 0xffffffff
je 0x140021aa1
movss xmm1, dword [0x1400fa56c]
test ecx, ecx
je 0x140021a37
cmp ecx, 1
jne 0x140021a67
movaps xmm0, xmm2
jmp 0x140021a3a
movaps xmm0, xmm1
mulss xmm0, xmm3
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 0x140021a74
cmp ecx, 3
jne 0x140021aa1
movaps xmm1, xmm2
mulss xmm1, xmm3
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 dil, dil
je 0x140021bbd
mov edx, 0x27c
mov rcx, r11
call fcn.14001baa0
mov edx, 0x279
mov rcx, r11
mov r10, rax
call fcn.14001baa0
mov edx, 0x27a
mov rcx, r11
mov r9, rax
call fcn.14001baa0
mov edx, 0x27b
mov rcx, r11
movss xmm0, dword [rax + 0xc]
subss xmm0, dword [r9 + 0xc]
call fcn.14001baa0
movss xmm1, dword [r10 + 0xc]
mov edx, 0x273
mov rcx, r11
subss xmm1, dword [rax + 0xc]
call fcn.14001baa0
cmp byte [rax], 0
je 0x140021b20
cmp byte [r11 + 0x451c], 0
jne 0x140021b20
movss xmm2, dword [0x1400fa354]
jmp 0x140021b44
mov edx, 0x274
mov rcx, r11
call fcn.14001baa0
cmp byte [rax], 0
je 0x140021b44
cmp byte [r11 + 0x4528], 0
jne 0x140021b44
movss xmm2, dword [0x1400fa454]
ucomiss xmm0, xmm5
jp 0x140021b4b
je 0x140021b85
cmp byte [rsi + 0xb4], 0
je 0x140021b85
mulss xmm0, xmm3
mov dword [rsi + 0x9c], r14d
mov dword [rsi + 0xa4], r14d
mulss xmm0, xmm2
addss xmm0, dword [rsi + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x94], xmm0
ucomiss xmm1, xmm5
jp 0x140021b8c
je 0x140021bbd
mulss xmm1, xmm3
mov dword [rsi + 0xa0], r14d
mov dword [rsi + 0xa8], r14d
mulss xmm1, xmm2
addss xmm1, dword [rsi + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x98], xmm0
test r13b, r13b
jne 0x140021bd2
test dil, dil
jne 0x140021bd2
mov word [rbx + 0x4952], 1
jmp 0x140021c2d
test r12b, r12b
je 0x140021c2d
test byte [rbx + 8], 4
je 0x140021c2d
test byte [rbx + 0xc], 4
je 0x140021c2d
lea rcx, [rsp + 0x20]
call fcn.140020e80
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [r11 + 0x36e8], xmm0
movss dword [r11 + 0x36ec], xmm1
movss dword [r11 + 0xe00], xmm0
movss dword [r11 + 0xe04], xmm1
mov qword [r11 + 0xf4], 0
mov byte [r11 + 0xd5], 1
mov dword [rbx + 0x49d4], r14d
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400d09e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret