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

Disassembly:
mov r11, rsp
push rbx
push r12
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x140084010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [r11 + 8], rbp
mov qword [r11 + 0x10], rsi
mov esi, 3
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x28], r13
vmovaps xmmword [r11 - 0x68], xmm9
mov r11, qword [0x140085eb0]
mov rbx, r11
mov r13d, dword [r11 + 8]
mov byte [r11 + 0xdb], 0
test r13b, 2
je 0x1400223f4
test byte [r11 + 0xc], 1
je 0x1400223f4
vmovdqu ymm0, ymmword [0x140076e40]
vmovdqu ymmword [rsp + 0x28], ymm0
lea r10, [rsp + 0x28]
mov r12b, 1
mov r9d, dword [r10]
mov rcx, r11
mov edx, r9d
vzeroupper
call fcn.14001c370
cmp byte [rax], 0
je 0x1400223df
xor edx, edx
mov ecx, r9d
call fcn.14001e840
test al, al
je 0x1400223df
mov dword [r11 + 0x490c], esi
add r10, 4
lea rax, [rsp + 0x48]
cmp r10, rax
jne 0x1400223b4
movzx r13d, byte [r11 + 8]
jmp 0x1400223f7
xor r12b, r12b
mov dword [rsp + 0x38], 0x201
mov edi, 2
mov dword [rsp + 0x3c], 0x203
mov dword [rsp + 0x40], 0x204
vmovdqu xmm0, xmmword [0x140076c00]
vmovdqu xmmword [rsp + 0x28], xmm0
and r13b, 1
je 0x140022466
lea r10, [rsp + 0x28]
nop dword [rax]
mov r9d, dword [r10]
mov rcx, r11
mov edx, r9d
call fcn.14001c370
cmp byte [rax], 0
je 0x140022458
xor edx, edx
mov ecx, r9d
call fcn.14001e840
test al, al
je 0x140022458
mov dword [r11 + 0x490c], edi
add r10, 4
lea rax, [rsp + 0x44]
cmp r10, rax
jne 0x140022430
xor r15d, r15d
mov dword [r11 + 0x48f8], r15d
cmp dword [r11 + 0x4928], r15d
je 0x14002259f
mov r9, qword [r11 + 0x48d8]
mov rdi, r11
test r9, r9
je 0x14002259f
mov r10d, dword [r11 + 0x4928]
cmp dword [r11 + 0x48e0], r10d
je 0x1400224bc
mov dword [r11 + 0x48f8], r10d
mov eax, dword [r11 + 0x492c]
mov dword [r11 + 0x48fc], eax
mov dword [r11 + 0x4900], r15d
test byte [r11 + 0x5ce4], 8
je 0x1400224ee
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]
mov edx, r10d
call fcn.140026e20
mov r10d, dword [rdi + 0x4928]
mov r11, qword [0x140085eb0]
mov eax, dword [rdi + 0x492c]
movsxd rcx, dword [rdi + 0x4910]
mov dword [r11 + 0x48e4], eax
mov rdx, rcx
mov rax, qword [r11 + 0x48d8]
add rdx, rdx
mov dword [r11 + 0x4910], ecx
mov dword [r11 + 0x48e0], r10d
mov dword [rax + rcx*4 + 0x3a0], r10d
mov rax, qword [r11 + 0x48d8]
vmovups xmm0, xmmword [rdi + 0x4930]
vmovups xmmword [rax + rdx*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 [rdi + 0x4914], 1
cmp byte [rdi + 0x491a], r15b
je 0x14002259f
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 0x1400225bc
call fcn.140023860
xor r14b, r14b
mov dword [rbx + 0x4994], r15d
mov ebp, 1
mov word [rbx + 0x4950], r15w
mov dword [rsp + 0x20], r14d
cmp byte [rbx + 0x4915], r15b
je 0x140022610
cmp byte [rbx + 0x4914], r15b
je 0x140022610
cmp byte [rbx + 0x4916], r15b
jne 0x140022610
cmp byte [rbx + 0x4917], r15b
je 0x140022610
cmp qword [rbx + 0x48d8], r15
movzx r14d, r14b
cmovne r14d, ebp
mov dword [rsp + 0x20], r14d
mov rcx, qword [rbx + 0x48d8]
mov byte [rbx + 0x4915], r15b
test rcx, rcx
je 0x140022652
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x140022646
test dword [rax + 0x14], 0x14000000
jne 0x140022646
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140022626
jmp 0x140022652
cmp rax, rcx
je 0x140022652
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x140022677
cmp qword [rax + 0x398], r15
je 0x140022677
cmp dword [rbx + 0x4910], r15d
jne 0x140022677
mov qword [rax + 0x398], r15
call fcn.1400247b0
test r13b, r13b
jne 0x14002268a
test r12b, r12b
je 0x1400227c0
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x1400227c0
test dword [rax + 0x14], 0x40000
jne 0x1400227c0
mov byte [rbx + 0xdd], bpl
cmp dword [rbx + 0x48e0], r15d
je 0x1400227c7
cmp byte [rbx + 0x4916], r15b
jne 0x1400227c7
movzx eax, bpl
mov byte [rbx + 0xde], al
call fcn.140023ce0
mov edi, dword [rbx + 0x48e0]
mov qword [rbx + 0x48ec], r15
mov dword [rbx + 0x48e8], r15d
mov dword [rbx + 0x48f4], r15d
test edi, edi
je 0x1400228dc
cmp byte [rbx + 0x4916], r15b
jne 0x1400228dc
cmp qword [rbx + 0x4a60], r15
jne 0x1400228dc
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x1400228dc
test dword [rax + 0x14], 0x40000
jne 0x1400228dc
mov rsi, qword [0x140085eb0]
test r13b, r13b
je 0x14002275f
mov edx, 0x20c
mov rcx, rsi
call fcn.14001c370
cmp byte [rax], r15b
je 0x14002275f
xor edx, edx
mov ecx, 0x20c
call fcn.14001e840
test al, al
jne 0x140022786
test r12b, r12b
je 0x1400227db
mov edx, 0x26e
mov rcx, rsi
call fcn.14001c370
cmp byte [rax], r15b
je 0x1400227db
xor edx, edx
mov ecx, 0x26e
call fcn.14001e840
test al, al
je 0x1400227db
movzx r15d, bpl
test r13b, r13b
je 0x1400227a2
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.14001cae0
test al, al
jne 0x1400227ba
test r12b, r12b
je 0x1400227db
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.14001cae0
test al, al
je 0x1400227db
movzx r14d, bpl
jmp 0x1400227de
mov byte [rbx + 0xdd], r15b
cmp qword [rbx + 0x4a60], r15
jne 0x1400226c8
xor al, al
jmp 0x1400226cc
xor r14b, r14b
test r13b, r13b
je 0x140022805
mov edx, 0x20d
mov rcx, rsi
call fcn.14001c370
cmp byte [rax], 0
je 0x140022805
xor edx, edx
mov ecx, 0x20d
call fcn.14001e840
test al, al
jne 0x14002282c
test r12b, r12b
je 0x140022866
mov edx, 0x26d
mov rcx, rsi
call fcn.14001c370
cmp byte [rax], 0
je 0x140022866
xor edx, edx
mov ecx, 0x26d
call fcn.14001e840
test al, al
je 0x140022866
movzx esi, bpl
test r13b, r13b
je 0x140022848
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.14001cae0
test al, al
jne 0x140022860
test r12b, r12b
je 0x140022869
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.14001cae0
test al, al
je 0x140022869
movzx ecx, bpl
jmp 0x14002286b
xor sil, sil
xor cl, cl
mov eax, dword [rbx + 0x3f58]
test eax, eax
jne 0x14002288c
test r14b, r14b
je 0x140022890
mov dword [rbx + 0x48e8], edi
mov dword [rbx + 0x48f4], 2
jmp 0x140022890
cmp eax, edi
jne 0x1400228cf
test cl, cl
je 0x1400228a0
mov dword [rbx + 0x48e8], edi
mov dword [rbx + 0x48f4], ebp
test eax, eax
je 0x1400228a8
cmp eax, edi
jne 0x1400228cf
test r15b, r15b
jne 0x1400228b2
test sil, sil
je 0x1400228b8
mov dword [rbx + 0x48ec], edi
test eax, eax
je 0x1400228c0
cmp eax, edi
jne 0x1400228cf
test r14b, r14b
jne 0x1400228c9
test cl, cl
je 0x1400228cf
mov dword [rbx + 0x48f0], edi
mov r14d, dword [rsp + 0x20]
mov esi, 3
xor r15d, r15d
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x1400228f8
test dword [rax + 0x14], 0x40000
je 0x1400228f8
mov byte [rbx + 0x4916], bpl
mov eax, dword [rbx + 0x4904]
test eax, eax
je 0x140022920
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
mov dword [rbx + 0x4904], r15d
call fcn.140022e00
cmp dword [rbx + 0x4960], 0xffffffff
mov rdi, qword [0x140085eb0]
vxorps xmm9, xmm9, xmm9
jne 0x140022a74
mov r10, qword [rdi + 0x48d8]
test r10, r10
je 0x140022a74
cmp qword [rdi + 0x4a60], 0
jne 0x140022a74
test dword [r10 + 0x14], 0x40000
jne 0x140022a74
mov edx, 0x200
mov rcx, rdi
call fcn.14001c370
cmp byte [rax], 0
je 0x140022a74
vmovss xmm0, dword [rax + 4]
vcomiss xmm0, xmm9
jb 0x140022a74
vucomiss xmm0, xmm9
je 0x1400229c4
vmovss xmm1, dword [rdi + 0x3c]
vcomiss xmm0, xmm1
jbe 0x140022a74
vmovss xmm2, dword [rdi + 0x40]
mov ecx, 0x200
call fcn.14001c540
test eax, eax
jle 0x140022a74
mov edx, 0xffffffff
mov ecx, 0x200
call fcn.14001e840
test al, al
je 0x140022a74
cmp byte [rdi + 0xe24], 0
jne 0x140022a74
cmp byte [rdi + 0xe26], 0
jne 0x140022a74
movzx eax, byte [rdi + 0xe25]
test byte [rdi + 8], bpl
je 0x140022a24
test al, al
je 0x140022a0d
mov ebp, 0xffffffff
jmp 0x140022a3d
cmp byte [rdi + 0x4916], bpl
jne 0x140022a3d
cmp dword [rdi + 0x3f58], 0
jne 0x140022a3d
mov ebp, r15d
jmp 0x140022a3d
test al, al
je 0x140022a2f
mov ebp, 0xffffffff
jmp 0x140022a3d
cmp dword [rdi + 0x3f58], 0
mov ebp, r15d
setne bpl
mov dword [rdi + 0x4990], ebp
mov eax, 0x21
cmp byte [r10 + 0xbc], 0
mov r8d, 0x400
cmovne esi, eax
sar ebp, 0x1f
mov r9d, esi
lea ecx, [rax - 0x22]
lea edx, [rbp + 3]
call fcn.140021b00
mov dword [rdi + 0x4994], 0xffffffff
cmp byte [rdi + 0x4951], 0
mov rsi, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xc0]
jne 0x140022a9a
cmp byte [rdi + 0x4919], 0
jne 0x140022a9a
xor al, al
jmp 0x140022a9c
mov al, 1
mov byte [rdi + 0x4918], al
mov r11, qword [rbx + 0x48d8]
mov byte [rbx + 0x4914], 0
test r11, r11
je 0x140022d5e
test dword [r11 + 0x14], 0x40000
jne 0x140022d5e
cmp qword [rbx + 0x4a60], 0
jne 0x140022d5e
mov rax, qword [r11]
vmovaps xmmword [rsp + 0x80], xmm6
vmovss xmm0, dword [rax + 0x3c24]
mov rax, qword [r11 + 0x368]
vmulss xmm1, xmm0, dword [r11 + 0x290]
test rax, rax
je 0x140022b06
vmulss xmm1, xmm1, dword [rax + 0x290]
cmp word [r11 + 0x15c], 0
vmulss xmm0, xmm1, dword [0x140076a54]
vmovss xmm1, dword [rbx + 0x18]
vfmadd213ss xmm1, xmm0, dword [0x1400768b0]
mov ecx, dword [rbx + 0x4960]
vcvttss2si eax, xmm1
vxorps xmm6, xmm6, xmm6
vcvtsi2ss xmm6, xmm6, eax
jne 0x140022bf3
cmp byte [r11 + 0x162], 0
je 0x140022bf3
cmp ecx, 0xffffffff
je 0x140022bf3
vmovss xmm4, dword [0x140076dd0]
cmp ecx, 1
ja 0x140022ba4
vmovd xmm1, r15d
vmovd xmm0, ecx
vpcmpeqd xmm2, xmm0, xmm1
vxorps xmm3, xmm6, xmm4
vblendvps xmm1, xmm6, xmm3, xmm2
vaddss xmm0, xmm1, dword [r11 + 0x84]
vcvttss2si eax, xmm0
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 0x140022bf3
mov eax, 2
mov dword [r11 + 0xa0], r15d
vmovd xmm1, eax
vmovd xmm0, ecx
vpcmpeqd xmm2, xmm0, xmm1
vxorps xmm3, xmm6, xmm4
vblendvps xmm1, xmm6, xmm3, xmm2
vaddss xmm0, xmm1, dword [r11 + 0x88]
vcvttss2si eax, xmm0
vxorps xmm2, xmm2, xmm2
vcvtsi2ss xmm2, xmm2, eax
vmovss dword [r11 + 0x98], xmm2
mov dword [r11 + 0xa8], r15d
test r12b, r12b
je 0x140022d55
vmovaps xmmword [rsp + 0x70], xmm7
mov edx, 0x27c
mov rcx, rdi
vmovaps xmmword [rsp + 0x60], xmm8
call fcn.14001c370
mov edx, 0x27a
mov rcx, rdi
mov r10, rax
call fcn.14001c370
mov edx, 0x279
mov rcx, rdi
mov r9, rax
call fcn.14001c370
vmovss xmm0, dword [r9 + 0xc]
mov edx, 0x27b
mov rcx, rdi
vsubss xmm7, xmm0, dword [rax + 0xc]
call fcn.14001c370
vmovss xmm0, dword [r10 + 0xc]
mov edx, 0x273
mov rcx, rdi
vsubss xmm8, xmm0, dword [rax + 0xc]
call fcn.14001c370
cmp byte [rax], 0
je 0x140022c84
xor edx, edx
mov ecx, 0x273
call fcn.14001e840
test al, al
je 0x140022c84
vmovss xmm1, dword [0x140076860]
jmp 0x140022cd1
mov edx, 0x274
mov rcx, rdi
call fcn.14001c370
cmp byte [rax], 0
jne 0x140022c9a
xor al, al
jmp 0x140022cab
xor edx, edx
mov ecx, 0x274
call fcn.14001e840
test al, al
setne al
vmovss xmm2, dword [0x140076900]
vmovd xmm1, r15d
movzx eax, al
vmovd xmm0, eax
vpcmpeqd xmm3, xmm0, xmm1
vmovss xmm1, dword [0x140076a0c]
vblendvps xmm1, xmm1, xmm2, xmm3
vucomiss xmm7, xmm9
je 0x140022d12
cmp byte [r11 + 0xb4], 0
je 0x140022d12
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 + 0x70]
je 0x140022d4f
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 + 0x60]
vmovaps xmm6, xmmword [rsp + 0x80]
vmovaps xmm9, xmmword [rsp + 0x50]
test r13b, r13b
mov r13, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xd0]
jne 0x140022d89
test r12b, r12b
jne 0x140022d89
mov word [rbx + 0x4916], 1
jmp 0x140022dd4
test r14b, r14b
je 0x140022dd4
test byte [rbx + 8], 4
je 0x140022dd4
test byte [rbx + 0xc], 4
je 0x140022dd4
lea rcx, [rsp + 0x20]
call fcn.140022010
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 + 0x48]
xor rcx, rsp
call fcn.140065f10
add rsp, 0x98
pop r15
pop r14
pop r12
pop rbx
ret