Function at 0x140021140
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, 0x70
mov rax, qword [0x1400b7080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r10, qword [0x1400b9be8]
mov r15d, 3
mov rbx, r10
test byte [r10 + 8], 2
mov byte [r10 + 0xcd], 0
je 0x140021236
test byte [r10 + 0xc], 1
je 0x140021236
movdqa xmm0, xmmword [0x1400a5680]
lea r11, [rsp + 0x48]
movdqa xmm1, xmmword [0x1400a5690]
mov dil, 1
movdqu xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x58], xmm1
nop dword [rax]
mov r9d, dword [r11]
mov rcx, r10
mov edx, r9d
call fcn.14001b370
cmp byte [rax], 0
je 0x140021226
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x14002120e
cmp r9d, 0x1000
je 0x14002120e
cmp r9d, 0x2000
je 0x14002120e
cmp r9d, 0x4000
je 0x14002120e
cmp r9d, 0x8000
je 0x14002120e
cmp r9d, 0x800
jne 0x14002121f
mov edx, r9d
mov rcx, r10
call fcn.14000d080
cmp byte [rax + 8], 0
jne 0x140021226
mov dword [r10 + 0x4914], r15d
add r11, 4
lea rax, [rsp + 0x68]
cmp r11, rax
jne 0x1400211c0
jmp 0x140021239
xor dil, dil
movzx r13d, byte [r10 + 8]
movdqa xmm0, xmmword [0x1400a5670]
mov dword [rsp + 0x38], 0x201
mov dword [rsp + 0x3c], 0x203
mov dword [rsp + 0x40], 0x204
movdqu xmmword [rsp + 0x28], xmm0
and r13b, 1
je 0x1400212e8
lea r11, [rsp + 0x28]
nop
mov r9d, dword [r11]
mov rcx, r10
mov edx, r9d
call fcn.14001b370
cmp byte [rax], 0
je 0x1400212da
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x1400212be
cmp r9d, 0x1000
je 0x1400212be
cmp r9d, 0x2000
je 0x1400212be
cmp r9d, 0x4000
je 0x1400212be
cmp r9d, 0x8000
je 0x1400212be
cmp r9d, 0x800
jne 0x1400212cf
mov edx, r9d
mov rcx, r10
call fcn.14000d080
cmp byte [rax + 8], 0
jne 0x1400212da
mov dword [r10 + 0x4914], 2
add r11, 4
lea rax, [rsp + 0x44]
cmp r11, rax
jne 0x140021270
mov edx, dword [r10 + 0x4938]
xor r14d, r14d
mov dword [r10 + 0x4900], r14d
test edx, edx
je 0x14002142a
mov r9, qword [r10 + 0x48e0]
mov rsi, r10
test r9, r9
je 0x14002142a
cmp dword [r10 + 0x48e8], edx
je 0x140021339
mov dword [r10 + 0x4900], edx
mov eax, dword [r10 + 0x493c]
mov dword [r10 + 0x4904], eax
mov dword [r10 + 0x4908], r14d
test byte [r10 + 0x5dbc], 8
je 0x140021361
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [r10 + 0x4918]
call fcn.140025d90
mov r10, qword [0x1400b9be8]
mov eax, dword [rsi + 0x493c]
movsxd rcx, dword [rsi + 0x4918]
mov edx, dword [rsi + 0x4938]
mov r8, rcx
mov dword [r10 + 0x48ec], eax
add r8, r8
mov rax, qword [r10 + 0x48e0]
mov dword [r10 + 0x48e8], edx
mov dword [r10 + 0x4918], ecx
mov dword [rax + rcx*4 + 0x3a0], edx
mov rax, qword [r10 + 0x48e0]
movups xmm0, xmmword [rsi + 0x4940]
movups xmmword [rax + r8*8 + 0x3a8], xmm0
mov rax, qword [r10 + 0x48e0]
movsxd rdx, dword [r10 + 0x4918]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3c8], 0x7f7fffff
mov rax, qword [r10 + 0x48e0]
movsxd rdx, dword [r10 + 0x4918]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3cc], 0x7f7fffff
mov byte [rsi + 0x4928], 1
mov rax, qword [rsi + 0x4958]
cmp rax, 0xffffffffffffffff
je 0x14002140f
mov qword [rsi + 0x4920], rax
cmp byte [rsi + 0x492e], r14b
je 0x14002142a
mov word [r10 + 0x4929], 1
mov byte [r10 + 0x492b], 1
cmp byte [rbx + 0x4970], 0
mov word [rbx + 0x492d], 0
mov dword [rbx + 0x4938], r14d
je 0x140021448
call fcn.140022760
xor r12b, r12b
mov dword [rbx + 0x49b4], r14d
mov ebp, 1
mov word [rbx + 0x4970], 0
cmp byte [rbx + 0x4929], r12b
je 0x140021494
cmp byte [rbx + 0x4928], r12b
je 0x140021494
cmp byte [rbx + 0x492a], r12b
jne 0x140021494
cmp byte [rbx + 0x492b], r12b
je 0x140021494
cmp qword [rbx + 0x48e0], 0
movzx r12d, r12b
cmovne r12d, ebp
mov rcx, qword [rbx + 0x48e0]
mov byte [rbx + 0x4929], 0
test rcx, rcx
je 0x1400214dc
mov rax, rcx
nop word [rax + rax]
cmp qword [rax + 0x378], rax
je 0x1400214d0
test dword [rax + 0x14], 0x14000000
jne 0x1400214d0
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x1400214b0
jmp 0x1400214dc
cmp rax, rcx
je 0x1400214dc
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48e0]
test rax, rax
je 0x140021502
cmp qword [rax + 0x398], 0
je 0x140021502
cmp dword [rbx + 0x4918], 0
jne 0x140021502
mov qword [rax + 0x398], r14
call fcn.140023720
test r13b, r13b
jne 0x140021515
test dil, dil
je 0x140021641
mov rax, qword [rbx + 0x48e0]
test rax, rax
je 0x140021641
test dword [rax + 0x14], 0x40000
jne 0x140021641
mov byte [rbx + 0xcf], bpl
cmp dword [rbx + 0x48e8], 0
je 0x140021648
cmp byte [rbx + 0x492a], 0
jne 0x140021648
movzx eax, bpl
mov byte [rbx + 0xd0], al
call fcn.140022c10
cmp dword [rbx + 0x48e8], 0
mov qword [rbx + 0x48f4], 0
mov dword [rbx + 0x48f0], r14d
mov dword [rbx + 0x48fc], r14d
je 0x140021773
cmp byte [rbx + 0x492a], 0
jne 0x140021773
cmp qword [rbx + 0x4ac0], 0
jne 0x140021773
mov rax, qword [rbx + 0x48e0]
test rax, rax
je 0x140021773
test dword [rax + 0x14], 0x40000
jne 0x140021773
mov rsi, qword [0x1400b9be8]
test r13b, r13b
je 0x1400215e7
mov edx, 0x20c
mov rcx, rsi
call fcn.14001b370
cmp byte [rax], 0
je 0x1400215e7
cmp byte [rsi + 0x4020], 0
je 0x140021607
test dil, dil
je 0x14002165d
mov edx, 0x26e
mov rcx, rsi
call fcn.14001b370
cmp byte [rax], 0
je 0x14002165d
cmp byte [rsi + 0x44b8], 0
jne 0x14002165d
movzx r15d, bpl
test r13b, r13b
je 0x140021623
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.14001bad0
test al, al
jne 0x14002163b
test dil, dil
je 0x140021660
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.14001bad0
test al, al
je 0x140021660
movzx r14d, bpl
jmp 0x140021663
mov byte [rbx + 0xcf], 0
cmp qword [rbx + 0x4ac0], 0
jne 0x140021553
xor al, al
jmp 0x140021557
xor r15b, r15b
xor r14b, r14b
test r13b, r13b
je 0x140021683
mov edx, 0x20d
mov rcx, rsi
call fcn.14001b370
cmp byte [rax], 0
je 0x140021683
cmp byte [rsi + 0x402c], 0
je 0x1400216a3
test dil, dil
je 0x1400216dd
mov edx, 0x26d
mov rcx, rsi
call fcn.14001b370
cmp byte [rax], 0
je 0x1400216dd
cmp byte [rsi + 0x44ac], 0
jne 0x1400216dd
movzx esi, bpl
test r13b, r13b
je 0x1400216bf
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.14001bad0
test al, al
jne 0x1400216d7
test dil, dil
je 0x1400216e0
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.14001bad0
test al, al
je 0x1400216e0
movzx edx, bpl
jmp 0x1400216e2
xor sil, sil
xor dl, dl
mov ecx, dword [rbx + 0x3f40]
test ecx, ecx
jne 0x140021709
test r14b, r14b
je 0x140021711
mov eax, dword [rbx + 0x48e8]
mov dword [rbx + 0x48f0], eax
mov dword [rbx + 0x48fc], 2
jmp 0x140021711
cmp ecx, dword [rbx + 0x48e8]
jne 0x14002176a
test dl, dl
je 0x140021727
mov eax, dword [rbx + 0x48e8]
mov dword [rbx + 0x48f0], eax
mov dword [rbx + 0x48fc], ebp
test ecx, ecx
je 0x140021733
cmp ecx, dword [rbx + 0x48e8]
jne 0x14002176a
test r15b, r15b
jne 0x14002173d
test sil, sil
je 0x140021749
mov eax, dword [rbx + 0x48e8]
mov dword [rbx + 0x48f4], eax
test ecx, ecx
je 0x140021755
cmp ecx, dword [rbx + 0x48e8]
jne 0x14002176a
test r14b, r14b
jne 0x14002175e
test dl, dl
je 0x14002176a
mov eax, dword [rbx + 0x48e8]
mov dword [rbx + 0x48f8], eax
mov r15d, 3
xor r14d, r14d
mov rax, qword [rbx + 0x48e0]
test rax, rax
je 0x14002178f
test dword [rax + 0x14], 0x40000
je 0x14002178f
mov byte [rbx + 0x492a], bpl
mov eax, dword [rbx + 0x490c]
test eax, eax
je 0x1400217b7
mov dword [rbx + 0x48f8], eax
mov dword [rbx + 0x48f4], eax
mov dword [rbx + 0x48f0], eax
mov eax, dword [rbx + 0x4910]
mov dword [rbx + 0x48fc], eax
mov dword [rbx + 0x490c], r14d
call fcn.140021c30
cmp dword [rbx + 0x4980], 0xffffffff
xorps xmm5, xmm5
mov r11, qword [0x1400b9be8]
jne 0x140021925
mov rsi, qword [r11 + 0x48e0]
test rsi, rsi
je 0x140021925
cmp qword [r11 + 0x4ac0], 0
jne 0x140021925
test dword [rsi + 0x14], 0x40000
jne 0x140021925
mov edx, 0x200
mov rcx, r11
call fcn.14001b370
cmp byte [rax], 0
je 0x140021925
movss xmm0, dword [rax + 4]
comiss xmm5, xmm0
ja 0x140021925
ucomiss xmm0, xmm5
jp 0x140021835
jne 0x140021835
mov r10, r11
jmp 0x14002185f
movss xmm1, dword [r11 + 0x70]
mov r10, r11
comiss xmm0, xmm1
jbe 0x140021925
movss xmm2, dword [r11 + 0x74]
mov ecx, 0x200
call fcn.14001b500
test eax, eax
jle 0x140021925
cmp byte [r10 + 0x4754], 0
je 0x140021877
cmp dword [r10 + 0x3f40], 0xffffffff
jne 0x140021925
cmp dword [r10 + 0x3f88], 0xffffffff
jne 0x140021925
cmp byte [r11 + 0xe1c], 0
jne 0x140021925
cmp byte [r11 + 0xe1e], 0
jne 0x140021925
movzx eax, byte [r11 + 0xe1d]
test byte [r11 + 8], bpl
je 0x1400218d2
test al, al
je 0x1400218ba
mov ebp, 0xffffffff
jmp 0x1400218ec
cmp byte [r11 + 0x492a], bpl
jne 0x1400218ec
cmp dword [r11 + 0x3f40], 0
jne 0x1400218ec
mov ebp, r14d
jmp 0x1400218ec
test al, al
je 0x1400218dd
mov ebp, 0xffffffff
jmp 0x1400218ec
cmp dword [r11 + 0x3f40], 0
mov ebp, r14d
setne bpl
mov dword [r11 + 0x49b0], ebp
mov eax, 0x21
cmp byte [rsi + 0xbc], 0
mov r8d, 0x1400
cmovne r15d, eax
sar ebp, 0x1f
mov r9d, r15d
lea ecx, [rax - 0x22]
lea edx, [rbp + 3]
call fcn.1400209e0
mov dword [r11 + 0x49b4], 0xffffffff
cmp byte [r11 + 0x4971], 0
jne 0x14002193d
cmp byte [r11 + 0x492d], 0
jne 0x14002193d
xor al, al
jmp 0x14002193f
mov al, 1
mov byte [r11 + 0x492c], al
mov rsi, qword [rbx + 0x48e0]
mov byte [rbx + 0x4928], 0
test rsi, rsi
je 0x140021b8d
test dword [rsi + 0x14], 0x40000
jne 0x140021b8d
cmp qword [rbx + 0x4ac0], 0
jne 0x140021b8d
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x3c1c]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x14002199f
mulss xmm0, dword [rax + 0x290]
cmp word [rsi + 0x15c], 0
mulss xmm0, dword [0x1400a54a8]
mov ecx, dword [rbx + 0x4980]
movss xmm2, dword [0x1400a5408]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x1400a53c8]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x140021a71
cmp byte [rsi + 0x162], 0
je 0x140021a71
cmp ecx, 0xffffffff
je 0x140021a71
movss xmm1, dword [0x1400a5528]
test ecx, ecx
je 0x140021a07
cmp ecx, 1
jne 0x140021a37
movaps xmm0, xmm2
jmp 0x140021a0a
movaps xmm0, xmm1
mulss xmm0, xmm3
mov dword [rsi + 0x9c], r14d
mov dword [rsi + 0xa4], r14d
addss xmm0, dword [rsi + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x94], xmm0
cmp ecx, 2
je 0x140021a44
cmp ecx, 3
jne 0x140021a71
movaps xmm1, xmm2
mulss xmm1, xmm3
mov dword [rsi + 0xa0], r14d
mov dword [rsi + 0xa8], r14d
addss xmm1, dword [rsi + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x98], xmm0
test dil, dil
je 0x140021b8d
mov edx, 0x27c
mov rcx, r11
call fcn.14001b370
mov edx, 0x279
mov rcx, r11
mov r10, rax
call fcn.14001b370
mov edx, 0x27a
mov rcx, r11
mov r9, rax
call fcn.14001b370
mov edx, 0x27b
mov rcx, r11
movss xmm0, dword [rax + 0xc]
subss xmm0, dword [r9 + 0xc]
call fcn.14001b370
movss xmm1, dword [r10 + 0xc]
mov edx, 0x273
mov rcx, r11
subss xmm1, dword [rax + 0xc]
call fcn.14001b370
cmp byte [rax], 0
je 0x140021af0
cmp byte [r11 + 0x44f4], 0
jne 0x140021af0
movss xmm2, dword [0x1400a53a4]
jmp 0x140021b14
mov edx, 0x274
mov rcx, r11
call fcn.14001b370
cmp byte [rax], 0
je 0x140021b14
cmp byte [r11 + 0x4500], 0
jne 0x140021b14
movss xmm2, dword [0x1400a5470]
ucomiss xmm0, xmm5
jp 0x140021b1b
je 0x140021b55
cmp byte [rsi + 0xb4], 0
je 0x140021b55
mulss xmm0, xmm3
mov dword [rsi + 0x9c], r14d
mov dword [rsi + 0xa4], r14d
mulss xmm0, xmm2
addss xmm0, dword [rsi + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x94], xmm0
ucomiss xmm1, xmm5
jp 0x140021b5c
je 0x140021b8d
mulss xmm1, xmm3
mov dword [rsi + 0xa0], r14d
mov dword [rsi + 0xa8], r14d
mulss xmm1, xmm2
addss xmm1, dword [rsi + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x98], xmm0
test r13b, r13b
jne 0x140021ba2
test dil, dil
jne 0x140021ba2
mov word [rbx + 0x492a], 1
jmp 0x140021bfd
test r12b, r12b
je 0x140021bfd
test byte [rbx + 8], 4
je 0x140021bfd
test byte [rbx + 0xc], 4
je 0x140021bfd
lea rcx, [rsp + 0x20]
call fcn.140020e50
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [r11 + 0x36e8], xmm0
movss dword [r11 + 0x36ec], xmm1
movss dword [r11 + 0xe00], xmm0
movss dword [r11 + 0xe04], xmm1
mov qword [r11 + 0xe8], 0
mov byte [r11 + 0xcd], 1
mov dword [rbx + 0x49ac], r14d
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140061be0
lea r11, [rsp + 0x70]
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