Function at 0x140021b70
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 [0x1400ad010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r11, qword [0x1400b80b8]
mov ebp, 3
mov rbx, r11
mov r13d, dword [r11 + 8]
mov byte [r11 + 0xd5], 0
test r13b, 2
je 0x140021c2d
test byte [r11 + 0xc], 1
je 0x140021c2d
movdqa xmm0, xmmword [0x140098050]
lea r10, [rsp + 0x28]
movdqa xmm1, xmmword [0x140098060]
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.14001bd20
cmp byte [rax], 0
je 0x140021c18
xor edx, edx
mov ecx, r9d
call fcn.14001e1d0
test al, al
je 0x140021c18
mov dword [r11 + 0x4904], ebp
add r10, 4
lea rax, [rsp + 0x48]
cmp r10, rax
jne 0x140021bf0
movzx r13d, byte [r11 + 8]
jmp 0x140021c30
xor r12b, r12b
movdqa xmm0, xmmword [0x140098040]
mov dword [rsp + 0x38], 0x201
mov dword [rsp + 0x3c], 0x203
mov dword [rsp + 0x40], 0x204
movdqu xmmword [rsp + 0x28], xmm0
and r13b, 1
je 0x140021c9b
lea r10, [rsp + 0x28]
mov r9d, dword [r10]
mov rcx, r11
mov edx, r9d
call fcn.14001bd20
cmp byte [rax], 0
je 0x140021c8d
xor edx, edx
mov ecx, r9d
call fcn.14001e1d0
test al, al
je 0x140021c8d
mov dword [r11 + 0x4904], 2
add r10, 4
lea rax, [rsp + 0x44]
cmp r10, rax
jne 0x140021c61
xor r15d, r15d
mov dword [r11 + 0x48f0], r15d
cmp dword [r11 + 0x4920], r15d
je 0x140021dd2
mov r9, qword [r11 + 0x48d0]
mov rdi, r11
test r9, r9
je 0x140021dd2
mov r10d, dword [r11 + 0x4920]
cmp dword [r11 + 0x48d8], r10d
je 0x140021cf1
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 0x140021d23
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.140026120
mov r10d, dword [rdi + 0x4920]
mov r11, qword [0x1400b80b8]
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 0x140021dd2
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 0x140021def
call fcn.140023080
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 0x140021e43
cmp byte [rbx + 0x490c], r15b
je 0x140021e43
cmp byte [rbx + 0x490e], r15b
jne 0x140021e43
cmp byte [rbx + 0x490f], r15b
je 0x140021e43
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 0x140021e8c
mov rax, rcx
nop dword [rax]
cmp qword [rax + 0x378], rax
je 0x140021e80
test dword [rax + 0x14], 0x14000000
jne 0x140021e80
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140021e60
jmp 0x140021e8c
cmp rax, rcx
je 0x140021e8c
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48d0]
test rax, rax
je 0x140021eb1
cmp qword [rax + 0x398], r15
je 0x140021eb1
cmp dword [rbx + 0x4908], r15d
jne 0x140021eb1
mov qword [rax + 0x398], r15
call fcn.140023fd0
test r13b, r13b
jne 0x140021ec4
test r12b, r12b
je 0x140021ffa
mov rax, qword [rbx + 0x48d0]
test rax, rax
je 0x140021ffa
test dword [rax + 0x14], 0x40000
jne 0x140021ffa
mov byte [rbx + 0xd7], sil
cmp dword [rbx + 0x48d8], r15d
je 0x140022001
cmp byte [rbx + 0x490e], r15b
jne 0x140022001
movzx eax, sil
mov byte [rbx + 0xd8], al
call fcn.140023520
mov edi, dword [rbx + 0x48d8]
mov qword [rbx + 0x48e4], r15
mov dword [rbx + 0x48e0], r15d
mov dword [rbx + 0x48ec], r15d
test edi, edi
je 0x140022116
cmp byte [rbx + 0x490e], r15b
jne 0x140022116
cmp qword [rbx + 0x4a58], r15
jne 0x140022116
mov rax, qword [rbx + 0x48d0]
test rax, rax
je 0x140022116
test dword [rax + 0x14], 0x40000
jne 0x140022116
mov rbp, qword [0x1400b80b8]
test r13b, r13b
je 0x140021f99
mov edx, 0x20c
mov rcx, rbp
call fcn.14001bd20
cmp byte [rax], r15b
je 0x140021f99
xor edx, edx
mov ecx, 0x20c
call fcn.14001e1d0
test al, al
jne 0x140021fc0
test r12b, r12b
je 0x140022015
mov edx, 0x26e
mov rcx, rbp
call fcn.14001bd20
cmp byte [rax], r15b
je 0x140022015
xor edx, edx
mov ecx, 0x26e
call fcn.14001e1d0
test al, al
je 0x140022015
movzx r15d, sil
test r13b, r13b
je 0x140021fdc
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.14001c450
test al, al
jne 0x140021ff4
test r12b, r12b
je 0x140022015
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.14001c450
test al, al
je 0x140022015
movzx r14d, sil
jmp 0x140022018
mov byte [rbx + 0xd7], r15b
cmp qword [rbx + 0x4a58], r15
jne 0x140021f02
xor al, al
jmp 0x140021f06
xor r14b, r14b
test r13b, r13b
je 0x14002203f
mov edx, 0x20d
mov rcx, rbp
call fcn.14001bd20
cmp byte [rax], 0
je 0x14002203f
xor edx, edx
mov ecx, 0x20d
call fcn.14001e1d0
test al, al
jne 0x140022066
test r12b, r12b
je 0x1400220a0
mov edx, 0x26d
mov rcx, rbp
call fcn.14001bd20
cmp byte [rax], 0
je 0x1400220a0
xor edx, edx
mov ecx, 0x26d
call fcn.14001e1d0
test al, al
je 0x1400220a0
movzx ebp, sil
test r13b, r13b
je 0x140022082
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.14001c450
test al, al
jne 0x14002209a
test r12b, r12b
je 0x1400220a3
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.14001c450
test al, al
je 0x1400220a3
movzx ecx, sil
jmp 0x1400220a5
xor bpl, bpl
xor cl, cl
mov eax, dword [rbx + 0x3f38]
test eax, eax
jne 0x1400220c6
test r14b, r14b
je 0x1400220ca
mov dword [rbx + 0x48e0], edi
mov dword [rbx + 0x48ec], 2
jmp 0x1400220ca
cmp eax, edi
jne 0x140022109
test cl, cl
je 0x1400220da
mov dword [rbx + 0x48e0], edi
mov dword [rbx + 0x48ec], esi
test eax, eax
je 0x1400220e2
cmp eax, edi
jne 0x140022109
test r15b, r15b
jne 0x1400220ec
test bpl, bpl
je 0x1400220f2
mov dword [rbx + 0x48e4], edi
test eax, eax
je 0x1400220fa
cmp eax, edi
jne 0x140022109
test r14b, r14b
jne 0x140022103
test cl, cl
je 0x140022109
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 0x140022132
test dword [rax + 0x14], 0x40000
je 0x140022132
mov byte [rbx + 0x490e], sil
mov eax, dword [rbx + 0x48fc]
test eax, eax
je 0x14002215a
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.1400225c0
cmp dword [rbx + 0x4958], 0xffffffff
xorps xmm5, xmm5
mov rdi, qword [0x1400b80b8]
jne 0x1400222a5
mov r10, qword [rdi + 0x48d0]
test r10, r10
je 0x1400222a5
cmp qword [rdi + 0x4a58], 0
jne 0x1400222a5
test dword [r10 + 0x14], 0x40000
jne 0x1400222a5
mov edx, 0x200
mov rcx, rdi
call fcn.14001bd20
cmp byte [rax], 0
je 0x1400222a5
movss xmm0, dword [rax + 4]
comiss xmm5, xmm0
ja 0x1400222a5
ucomiss xmm0, xmm5
jp 0x1400221d4
je 0x1400221f9
movss xmm1, dword [rdi + 0x70]
comiss xmm0, xmm1
jbe 0x1400222a5
movss xmm2, dword [rdi + 0x74]
mov ecx, 0x200
call fcn.14001bef0
test eax, eax
jle 0x1400222a5
mov edx, 0xffffffff
mov ecx, 0x200
call fcn.14001e1d0
test al, al
je 0x1400222a5
cmp byte [rdi + 0xe1c], 0
jne 0x1400222a5
cmp byte [rdi + 0xe1e], 0
jne 0x1400222a5
movzx eax, byte [rdi + 0xe1d]
test byte [rdi + 8], sil
je 0x140022255
test al, al
je 0x14002223e
mov esi, 0xffffffff
jmp 0x14002226e
cmp byte [rdi + 0x490e], sil
jne 0x14002226e
cmp dword [rdi + 0x3f38], 0
jne 0x14002226e
mov esi, r15d
jmp 0x14002226e
test al, al
je 0x140022260
mov esi, 0xffffffff
jmp 0x14002226e
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.140021360
mov dword [rdi + 0x498c], 0xffffffff
cmp byte [rdi + 0x4949], 0
jne 0x1400222bb
cmp byte [rdi + 0x4911], 0
jne 0x1400222bb
xor al, al
jmp 0x1400222bd
mov al, 1
mov byte [rdi + 0x4910], al
mov r11, qword [rbx + 0x48d0]
mov byte [rbx + 0x490c], 0
test r11, r11
je 0x140022523
test dword [r11 + 0x14], 0x40000
jne 0x140022523
cmp qword [rbx + 0x4a58], 0
jne 0x140022523
mov rax, qword [r11]
movss xmm0, dword [rax + 0x3c14]
mov rax, qword [r11 + 0x368]
mulss xmm0, dword [r11 + 0x290]
test rax, rax
je 0x14002231e
mulss xmm0, dword [rax + 0x290]
cmp word [r11 + 0x15c], 0
mulss xmm0, dword [0x140097f10]
mov ecx, dword [rbx + 0x4958]
movss xmm2, dword [0x140097dfc]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x140097dac]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x1400223f6
cmp byte [r11 + 0x162], 0
je 0x1400223f6
cmp ecx, 0xffffffff
je 0x1400223f6
movss xmm1, dword [0x140097f74]
test ecx, ecx
je 0x140022388
cmp ecx, 1
jne 0x1400223ba
movaps xmm0, xmm2
jmp 0x14002238b
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 0x1400223c7
cmp ecx, 3
jne 0x1400223f6
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 0x140022523
mov edx, 0x27b
mov rcx, rdi
call fcn.14001bd20
mov edx, 0x27a
mov rcx, rdi
mov r10, rax
call fcn.14001bd20
mov edx, 0x279
mov rcx, rdi
mov r9, rax
call fcn.14001bd20
movss xmm0, dword [r9 + 0xc]
mov edx, 0x27c
mov rcx, rdi
subss xmm0, dword [rax + 0xc]
call fcn.14001bd20
mov edx, 0x273
mov rcx, rdi
movss xmm1, dword [rax + 0xc]
subss xmm1, dword [r10 + 0xc]
call fcn.14001bd20
cmp byte [rax], 0
je 0x14002247b
xor edx, edx
mov ecx, 0x273
call fcn.14001e1d0
test al, al
je 0x14002247b
movss xmm2, dword [0x140097d84]
jmp 0x1400224a5
mov edx, 0x274
mov rcx, rdi
call fcn.14001bd20
cmp byte [rax], 0
je 0x1400224a5
xor edx, edx
mov ecx, 0x274
call fcn.14001e1d0
test al, al
je 0x1400224a5
movss xmm2, dword [0x140097eb4]
ucomiss xmm0, xmm5
jp 0x1400224ac
je 0x1400224e9
cmp byte [r11 + 0xb4], 0
je 0x1400224e9
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 0x1400224f0
je 0x140022523
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 0x140022538
test r12b, r12b
jne 0x140022538
mov word [rbx + 0x490e], 1
jmp 0x140022583
test r14b, r14b
je 0x140022583
test byte [rbx + 8], 4
je 0x140022583
test byte [rbx + 0xc], 4
je 0x140022583
lea rcx, [rsp + 0x20]
call fcn.140021860
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.1400888c0
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