Function at 0x140021ac0
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, 0x50
mov rax, qword [0x1400b0010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r11, qword [0x1400bcd20]
mov ebp, 3
mov rbx, r11
mov r13d, dword [r11 + 8]
mov byte [r11 + 0xd5], 0
test r13b, 2
je 0x140021b7d
test byte [r11 + 0xc], 1
je 0x140021b7d
movdqa xmm0, xmmword [0x14009a320]
lea r10, [rsp + 0x28]
movdqa xmm1, xmmword [0x14009a330]
mov r12b, 1
movdqu xmmword [rsp + 0x28], xmm0
movdqu xmmword [rsp + 0x38], xmm1
nop word [rax + rax]
mov r9d, dword [r10]
mov rcx, r11
mov edx, r9d
call fcn.14001bc70
cmp byte [rax], 0
je 0x140021b68
xor edx, edx
mov ecx, r9d
call fcn.14001e120
test al, al
je 0x140021b68
mov dword [r11 + 0x4904], ebp
add r10, 4
lea rax, [rsp + 0x48]
cmp r10, rax
jne 0x140021b40
movzx r13d, byte [r11 + 8]
jmp 0x140021b80
xor r12b, r12b
movdqa xmm0, xmmword [0x14009a310]
mov dword [rsp + 0x38], 0x201
mov dword [rsp + 0x3c], 0x203
mov dword [rsp + 0x40], 0x204
movdqu xmmword [rsp + 0x28], xmm0
and r13b, 1
je 0x140021beb
lea r10, [rsp + 0x28]
mov r9d, dword [r10]
mov rcx, r11
mov edx, r9d
call fcn.14001bc70
cmp byte [rax], 0
je 0x140021bdd
xor edx, edx
mov ecx, r9d
call fcn.14001e120
test al, al
je 0x140021bdd
mov dword [r11 + 0x4904], 2
add r10, 4
lea rax, [rsp + 0x44]
cmp r10, rax
jne 0x140021bb1
xor r15d, r15d
mov dword [r11 + 0x48f0], r15d
cmp dword [r11 + 0x4920], r15d
je 0x140021d22
mov r9, qword [r11 + 0x48d0]
mov rdi, r11
test r9, r9
je 0x140021d22
mov r10d, dword [r11 + 0x4920]
cmp dword [r11 + 0x48d8], r10d
je 0x140021c41
mov dword [r11 + 0x48f0], r10d
mov eax, dword [r11 + 0x4924]
mov dword [r11 + 0x48f4], eax
mov dword [r11 + 0x48f8], r15d
test byte [r11 + 0x5cec], 8
je 0x140021c73
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [r11 + 0x4908]
mov edx, r10d
call fcn.140026070
mov r10d, dword [rdi + 0x4920]
mov r11, qword [0x1400bcd20]
mov eax, dword [rdi + 0x4924]
movsxd rcx, dword [rdi + 0x4908]
mov dword [r11 + 0x48dc], eax
mov rdx, rcx
mov rax, qword [r11 + 0x48d0]
add rdx, rdx
mov dword [r11 + 0x4908], ecx
mov dword [r11 + 0x48d8], r10d
mov dword [rax + rcx*4 + 0x3a0], r10d
mov rax, qword [r11 + 0x48d0]
movups xmm0, xmmword [rdi + 0x4928]
movups xmmword [rax + rdx*8 + 0x3a8], xmm0
mov rax, qword [r11 + 0x48d0]
movsxd rdx, dword [r11 + 0x4908]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3c8], 0x7f7fffff
mov rax, qword [r11 + 0x48d0]
movsxd rdx, dword [r11 + 0x4908]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3cc], 0x7f7fffff
mov byte [rdi + 0x490c], 1
cmp byte [rdi + 0x4912], r15b
je 0x140021d22
mov word [r11 + 0x490d], 1
mov byte [r11 + 0x490f], 1
mov word [rbx + 0x4911], r15w
mov dword [rbx + 0x4920], r15d
cmp byte [rbx + 0x4948], r15b
je 0x140021d3f
call fcn.140022fd0
xor r14b, r14b
mov dword [rbx + 0x498c], r15d
mov esi, 1
mov word [rbx + 0x4948], r15w
mov dword [rsp + 0x20], r14d
cmp byte [rbx + 0x490d], r15b
je 0x140021d93
cmp byte [rbx + 0x490c], r15b
je 0x140021d93
cmp byte [rbx + 0x490e], r15b
jne 0x140021d93
cmp byte [rbx + 0x490f], r15b
je 0x140021d93
cmp qword [rbx + 0x48d0], r15
movzx r14d, r14b
cmovne r14d, esi
mov dword [rsp + 0x20], r14d
mov rcx, qword [rbx + 0x48d0]
mov byte [rbx + 0x490d], r15b
test rcx, rcx
je 0x140021ddc
mov rax, rcx
nop dword [rax]
cmp qword [rax + 0x378], rax
je 0x140021dd0
test dword [rax + 0x14], 0x14000000
jne 0x140021dd0
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140021db0
jmp 0x140021ddc
cmp rax, rcx
je 0x140021ddc
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48d0]
test rax, rax
je 0x140021e01
cmp qword [rax + 0x398], r15
je 0x140021e01
cmp dword [rbx + 0x4908], r15d
jne 0x140021e01
mov qword [rax + 0x398], r15
call fcn.140023f20
test r13b, r13b
jne 0x140021e14
test r12b, r12b
je 0x140021f4a
mov rax, qword [rbx + 0x48d0]
test rax, rax
je 0x140021f4a
test dword [rax + 0x14], 0x40000
jne 0x140021f4a
mov byte [rbx + 0xd7], sil
cmp dword [rbx + 0x48d8], r15d
je 0x140021f51
cmp byte [rbx + 0x490e], r15b
jne 0x140021f51
movzx eax, sil
mov byte [rbx + 0xd8], al
call fcn.140023470
mov edi, dword [rbx + 0x48d8]
mov qword [rbx + 0x48e4], r15
mov dword [rbx + 0x48e0], r15d
mov dword [rbx + 0x48ec], r15d
test edi, edi
je 0x140022066
cmp byte [rbx + 0x490e], r15b
jne 0x140022066
cmp qword [rbx + 0x4a58], r15
jne 0x140022066
mov rax, qword [rbx + 0x48d0]
test rax, rax
je 0x140022066
test dword [rax + 0x14], 0x40000
jne 0x140022066
mov rbp, qword [0x1400bcd20]
test r13b, r13b
je 0x140021ee9
mov edx, 0x20c
mov rcx, rbp
call fcn.14001bc70
cmp byte [rax], r15b
je 0x140021ee9
xor edx, edx
mov ecx, 0x20c
call fcn.14001e120
test al, al
jne 0x140021f10
test r12b, r12b
je 0x140021f65
mov edx, 0x26e
mov rcx, rbp
call fcn.14001bc70
cmp byte [rax], r15b
je 0x140021f65
xor edx, edx
mov ecx, 0x26e
call fcn.14001e120
test al, al
je 0x140021f65
movzx r15d, sil
test r13b, r13b
je 0x140021f2c
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.14001c3a0
test al, al
jne 0x140021f44
test r12b, r12b
je 0x140021f65
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.14001c3a0
test al, al
je 0x140021f65
movzx r14d, sil
jmp 0x140021f68
mov byte [rbx + 0xd7], r15b
cmp qword [rbx + 0x4a58], r15
jne 0x140021e52
xor al, al
jmp 0x140021e56
xor r14b, r14b
test r13b, r13b
je 0x140021f8f
mov edx, 0x20d
mov rcx, rbp
call fcn.14001bc70
cmp byte [rax], 0
je 0x140021f8f
xor edx, edx
mov ecx, 0x20d
call fcn.14001e120
test al, al
jne 0x140021fb6
test r12b, r12b
je 0x140021ff0
mov edx, 0x26d
mov rcx, rbp
call fcn.14001bc70
cmp byte [rax], 0
je 0x140021ff0
xor edx, edx
mov ecx, 0x26d
call fcn.14001e120
test al, al
je 0x140021ff0
movzx ebp, sil
test r13b, r13b
je 0x140021fd2
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.14001c3a0
test al, al
jne 0x140021fea
test r12b, r12b
je 0x140021ff3
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.14001c3a0
test al, al
je 0x140021ff3
movzx ecx, sil
jmp 0x140021ff5
xor bpl, bpl
xor cl, cl
mov eax, dword [rbx + 0x3f38]
test eax, eax
jne 0x140022016
test r14b, r14b
je 0x14002201a
mov dword [rbx + 0x48e0], edi
mov dword [rbx + 0x48ec], 2
jmp 0x14002201a
cmp eax, edi
jne 0x140022059
test cl, cl
je 0x14002202a
mov dword [rbx + 0x48e0], edi
mov dword [rbx + 0x48ec], esi
test eax, eax
je 0x140022032
cmp eax, edi
jne 0x140022059
test r15b, r15b
jne 0x14002203c
test bpl, bpl
je 0x140022042
mov dword [rbx + 0x48e4], edi
test eax, eax
je 0x14002204a
cmp eax, edi
jne 0x140022059
test r14b, r14b
jne 0x140022053
test cl, cl
je 0x140022059
mov dword [rbx + 0x48e8], edi
mov r14d, dword [rsp + 0x20]
mov ebp, 3
xor r15d, r15d
mov rax, qword [rbx + 0x48d0]
test rax, rax
je 0x140022082
test dword [rax + 0x14], 0x40000
je 0x140022082
mov byte [rbx + 0x490e], sil
mov eax, dword [rbx + 0x48fc]
test eax, eax
je 0x1400220aa
mov dword [rbx + 0x48e8], eax
mov dword [rbx + 0x48e4], eax
mov dword [rbx + 0x48e0], eax
mov eax, dword [rbx + 0x4900]
mov dword [rbx + 0x48ec], eax
mov dword [rbx + 0x48fc], r15d
call fcn.140022510
cmp dword [rbx + 0x4958], 0xffffffff
xorps xmm5, xmm5
mov rdi, qword [0x1400bcd20]
jne 0x1400221f5
mov r10, qword [rdi + 0x48d0]
test r10, r10
je 0x1400221f5
cmp qword [rdi + 0x4a58], 0
jne 0x1400221f5
test dword [r10 + 0x14], 0x40000
jne 0x1400221f5
mov edx, 0x200
mov rcx, rdi
call fcn.14001bc70
cmp byte [rax], 0
je 0x1400221f5
movss xmm0, dword [rax + 4]
comiss xmm5, xmm0
ja 0x1400221f5
ucomiss xmm0, xmm5
jp 0x140022124
je 0x140022149
movss xmm1, dword [rdi + 0x70]
comiss xmm0, xmm1
jbe 0x1400221f5
movss xmm2, dword [rdi + 0x74]
mov ecx, 0x200
call fcn.14001be40
test eax, eax
jle 0x1400221f5
mov edx, 0xffffffff
mov ecx, 0x200
call fcn.14001e120
test al, al
je 0x1400221f5
cmp byte [rdi + 0xe1c], 0
jne 0x1400221f5
cmp byte [rdi + 0xe1e], 0
jne 0x1400221f5
movzx eax, byte [rdi + 0xe1d]
test byte [rdi + 8], sil
je 0x1400221a5
test al, al
je 0x14002218e
mov esi, 0xffffffff
jmp 0x1400221be
cmp byte [rdi + 0x490e], sil
jne 0x1400221be
cmp dword [rdi + 0x3f38], 0
jne 0x1400221be
mov esi, r15d
jmp 0x1400221be
test al, al
je 0x1400221b0
mov esi, 0xffffffff
jmp 0x1400221be
cmp dword [rdi + 0x3f38], 0
mov esi, r15d
setne sil
mov dword [rdi + 0x4988], esi
mov eax, 0x21
cmp byte [r10 + 0xbc], 0
mov r8d, 0x1400
cmovne ebp, eax
sar esi, 0x1f
mov r9d, ebp
lea ecx, [rax - 0x22]
lea edx, [rsi + 3]
call fcn.1400212b0
mov dword [rdi + 0x498c], 0xffffffff
cmp byte [rdi + 0x4949], 0
jne 0x14002220b
cmp byte [rdi + 0x4911], 0
jne 0x14002220b
xor al, al
jmp 0x14002220d
mov al, 1
mov byte [rdi + 0x4910], al
mov r11, qword [rbx + 0x48d0]
mov byte [rbx + 0x490c], 0
test r11, r11
je 0x140022473
test dword [r11 + 0x14], 0x40000
jne 0x140022473
cmp qword [rbx + 0x4a58], 0
jne 0x140022473
mov rax, qword [r11]
movss xmm0, dword [rax + 0x3c14]
mov rax, qword [r11 + 0x368]
mulss xmm0, dword [r11 + 0x290]
test rax, rax
je 0x14002226e
mulss xmm0, dword [rax + 0x290]
cmp word [r11 + 0x15c], 0
mulss xmm0, dword [0x14009a1e4]
mov ecx, dword [rbx + 0x4958]
movss xmm2, dword [0x14009a0bc]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x14009a06c]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x140022346
cmp byte [r11 + 0x162], 0
je 0x140022346
cmp ecx, 0xffffffff
je 0x140022346
movss xmm1, dword [0x14009a244]
test ecx, ecx
je 0x1400222d8
cmp ecx, 1
jne 0x14002230a
movaps xmm0, xmm2
jmp 0x1400222db
movaps xmm0, xmm1
mulss xmm0, xmm3
mov dword [r11 + 0x9c], r15d
mov dword [r11 + 0xa4], r15d
addss xmm0, dword [r11 + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x94], xmm0
cmp ecx, 2
je 0x140022317
cmp ecx, 3
jne 0x140022346
movaps xmm1, xmm2
mulss xmm1, xmm3
mov dword [r11 + 0xa0], r15d
mov dword [r11 + 0xa8], r15d
addss xmm1, dword [r11 + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x98], xmm0
test r12b, r12b
je 0x140022473
mov edx, 0x27b
mov rcx, rdi
call fcn.14001bc70
mov edx, 0x27a
mov rcx, rdi
mov r10, rax
call fcn.14001bc70
mov edx, 0x279
mov rcx, rdi
mov r9, rax
call fcn.14001bc70
movss xmm0, dword [r9 + 0xc]
mov edx, 0x27c
mov rcx, rdi
subss xmm0, dword [rax + 0xc]
call fcn.14001bc70
mov edx, 0x273
mov rcx, rdi
movss xmm1, dword [rax + 0xc]
subss xmm1, dword [r10 + 0xc]
call fcn.14001bc70
cmp byte [rax], 0
je 0x1400223cb
xor edx, edx
mov ecx, 0x273
call fcn.14001e120
test al, al
je 0x1400223cb
movss xmm2, dword [0x14009a044]
jmp 0x1400223f5
mov edx, 0x274
mov rcx, rdi
call fcn.14001bc70
cmp byte [rax], 0
je 0x1400223f5
xor edx, edx
mov ecx, 0x274
call fcn.14001e120
test al, al
je 0x1400223f5
movss xmm2, dword [0x14009a184]
ucomiss xmm0, xmm5
jp 0x1400223fc
je 0x140022439
cmp byte [r11 + 0xb4], 0
je 0x140022439
mulss xmm0, xmm3
mov dword [r11 + 0x9c], r15d
mov dword [r11 + 0xa4], r15d
mulss xmm0, xmm2
addss xmm0, dword [r11 + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x94], xmm0
ucomiss xmm1, xmm5
jp 0x140022440
je 0x140022473
mulss xmm1, xmm3
mov dword [r11 + 0xa0], r15d
mov dword [r11 + 0xa8], r15d
mulss xmm1, xmm2
addss xmm1, dword [r11 + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x98], xmm0
test r13b, r13b
jne 0x140022488
test r12b, r12b
jne 0x140022488
mov word [rbx + 0x490e], 1
jmp 0x1400224d3
test r14b, r14b
je 0x1400224d3
test byte [rbx + 8], 4
je 0x1400224d3
test byte [rbx + 0xc], 4
je 0x1400224d3
lea rcx, [rsp + 0x20]
call fcn.1400217b0
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x36e8], xmm0
movss dword [rbx + 0x36ec], xmm1
movss dword [rbx + 0xe00], xmm0
movss dword [rbx + 0xe04], xmm1
mov byte [rbx + 0xd5], 1
mov dword [rbx + 0x4984], r15d
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14008a4a0
lea r11, [rsp + 0x50]
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