Function at 0x180021760
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 [0x180069040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r10, qword [0x180093ae8]
mov ebp, 3
mov rbx, r10
test byte [r10 + 8], 2
mov byte [r10 + 0xdb], 0
je 0x180021856
test byte [r10 + 0xc], 1
je 0x180021856
movdqa xmm0, xmmword [0x180061010]
lea r11, [rsp + 0x48]
movdqa xmm1, xmmword [0x180061020]
mov r12b, 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.18001b8f0
cmp byte [rax], 0
je 0x180021846
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x18002182e
cmp r9d, 0x1000
je 0x18002182e
cmp r9d, 0x2000
je 0x18002182e
cmp r9d, 0x4000
je 0x18002182e
cmp r9d, 0x8000
je 0x18002182e
cmp r9d, 0x800
jne 0x18002183f
mov edx, r9d
mov rcx, r10
call fcn.18000e4b0
cmp byte [rax + 8], 0
jne 0x180021846
mov dword [r10 + 0x48e8], ebp
add r11, 4
lea rax, [rsp + 0x68]
cmp r11, rax
jne 0x1800217e0
jmp 0x180021859
xor r12b, r12b
movzx r13d, byte [r10 + 8]
movdqa xmm0, xmmword [0x180061000]
mov dword [rsp + 0x38], 0x201
mov dword [rsp + 0x3c], 0x203
mov dword [rsp + 0x40], 0x204
movdqu xmmword [rsp + 0x28], xmm0
and r13b, 1
je 0x180021908
lea r11, [rsp + 0x28]
nop
mov r9d, dword [r11]
mov rcx, r10
mov edx, r9d
call fcn.18001b8f0
cmp byte [rax], 0
je 0x1800218fa
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x1800218de
cmp r9d, 0x1000
je 0x1800218de
cmp r9d, 0x2000
je 0x1800218de
cmp r9d, 0x4000
je 0x1800218de
cmp r9d, 0x8000
je 0x1800218de
cmp r9d, 0x800
jne 0x1800218ef
mov edx, r9d
mov rcx, r10
call fcn.18000e4b0
cmp byte [rax + 8], 0
jne 0x1800218fa
mov dword [r10 + 0x48e8], 2
add r11, 4
lea rax, [rsp + 0x44]
cmp r11, rax
jne 0x180021890
mov edx, dword [r10 + 0x4900]
xor r14d, r14d
mov dword [r10 + 0x48d4], r14d
test edx, edx
je 0x180021a36
mov r9, qword [r10 + 0x48b0]
mov rdi, r10
test r9, r9
je 0x180021a36
cmp dword [r10 + 0x48b8], edx
je 0x180021959
mov dword [r10 + 0x48d4], edx
mov eax, dword [r10 + 0x4904]
mov dword [r10 + 0x48d8], eax
mov dword [r10 + 0x48dc], r14d
test byte [r10 + 0x5cbc], 8
je 0x180021981
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [r10 + 0x48ec]
call fcn.180025dd0
mov r10, qword [0x180093ae8]
mov eax, dword [rdi + 0x4904]
movsxd rcx, dword [rdi + 0x48ec]
mov edx, dword [rdi + 0x4900]
mov r8, rcx
mov dword [r10 + 0x48bc], eax
add r8, r8
mov rax, qword [r10 + 0x48b0]
mov dword [r10 + 0x48b8], edx
mov dword [r10 + 0x48ec], ecx
mov dword [rax + rcx*4 + 0x3a0], edx
mov rax, qword [r10 + 0x48b0]
movups xmm0, xmmword [rdi + 0x4908]
movups xmmword [rax + r8*8 + 0x3a8], xmm0
mov rax, qword [r10 + 0x48b0]
movsxd rdx, dword [r10 + 0x48ec]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3c8], 0x7f7fffff
mov rax, qword [r10 + 0x48b0]
movsxd rdx, dword [r10 + 0x48ec]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3cc], 0x7f7fffff
mov byte [rdi + 0x48f0], 1
cmp byte [rdi + 0x48f6], r14b
je 0x180021a36
mov word [r10 + 0x48f1], 1
mov byte [r10 + 0x48f3], 1
mov word [rbx + 0x48f5], r14w
mov dword [rbx + 0x4900], r14d
cmp byte [rbx + 0x4928], r14b
je 0x180021a53
call fcn.180022cd0
xor r15b, r15b
mov dword [rbx + 0x496c], r14d
mov esi, 1
mov word [rbx + 0x4928], r14w
cmp byte [rbx + 0x48f1], r14b
je 0x180021a9d
cmp byte [rbx + 0x48f0], r14b
je 0x180021a9d
cmp byte [rbx + 0x48f2], r14b
jne 0x180021a9d
cmp byte [rbx + 0x48f3], r14b
je 0x180021a9d
cmp qword [rbx + 0x48b0], r14
movzx r15d, r15b
cmovne r15d, esi
mov rcx, qword [rbx + 0x48b0]
mov byte [rbx + 0x48f1], r14b
test rcx, rcx
je 0x180021adf
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x180021ad3
test dword [rax + 0x14], 0x14000000
jne 0x180021ad3
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x180021ab3
jmp 0x180021adf
cmp rax, rcx
je 0x180021adf
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x180021b04
cmp qword [rax + 0x398], r14
je 0x180021b04
cmp dword [rbx + 0x48ec], r14d
jne 0x180021b04
mov qword [rax + 0x398], r14
call fcn.180023c40
test r13b, r13b
jne 0x180021b17
test r12b, r12b
je 0x180021c2c
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x180021c2c
test dword [rax + 0x14], 0x40000
jne 0x180021c2c
mov byte [rbx + 0xdd], sil
cmp dword [rbx + 0x48b8], r14d
je 0x180021c33
cmp byte [rbx + 0x48f2], r14b
jne 0x180021c33
movzx eax, sil
mov byte [rbx + 0xde], al
call fcn.180023170
mov qword [rbx + 0x48c8], r14
mov dword [rbx + 0x48c0], r14d
mov dword [rbx + 0x48d0], r14d
cmp dword [rbx + 0x48b8], r14d
je 0x180021d4d
cmp byte [rbx + 0x48f2], r14b
jne 0x180021d4d
cmp qword [rbx + 0x4a38], r14
jne 0x180021d4d
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x180021d4d
test dword [rax + 0x14], 0x40000
jne 0x180021d4d
mov rdi, qword [0x180093ae8]
test r13b, r13b
je 0x180021bdb
cmp byte [rdi + 0x2eec], r14b
je 0x180021bdb
cmp byte [rdi + 0x4010], r14b
je 0x180021bf2
test r12b, r12b
je 0x180021c47
cmp byte [rdi + 0x350c], r14b
je 0x180021c47
cmp byte [rdi + 0x44a8], r14b
jne 0x180021c47
movzx r14d, sil
test r13b, r13b
je 0x180021c0e
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.18001c020
test al, al
jne 0x180021c26
test r12b, r12b
je 0x180021c47
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.18001c020
test al, al
je 0x180021c47
movzx ebp, sil
jmp 0x180021c4a
mov byte [rbx + 0xdd], r14b
cmp qword [rbx + 0x4a38], r14
jne 0x180021b55
xor al, al
jmp 0x180021b59
xor bpl, bpl
test r13b, r13b
je 0x180021c61
cmp byte [rdi + 0x2efc], 0
je 0x180021c61
cmp byte [rdi + 0x401c], 0
je 0x180021c78
test r12b, r12b
je 0x180021cb2
cmp byte [rdi + 0x34fc], 0
je 0x180021cb2
cmp byte [rdi + 0x449c], 0
jne 0x180021cb2
movzx edi, sil
test r13b, r13b
je 0x180021c94
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.18001c020
test al, al
jne 0x180021cac
test r12b, r12b
je 0x180021cb5
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.18001c020
test al, al
je 0x180021cb5
movzx edx, sil
jmp 0x180021cb7
xor dil, dil
xor dl, dl
mov ecx, dword [rbx + 0x3f30]
test ecx, ecx
jne 0x180021cde
test bpl, bpl
je 0x180021ce6
mov eax, dword [rbx + 0x48b8]
mov dword [rbx + 0x48c0], eax
mov dword [rbx + 0x48d0], 2
jmp 0x180021ce6
cmp ecx, dword [rbx + 0x48b8]
jne 0x180021d1e
test dl, dl
je 0x180021cfc
mov eax, dword [rbx + 0x48b8]
mov dword [rbx + 0x48c0], eax
mov dword [rbx + 0x48d0], esi
test ecx, ecx
je 0x180021d08
cmp ecx, dword [rbx + 0x48b8]
jne 0x180021d1e
test r14b, r14b
jne 0x180021d12
test dil, dil
je 0x180021d1e
mov eax, dword [rbx + 0x48b8]
mov dword [rbx + 0x48c8], eax
mov eax, dword [rbx + 0x3f30]
test eax, eax
je 0x180021d30
cmp eax, dword [rbx + 0x48b8]
jne 0x180021d45
test bpl, bpl
jne 0x180021d39
test dl, dl
je 0x180021d45
mov eax, dword [rbx + 0x48b8]
mov dword [rbx + 0x48cc], eax
mov ebp, 3
xor r14d, r14d
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x180021d69
test dword [rax + 0x14], 0x40000
je 0x180021d69
mov byte [rbx + 0x48f2], sil
mov eax, dword [rbx + 0x48e0]
test eax, eax
je 0x180021d91
mov dword [rbx + 0x48cc], eax
mov dword [rbx + 0x48c8], eax
mov dword [rbx + 0x48c0], eax
mov eax, dword [rbx + 0x48e4]
mov dword [rbx + 0x48d0], eax
mov dword [rbx + 0x48e0], r14d
call fcn.1800221c0
cmp dword [rbx + 0x4938], 0xffffffff
xorps xmm5, xmm5
mov r11, qword [0x180093ae8]
jne 0x180021ef7
mov rdi, qword [r11 + 0x48b0]
test rdi, rdi
je 0x180021ef7
cmp qword [r11 + 0x4a38], 0
jne 0x180021ef7
test dword [rdi + 0x14], 0x40000
jne 0x180021ef7
cmp byte [r11 + 0x2e2c], 0
je 0x180021ef7
movss xmm0, dword [r11 + 0x2e30]
comiss xmm5, xmm0
ja 0x180021ef7
ucomiss xmm0, xmm5
mov r10, r11
jp 0x180021e09
je 0x180021e30
movss xmm1, dword [r11 + 0x3c]
comiss xmm0, xmm1
jbe 0x180021ef7
movss xmm2, dword [r11 + 0x40]
mov ecx, 0x200
call fcn.18001ba40
test eax, eax
jle 0x180021ef7
cmp byte [r10 + 0x4744], 0
je 0x180021e48
cmp dword [r10 + 0x3f30], 0xffffffff
jne 0x180021ef7
cmp dword [r10 + 0x3f78], 0xffffffff
jne 0x180021ef7
cmp byte [r11 + 0xe24], 0
jne 0x180021ef7
cmp byte [r11 + 0xe26], 0
jne 0x180021ef7
movzx eax, byte [r11 + 0xe25]
test byte [r11 + 8], sil
je 0x180021ea3
test al, al
je 0x180021e8b
mov esi, 0xffffffff
jmp 0x180021ebd
cmp byte [r11 + 0x48f2], sil
jne 0x180021ebd
cmp dword [r11 + 0x3f30], 0
jne 0x180021ebd
mov esi, r14d
jmp 0x180021ebd
test al, al
je 0x180021eae
mov esi, 0xffffffff
jmp 0x180021ebd
cmp dword [r11 + 0x3f30], 0
mov esi, r14d
setne sil
mov dword [r11 + 0x4968], esi
mov eax, 0x21
cmp byte [rdi + 0xbc], 0
mov ecx, 0xffffffff
mov r8d, 0xc00
cmovne ebp, eax
sar esi, 0x1f
mov r9d, ebp
lea edx, [rsi + 3]
call fcn.180020f70
mov dword [r11 + 0x496c], 0xffffffff
cmp byte [r11 + 0x4929], 0
jne 0x180021f0f
cmp byte [r11 + 0x48f5], 0
jne 0x180021f0f
xor al, al
jmp 0x180021f11
mov al, 1
mov byte [r11 + 0x48f4], al
mov rcx, qword [rbx + 0x48b0]
mov byte [rbx + 0x48f0], 0
test rcx, rcx
je 0x180022123
test dword [rcx + 0x14], 0x40000
jne 0x180022123
cmp qword [rbx + 0x4a38], 0
jne 0x180022123
mov rax, qword [rcx]
movss xmm0, dword [rax + 0x3c0c]
mov rax, qword [rcx + 0x368]
mulss xmm0, dword [rcx + 0x290]
test rax, rax
je 0x180021f71
mulss xmm0, dword [rax + 0x290]
cmp word [rcx + 0x15c], 0
mulss xmm0, dword [0x180060ecc]
mov edx, dword [rbx + 0x4938]
movss xmm2, dword [0x180060dfc]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x180060dbc]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x180022043
cmp byte [rcx + 0x162], 0
je 0x180022043
cmp edx, 0xffffffff
je 0x180022043
movss xmm1, dword [0x180060f5c]
test edx, edx
je 0x180021fd9
cmp edx, 1
jne 0x180022009
movaps xmm0, xmm2
jmp 0x180021fdc
movaps xmm0, xmm1
mulss xmm0, xmm3
mov dword [rcx + 0x9c], r14d
mov dword [rcx + 0xa4], r14d
addss xmm0, dword [rcx + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x94], xmm0
cmp edx, 2
je 0x180022016
cmp edx, 3
jne 0x180022043
movaps xmm1, xmm2
mulss xmm1, xmm3
mov dword [rcx + 0xa0], r14d
mov dword [rcx + 0xa8], r14d
addss xmm1, dword [rcx + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x98], xmm0
test r12b, r12b
je 0x180022123
cmp byte [r11 + 0x355c], 0
movss xmm1, dword [r11 + 0x35f8]
movss xmm0, dword [r11 + 0x35d8]
subss xmm1, dword [r11 + 0x35e8]
subss xmm0, dword [r11 + 0x35c8]
je 0x18002208e
cmp byte [r11 + 0x44e4], 0
jne 0x18002208e
movss xmm2, dword [0x180060d98]
jmp 0x1800220aa
cmp byte [r11 + 0x356c], 0
je 0x1800220aa
cmp byte [r11 + 0x44f0], 0
jne 0x1800220aa
movss xmm2, dword [0x180060e7c]
ucomiss xmm0, xmm5
jp 0x1800220b1
je 0x1800220eb
cmp byte [rcx + 0xb4], 0
je 0x1800220eb
mulss xmm0, xmm3
mov dword [rcx + 0x9c], r14d
mov dword [rcx + 0xa4], r14d
mulss xmm0, xmm2
addss xmm0, dword [rcx + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x94], xmm0
ucomiss xmm1, xmm5
jp 0x1800220f2
je 0x180022123
mulss xmm1, xmm3
mov dword [rcx + 0xa0], r14d
mov dword [rcx + 0xa8], r14d
mulss xmm1, xmm2
addss xmm1, dword [rcx + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x98], xmm0
test r13b, r13b
jne 0x180022138
test r12b, r12b
jne 0x180022138
mov word [rbx + 0x48f2], 1
jmp 0x180022183
test r15b, r15b
je 0x180022183
test byte [rbx + 8], 4
je 0x180022183
test byte [rbx + 0xc], 4
je 0x180022183
lea rcx, [rsp + 0x20]
call fcn.180021470
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x36f0], xmm0
movss dword [rbx + 0x36f4], xmm1
movss dword [rbx + 0xe08], xmm0
movss dword [rbx + 0xe0c], xmm1
mov byte [rbx + 0xdb], 1
mov dword [rbx + 0x4964], r14d
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180055b80
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