Function at 0x140021c20
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 [0x140085ee0]
mov rbx, r11
mov r13d, dword [r11 + 8]
mov byte [r11 + 0xdb], 0
test r13b, 2
je 0x140021cd4
test byte [r11 + 0xc], 1
je 0x140021cd4
vmovdqu ymm0, ymmword [0x140076e20]
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.14001bc50
cmp byte [rax], 0
je 0x140021cbf
xor edx, edx
mov ecx, r9d
call fcn.14001e120
test al, al
je 0x140021cbf
mov dword [r11 + 0x490c], esi
add r10, 4
lea rax, [rsp + 0x48]
cmp r10, rax
jne 0x140021c94
movzx r13d, byte [r11 + 8]
jmp 0x140021cd7
xor r12b, r12b
mov dword [rsp + 0x38], 0x201
mov edi, 2
mov dword [rsp + 0x3c], 0x203
mov dword [rsp + 0x40], 0x204
vmovdqu xmm0, xmmword [0x140076bf0]
vmovdqu xmmword [rsp + 0x28], xmm0
and r13b, 1
je 0x140021d46
lea r10, [rsp + 0x28]
nop dword [rax]
mov r9d, dword [r10]
mov rcx, r11
mov edx, r9d
call fcn.14001bc50
cmp byte [rax], 0
je 0x140021d38
xor edx, edx
mov ecx, r9d
call fcn.14001e120
test al, al
je 0x140021d38
mov dword [r11 + 0x490c], edi
add r10, 4
lea rax, [rsp + 0x44]
cmp r10, rax
jne 0x140021d10
xor r15d, r15d
mov dword [r11 + 0x48f8], r15d
cmp dword [r11 + 0x4928], r15d
je 0x140021e7f
mov r9, qword [r11 + 0x48d8]
mov rdi, r11
test r9, r9
je 0x140021e7f
mov r10d, dword [r11 + 0x4928]
cmp dword [r11 + 0x48e0], r10d
je 0x140021d9c
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 0x140021dce
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.140026700
mov r10d, dword [rdi + 0x4928]
mov r11, qword [0x140085ee0]
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 0x140021e7f
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 0x140021e9c
call fcn.140023140
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 0x140021ef0
cmp byte [rbx + 0x4914], r15b
je 0x140021ef0
cmp byte [rbx + 0x4916], r15b
jne 0x140021ef0
cmp byte [rbx + 0x4917], r15b
je 0x140021ef0
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 0x140021f32
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x140021f26
test dword [rax + 0x14], 0x14000000
jne 0x140021f26
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140021f06
jmp 0x140021f32
cmp rax, rcx
je 0x140021f32
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x140021f57
cmp qword [rax + 0x398], r15
je 0x140021f57
cmp dword [rbx + 0x4910], r15d
jne 0x140021f57
mov qword [rax + 0x398], r15
call fcn.140024090
test r13b, r13b
jne 0x140021f6a
test r12b, r12b
je 0x1400220a0
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x1400220a0
test dword [rax + 0x14], 0x40000
jne 0x1400220a0
mov byte [rbx + 0xdd], bpl
cmp dword [rbx + 0x48e0], r15d
je 0x1400220a7
cmp byte [rbx + 0x4916], r15b
jne 0x1400220a7
movzx eax, bpl
mov byte [rbx + 0xde], al
call fcn.1400235c0
mov edi, dword [rbx + 0x48e0]
mov qword [rbx + 0x48ec], r15
mov dword [rbx + 0x48e8], r15d
mov dword [rbx + 0x48f4], r15d
test edi, edi
je 0x1400221bc
cmp byte [rbx + 0x4916], r15b
jne 0x1400221bc
cmp qword [rbx + 0x4a60], r15
jne 0x1400221bc
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x1400221bc
test dword [rax + 0x14], 0x40000
jne 0x1400221bc
mov rsi, qword [0x140085ee0]
test r13b, r13b
je 0x14002203f
mov edx, 0x20c
mov rcx, rsi
call fcn.14001bc50
cmp byte [rax], r15b
je 0x14002203f
xor edx, edx
mov ecx, 0x20c
call fcn.14001e120
test al, al
jne 0x140022066
test r12b, r12b
je 0x1400220bb
mov edx, 0x26e
mov rcx, rsi
call fcn.14001bc50
cmp byte [rax], r15b
je 0x1400220bb
xor edx, edx
mov ecx, 0x26e
call fcn.14001e120
test al, al
je 0x1400220bb
movzx r15d, bpl
test r13b, r13b
je 0x140022082
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.14001c3c0
test al, al
jne 0x14002209a
test r12b, r12b
je 0x1400220bb
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.14001c3c0
test al, al
je 0x1400220bb
movzx r14d, bpl
jmp 0x1400220be
mov byte [rbx + 0xdd], r15b
cmp qword [rbx + 0x4a60], r15
jne 0x140021fa8
xor al, al
jmp 0x140021fac
xor r14b, r14b
test r13b, r13b
je 0x1400220e5
mov edx, 0x20d
mov rcx, rsi
call fcn.14001bc50
cmp byte [rax], 0
je 0x1400220e5
xor edx, edx
mov ecx, 0x20d
call fcn.14001e120
test al, al
jne 0x14002210c
test r12b, r12b
je 0x140022146
mov edx, 0x26d
mov rcx, rsi
call fcn.14001bc50
cmp byte [rax], 0
je 0x140022146
xor edx, edx
mov ecx, 0x26d
call fcn.14001e120
test al, al
je 0x140022146
movzx esi, bpl
test r13b, r13b
je 0x140022128
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.14001c3c0
test al, al
jne 0x140022140
test r12b, r12b
je 0x140022149
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.14001c3c0
test al, al
je 0x140022149
movzx ecx, bpl
jmp 0x14002214b
xor sil, sil
xor cl, cl
mov eax, dword [rbx + 0x3f58]
test eax, eax
jne 0x14002216c
test r14b, r14b
je 0x140022170
mov dword [rbx + 0x48e8], edi
mov dword [rbx + 0x48f4], 2
jmp 0x140022170
cmp eax, edi
jne 0x1400221af
test cl, cl
je 0x140022180
mov dword [rbx + 0x48e8], edi
mov dword [rbx + 0x48f4], ebp
test eax, eax
je 0x140022188
cmp eax, edi
jne 0x1400221af
test r15b, r15b
jne 0x140022192
test sil, sil
je 0x140022198
mov dword [rbx + 0x48ec], edi
test eax, eax
je 0x1400221a0
cmp eax, edi
jne 0x1400221af
test r14b, r14b
jne 0x1400221a9
test cl, cl
je 0x1400221af
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 0x1400221d8
test dword [rax + 0x14], 0x40000
je 0x1400221d8
mov byte [rbx + 0x4916], bpl
mov eax, dword [rbx + 0x4904]
test eax, eax
je 0x140022200
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.1400226e0
cmp dword [rbx + 0x4960], 0xffffffff
mov rdi, qword [0x140085ee0]
vxorps xmm9, xmm9, xmm9
jne 0x140022354
mov r10, qword [rdi + 0x48d8]
test r10, r10
je 0x140022354
cmp qword [rdi + 0x4a60], 0
jne 0x140022354
test dword [r10 + 0x14], 0x40000
jne 0x140022354
mov edx, 0x200
mov rcx, rdi
call fcn.14001bc50
cmp byte [rax], 0
je 0x140022354
vmovss xmm0, dword [rax + 4]
vcomiss xmm0, xmm9
jb 0x140022354
vucomiss xmm0, xmm9
je 0x1400222a4
vmovss xmm1, dword [rdi + 0x3c]
vcomiss xmm0, xmm1
jbe 0x140022354
vmovss xmm2, dword [rdi + 0x40]
mov ecx, 0x200
call fcn.14001be20
test eax, eax
jle 0x140022354
mov edx, 0xffffffff
mov ecx, 0x200
call fcn.14001e120
test al, al
je 0x140022354
cmp byte [rdi + 0xe24], 0
jne 0x140022354
cmp byte [rdi + 0xe26], 0
jne 0x140022354
movzx eax, byte [rdi + 0xe25]
test byte [rdi + 8], bpl
je 0x140022304
test al, al
je 0x1400222ed
mov ebp, 0xffffffff
jmp 0x14002231d
cmp byte [rdi + 0x4916], bpl
jne 0x14002231d
cmp dword [rdi + 0x3f58], 0
jne 0x14002231d
mov ebp, r15d
jmp 0x14002231d
test al, al
je 0x14002230f
mov ebp, 0xffffffff
jmp 0x14002231d
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.1400213e0
mov dword [rdi + 0x4994], 0xffffffff
cmp byte [rdi + 0x4951], 0
mov rsi, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xc0]
jne 0x14002237a
cmp byte [rdi + 0x4919], 0
jne 0x14002237a
xor al, al
jmp 0x14002237c
mov al, 1
mov byte [rdi + 0x4918], al
mov r11, qword [rbx + 0x48d8]
mov byte [rbx + 0x4914], 0
test r11, r11
je 0x14002263e
test dword [r11 + 0x14], 0x40000
jne 0x14002263e
cmp qword [rbx + 0x4a60], 0
jne 0x14002263e
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 0x1400223e6
vmulss xmm1, xmm1, dword [rax + 0x290]
cmp word [r11 + 0x15c], 0
vmulss xmm0, xmm1, dword [0x140076a60]
vmovss xmm1, dword [rbx + 0x18]
vfmadd213ss xmm1, xmm0, dword [0x1400768d0]
mov ecx, dword [rbx + 0x4960]
vcvttss2si eax, xmm1
vxorps xmm6, xmm6, xmm6
vcvtsi2ss xmm6, xmm6, eax
jne 0x1400224d3
cmp byte [r11 + 0x162], 0
je 0x1400224d3
cmp ecx, 0xffffffff
je 0x1400224d3
vmovss xmm4, dword [0x140076db0]
cmp ecx, 1
ja 0x140022484
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 0x1400224d3
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 0x140022635
vmovaps xmmword [rsp + 0x70], xmm7
mov edx, 0x27c
mov rcx, rdi
vmovaps xmmword [rsp + 0x60], xmm8
call fcn.14001bc50
mov edx, 0x27a
mov rcx, rdi
mov r10, rax
call fcn.14001bc50
mov edx, 0x279
mov rcx, rdi
mov r9, rax
call fcn.14001bc50
vmovss xmm0, dword [r9 + 0xc]
mov edx, 0x27b
mov rcx, rdi
vsubss xmm7, xmm0, dword [rax + 0xc]
call fcn.14001bc50
vmovss xmm0, dword [r10 + 0xc]
mov edx, 0x273
mov rcx, rdi
vsubss xmm8, xmm0, dword [rax + 0xc]
call fcn.14001bc50
cmp byte [rax], 0
je 0x140022564
xor edx, edx
mov ecx, 0x273
call fcn.14001e120
test al, al
je 0x140022564
vmovss xmm1, dword [0x140076880]
jmp 0x1400225b1
mov edx, 0x274
mov rcx, rdi
call fcn.14001bc50
cmp byte [rax], 0
jne 0x14002257a
xor al, al
jmp 0x14002258b
xor edx, edx
mov ecx, 0x274
call fcn.14001e120
test al, al
setne al
vmovss xmm2, dword [0x140076920]
vmovd xmm1, r15d
movzx eax, al
vmovd xmm0, eax
vpcmpeqd xmm3, xmm0, xmm1
vmovss xmm1, dword [0x140076a1c]
vblendvps xmm1, xmm1, xmm2, xmm3
vucomiss xmm7, xmm9
je 0x1400225f2
cmp byte [r11 + 0xb4], 0
je 0x1400225f2
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 0x14002262f
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 0x140022669
test r12b, r12b
jne 0x140022669
mov word [rbx + 0x4916], 1
jmp 0x1400226b4
test r14b, r14b
je 0x1400226b4
test byte [rbx + 8], 4
je 0x1400226b4
test byte [rbx + 0xc], 4
je 0x1400226b4
lea rcx, [rsp + 0x20]
call fcn.1400218f0
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.1400658f0
add rsp, 0x98
pop r15
pop r14
pop r12
pop rbx
ret