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

Disassembly:
mov r11, rsp
push rbx
push rdi
push r12
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x140085010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [r11 + 8], rbp
mov ebp, 3
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], r13
vmovaps xmmword [r11 - 0x68], xmm9
mov r11, qword [0x1400863e0]
mov rbx, r11
test byte [r11 + 8], 2
mov byte [r11 + 0xdb], 0
je 0x1400213f9
test byte [r11 + 0xc], 1
je 0x1400213f9
vmovdqu ymm0, ymmword [0x140077cc0]
vmovdqu ymmword [rsp + 0x58], ymm0
mov dil, 1
lea r10, [rsp + 0x58]
nop word [rax + rax]
mov r9d, dword [r10]
mov rcx, r11
mov edx, r9d
vzeroupper
call fcn.14001b2f0
cmp byte [rax], 0
je 0x1400213e9
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x1400213d1
cmp r9d, 0x1000
je 0x1400213d1
cmp r9d, 0x2000
je 0x1400213d1
cmp r9d, 0x4000
je 0x1400213d1
cmp r9d, 0x8000
je 0x1400213d1
cmp r9d, 0x800
jne 0x1400213e2
mov edx, r9d
mov rcx, r11
call fcn.14000c8e0
cmp byte [rax + 8], 0
jne 0x1400213e9
mov dword [r11 + 0x490c], ebp
add r10, 4
lea rax, [rsp + 0x78]
cmp r10, rax
jne 0x140021380
jmp 0x1400213fc
xor dil, dil
movzx ebp, byte [r11 + 8]
mov r14d, 2
vmovdqu xmm0, xmmword [0x140077a80]
and bpl, 1
mov dword [rsp + 0x48], 0x201
mov byte [rsp + 0x20], bpl
vmovdqu xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x4c], 0x203
mov dword [rsp + 0x50], 0x204
je 0x1400214b4
lea r10, [rsp + 0x38]
nop dword [rax]
mov r9d, dword [r10]
mov rcx, r11
mov edx, r9d
call fcn.14001b2f0
cmp byte [rax], 0
je 0x1400214a6
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x14002148e
cmp r9d, 0x1000
je 0x14002148e
cmp r9d, 0x2000
je 0x14002148e
cmp r9d, 0x4000
je 0x14002148e
cmp r9d, 0x8000
je 0x14002148e
cmp r9d, 0x800
jne 0x14002149f
mov edx, r9d
mov rcx, r11
call fcn.14000c8e0
cmp byte [rax + 8], 0
jne 0x1400214a6
mov dword [r11 + 0x490c], r14d
add r10, 4
lea rax, [rsp + 0x54]
cmp r10, rax
jne 0x140021440
mov edx, dword [r11 + 0x4928]
xor r15d, r15d
mov dword [r11 + 0x48f8], r15d
test edx, edx
je 0x1400215e4
mov r9, qword [r11 + 0x48d8]
mov rsi, r11
test r9, r9
je 0x1400215e4
cmp dword [r11 + 0x48e0], edx
je 0x140021505
mov dword [r11 + 0x48f8], edx
mov eax, dword [r11 + 0x492c]
mov dword [r11 + 0x48fc], eax
mov dword [r11 + 0x4900], r15d
test byte [r11 + 0x5ce4], 8
je 0x14002152d
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [r11 + 0x4910]
call fcn.140025fc0
mov r11, qword [0x1400863e0]
mov eax, dword [rsi + 0x492c]
movsxd rcx, dword [rsi + 0x4910]
mov edx, dword [rbx + 0x4928]
mov r8, rcx
mov dword [r11 + 0x48e4], eax
add r8, r8
mov rax, qword [r11 + 0x48d8]
mov dword [r11 + 0x48e0], edx
mov dword [r11 + 0x4910], ecx
mov dword [rax + rcx*4 + 0x3a0], edx
mov rax, qword [r11 + 0x48d8]
vmovups xmm0, xmmword [rsi + 0x4930]
vmovups xmmword [rax + r8*8 + 0x3a8], xmm0
mov rax, qword [r11 + 0x48d8]
movsxd rdx, dword [r11 + 0x4910]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3c8], 0x7f7fffff
mov rax, qword [r11 + 0x48d8]
movsxd rdx, dword [r11 + 0x4910]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3cc], 0x7f7fffff
mov byte [rsi + 0x4914], 1
cmp byte [rsi + 0x491a], r15b
je 0x1400215e4
mov word [r11 + 0x4915], 1
mov byte [r11 + 0x4917], 1
mov word [rbx + 0x4919], r15w
mov dword [rbx + 0x4928], r15d
cmp byte [rbx + 0x4950], r15b
je 0x140021601
call fcn.140022950
xor r12b, r12b
mov dword [rbx + 0x4994], r15d
mov r13d, 1
mov word [rbx + 0x4950], r15w
mov dword [rsp + 0x30], r12d
cmp byte [rbx + 0x4915], r15b
je 0x140021656
cmp byte [rbx + 0x4914], r15b
je 0x140021656
cmp byte [rbx + 0x4916], r15b
jne 0x140021656
cmp byte [rbx + 0x4917], r15b
je 0x140021656
cmp qword [rbx + 0x48d8], r15
movzx r12d, r12b
cmovne r12d, r13d
mov dword [rsp + 0x30], r12d
mov rcx, qword [rbx + 0x48d8]
mov byte [rbx + 0x4915], r15b
test rcx, rcx
je 0x14002169c
mov rax, rcx
nop dword [rax]
cmp qword [rax + 0x378], rax
je 0x140021690
test dword [rax + 0x14], 0x14000000
jne 0x140021690
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140021670
jmp 0x14002169c
cmp rax, rcx
je 0x14002169c
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x1400216c1
cmp qword [rax + 0x398], r15
je 0x1400216c1
cmp dword [rbx + 0x4910], r15d
jne 0x1400216c1
mov qword [rax + 0x398], r15
call fcn.140023910
test bpl, bpl
jne 0x1400216d4
test dil, dil
je 0x140021820
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x140021820
test dword [rax + 0x14], 0x40000
jne 0x140021820
mov byte [rbx + 0xdd], r13b
cmp dword [rbx + 0x48e0], r15d
je 0x140021827
lea r14, [rbx + 0x4916]
cmp byte [r14], r15b
jne 0x140021827
lea rbp, [rbx + 0x4a60]
movzx eax, r13b
mov qword [rsp + 0x28], rbp
mov byte [rbx + 0xde], al
call fcn.140022dc0
mov qword [rbx + 0x48ec], r15
mov dword [rbx + 0x48e8], r15d
mov dword [rbx + 0x48f4], r15d
mov r15d, dword [rbx + 0x48e0]
test r15d, r15d
je 0x140021955
lea rbp, [rbx + 0x4916]
cmp byte [rbp], 0
mov r14, rbp
jne 0x140021950
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
jne 0x140021a96
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x140021950
test dword [rax + 0x14], 0x40000
jne 0x140021950
movzx r9d, byte [rsp + 0x20]
mov rsi, qword [0x1400863e0]
test r9b, r9b
je 0x1400217c2
mov edx, 0x20c
mov rcx, rsi
call fcn.14001b2f0
cmp byte [rax], 0
je 0x1400217c2
cmp byte [rsi + 0x4038], 0
je 0x1400217e6
test dil, dil
je 0x14002184b
mov edx, 0x26e
mov rcx, rsi
call fcn.14001b2f0
cmp byte [rax], 0
je 0x14002184b
cmp byte [rsi + 0x44d0], 0
jne 0x14002184b
movzx r14d, r13b
test r9b, r9b
je 0x140021802
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.14001baa0
test al, al
jne 0x14002181a
test dil, dil
je 0x14002184e
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.14001baa0
test al, al
je 0x14002184e
movzx r12d, r13b
jmp 0x140021851
mov byte [rbx + 0xdd], r15b
lea rbp, [rbx + 0x4a60]
lea r14, [rbx + 0x4916]
mov qword [rsp + 0x28], rbp
cmp qword [rbp], r15
jne 0x14002171c
xor al, al
jmp 0x140021725
xor r14b, r14b
xor r12b, r12b
movzx r9d, byte [rsp + 0x20]
test r9b, r9b
je 0x140021877
mov edx, 0x20d
mov rcx, rsi
call fcn.14001b2f0
cmp byte [rax], 0
je 0x140021877
cmp byte [rsi + 0x4044], 0
je 0x140021897
test dil, dil
je 0x1400218d1
mov edx, 0x26d
mov rcx, rsi
call fcn.14001b2f0
cmp byte [rax], 0
je 0x1400218d1
cmp byte [rsi + 0x44c4], 0
jne 0x1400218d1
movzx esi, r13b
test r9b, r9b
je 0x1400218b3
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.14001baa0
test al, al
jne 0x1400218cb
test dil, dil
je 0x1400218d4
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.14001baa0
test al, al
je 0x1400218d4
movzx ecx, r13b
jmp 0x1400218d6
xor sil, sil
xor cl, cl
mov eax, dword [rbx + 0x3f58]
test eax, eax
jne 0x1400218f8
test r12b, r12b
je 0x1400218fd
mov dword [rbx + 0x48e8], r15d
mov dword [rbx + 0x48f4], 2
jmp 0x1400218fd
cmp eax, r15d
jne 0x14002192d
test cl, cl
je 0x14002190f
mov dword [rbx + 0x48e8], r15d
mov dword [rbx + 0x48f4], r13d
test eax, eax
je 0x140021918
cmp eax, r15d
jne 0x14002192d
test r14b, r14b
jne 0x140021922
test sil, sil
je 0x140021929
mov dword [rbx + 0x48ec], r15d
test eax, eax
je 0x140021935
mov r14, rbp
cmp eax, r15d
jne 0x14002194b
test r12b, r12b
jne 0x140021941
mov r14, rbp
test cl, cl
je 0x14002194b
mov dword [rbx + 0x48f0], r15d
mov r14, rbp
mov r12d, dword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x14002196d
test dword [rax + 0x14], 0x40000
je 0x14002196d
mov byte [r14], r13b
mov eax, dword [rbx + 0x4904]
test eax, eax
je 0x140021995
mov dword [rbx + 0x48f0], eax
mov dword [rbx + 0x48ec], eax
mov dword [rbx + 0x48e8], eax
mov eax, dword [rbx + 0x4908]
mov dword [rbx + 0x48f4], eax
xor r15d, r15d
mov dword [rbx + 0x4904], r15d
call fcn.140021e80
cmp dword [rbx + 0x4960], 0xffffffff
mov rsi, qword [0x1400863e0]
vxorps xmm9, xmm9, xmm9
jne 0x140021b0c
mov r11, qword [rsi + 0x48d8]
test r11, r11
je 0x140021b0c
cmp qword [rsi + 0x4a60], r15
jne 0x140021b0c
test dword [r11 + 0x14], 0x40000
jne 0x140021b0c
mov edx, 0x200
mov rcx, rsi
call fcn.14001b2f0
cmp byte [rax], r15b
je 0x140021b0c
vmovss xmm0, dword [rax + 4]
vcomiss xmm0, xmm9
jb 0x140021b0c
vucomiss xmm0, xmm9
mov r10, rsi
je 0x140021a3e
vmovss xmm1, dword [rsi + 0x3c]
vcomiss xmm0, xmm1
jbe 0x140021b0c
vmovss xmm2, dword [rsi + 0x40]
mov ecx, 0x200
call fcn.14001b480
test eax, eax
jle 0x140021b0c
cmp byte [r10 + 0x476c], r15b
je 0x140021a55
cmp dword [r10 + 0x3f58], 0xffffffff
jne 0x140021b0c
cmp dword [r10 + 0x3fa0], 0xffffffff
jne 0x140021b0c
cmp byte [rsi + 0xe24], r15b
jne 0x140021b0c
cmp byte [rsi + 0xe26], r15b
jne 0x140021b0c
movzx eax, byte [rsi + 0xe25]
test byte [rsi + 8], r13b
je 0x140021ab5
test al, al
je 0x140021a9e
mov r13d, 0xffffffff
jmp 0x140021acf
mov rbp, rax
jmp 0x140021955
cmp byte [rsi + 0x4916], r13b
jne 0x140021acf
cmp dword [rsi + 0x3f58], r15d
jne 0x140021acf
mov r13d, r15d
jmp 0x140021acf
test al, al
je 0x140021ac1
mov r13d, 0xffffffff
jmp 0x140021acf
cmp dword [rsi + 0x3f58], r15d
mov r13d, r15d
setne r13b
mov dword [rsi + 0x4990], r13d
mov eax, 0x21
cmp byte [r11 + 0xbc], r15b
mov r9d, 3
mov r8d, 0x400
cmovne r9d, eax
sar r13d, 0x1f
lea ecx, [rax - 0x22]
lea edx, [r13 + 3]
call fcn.140020ae0
mov dword [rsi + 0x4994], 0xffffffff
mov r13, qword [rsp + 0x100]
cmp byte [rsi + 0x4951], r15b
jne 0x140021b2a
cmp byte [rsi + 0x4919], r15b
jne 0x140021b2a
xor al, al
jmp 0x140021b2c
mov al, 1
mov byte [rsi + 0x4918], al
mov r11, qword [rbx + 0x48d8]
mov byte [rbx + 0x4914], r15b
test r11, r11
je 0x140021ddd
test dword [r11 + 0x14], 0x40000
jne 0x140021ddd
cmp qword [rbp], r15
jne 0x140021ddd
mov rax, qword [r11]
vmovaps xmmword [rsp + 0xb0], xmm6
vmovss xmm0, dword [rax + 0x3c24]
mov rax, qword [r11 + 0x368]
vmulss xmm1, xmm0, dword [r11 + 0x290]
test rax, rax
je 0x140021b92
vmulss xmm1, xmm1, dword [rax + 0x290]
vmulss xmm0, xmm1, dword [0x1400778f0]
vmovss xmm1, dword [rbx + 0x18]
vfmadd213ss xmm1, xmm0, dword [0x14007775c]
mov ecx, dword [rbx + 0x4960]
vcvttss2si eax, xmm1
vxorps xmm6, xmm6, xmm6
vcvtsi2ss xmm6, xmm6, eax
cmp word [r11 + 0x15c], r15w
jne 0x140021c75
cmp byte [r11 + 0x162], r15b
je 0x140021c75
cmp ecx, 0xffffffff
je 0x140021c75
vxorps xmm3, xmm6, xmmword [0x140077c70]
cmp ecx, 1
ja 0x140021c2a
vmovd xmm1, r15d
vmovd xmm0, ecx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm0, xmm6, xmm3, xmm2
vaddss xmm1, xmm0, dword [r11 + 0x84]
vcvttss2si eax, xmm1
vxorps xmm2, xmm2, xmm2
vcvtsi2ss xmm2, xmm2, eax
vmovss dword [r11 + 0x94], xmm2
mov dword [r11 + 0x9c], r15d
mov dword [r11 + 0xa4], r15d
lea eax, [rcx - 2]
cmp eax, 1
ja 0x140021c75
mov eax, 2
mov dword [r11 + 0xa0], r15d
vmovd xmm1, eax
vmovd xmm0, ecx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm0, xmm6, xmm3, xmm2
vaddss xmm1, xmm0, dword [r11 + 0x88]
vcvttss2si eax, xmm1
vxorps xmm2, xmm2, xmm2
vcvtsi2ss xmm2, xmm2, eax
vmovss dword [r11 + 0x98], xmm2
mov dword [r11 + 0xa8], r15d
test dil, dil
je 0x140021dd4
vmovaps xmmword [rsp + 0xa0], xmm7
mov edx, 0x27b
mov rcx, rsi
vmovaps xmmword [rsp + 0x90], xmm8
call fcn.14001b2f0
mov edx, 0x27a
mov rcx, rsi
mov r10, rax
call fcn.14001b2f0
mov edx, 0x279
mov rcx, rsi
mov r9, rax
call fcn.14001b2f0
vmovss xmm0, dword [r9 + 0xc]
mov edx, 0x27c
mov rcx, rsi
vsubss xmm7, xmm0, dword [rax + 0xc]
call fcn.14001b2f0
mov edx, 0x273
mov rcx, rsi
vmovss xmm0, dword [rax + 0xc]
vsubss xmm8, xmm0, dword [r10 + 0xc]
call fcn.14001b2f0
cmp byte [rax], r15b
je 0x140021d05
cmp byte [rsi + 0x450c], r15b
jne 0x140021d05
vmovss xmm1, dword [0x14007770c]
jmp 0x140021d4b
mov edx, 0x274
mov rcx, rsi
call fcn.14001b2f0
cmp byte [rax], r15b
jne 0x140021d1b
xor al, al
jmp 0x140021d25
cmp byte [rsi + 0x4518], r15b
sete al
vmovss xmm2, dword [0x1400777ac]
vmovd xmm1, r15d
movzx eax, al
vmovd xmm0, eax
vpcmpeqd xmm3, xmm0, xmm1
vmovss xmm1, dword [0x1400778b0]
vblendvps xmm1, xmm1, xmm2, xmm3
vucomiss xmm7, xmm9
je 0x140021d8b
cmp byte [r11 + 0xb4], r15b
je 0x140021d8b
vmulss xmm0, xmm7, xmm6
vfmadd213ss xmm0, xmm1, dword [r11 + 0x84]
vcvttss2si eax, xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vmovss dword [r11 + 0x94], xmm0
mov dword [r11 + 0x9c], r15d
mov dword [r11 + 0xa4], r15d
vucomiss xmm8, xmm9
vmovaps xmm7, xmmword [rsp + 0xa0]
je 0x140021dcb
vmulss xmm0, xmm8, xmm6
vfmadd213ss xmm0, xmm1, dword [r11 + 0x88]
vcvttss2si eax, xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vmovss dword [r11 + 0x98], xmm0
mov dword [r11 + 0xa0], r15d
mov dword [r11 + 0xa8], r15d
vmovaps xmm8, xmmword [rsp + 0x90]
vmovaps xmm6, xmmword [rsp + 0xb0]
vmovaps xmm9, xmmword [rsp + 0x80]
mov rsi, qword [rsp + 0xf8]
mov rbp, qword [rsp + 0xf0]
cmp byte [rsp + 0x20], r15b
jne 0x140021e0f
test dil, dil
jne 0x140021e0f
mov byte [r14], 1
mov byte [rbx + 0x4917], r15b
jmp 0x140021e5a
test r12b, r12b
je 0x140021e5a
test byte [rbx + 8], 4
je 0x140021e5a
test byte [rbx + 0xc], 4
je 0x140021e5a
lea rcx, [rsp + 0x28]
call fcn.140020ff0
vmovss xmm0, dword [rax]
vmovss xmm1, dword [rax + 4]
vmovss dword [rbx + 0x36f0], xmm0
vmovss dword [rbx + 0x36f4], xmm1
vmovss dword [rbx + 0xe08], xmm0
vmovss dword [rbx + 0xe0c], xmm1
mov byte [rbx + 0xdb], 1
mov dword [rbx + 0x498c], r15d
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140066e80
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rbx
ret