Function at 0x140021540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0x80
mov rax, qword [0x14013c080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [r11 + 8], rbp
mov qword [r11 + 0x10], r13
mov r13d, 3
mov r11, qword [0x14022f578]
mov rbx, r11
test byte [r11 + 8], 2
mov byte [r11 + 0xdb], 0
je 0x1400215e7
test byte [r11 + 0xc], 1
je 0x1400215e7
movdqa xmm0, xmmword [0x14012c670]
lea r9, [rsp + 0x50]
movdqa xmm1, xmmword [0x14012c680]
mov r12b, 1
movdqu xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
mov r10d, dword [r9]
mov ecx, r10d
call fcn.14001dbb0
cmp byte [rax], 0
je 0x1400215d7
xor edx, edx
mov ecx, r10d
call fcn.14001e910
test al, al
je 0x1400215d7
mov dword [r11 + 0x48a0], r13d
add r9, 4
lea rax, [rsp + 0x70]
cmp r9, rax
jne 0x1400215b2
jmp 0x1400215ea
xor r12b, r12b
movzx edi, byte [r11 + 8]
movdqa xmm0, xmmword [0x14012c660]
and dil, 1
mov byte [rsp + 0x20], dil
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x201
mov dword [rsp + 0x44], 0x203
mov dword [rsp + 0x48], 0x204
je 0x14002165c
lea r9, [rsp + 0x30]
mov r10d, dword [r9]
mov ecx, r10d
call fcn.14001dbb0
cmp byte [rax], 0
je 0x14002164e
xor edx, edx
mov ecx, r10d
call fcn.14001e910
test al, al
je 0x14002164e
mov dword [r11 + 0x48a0], 2
add r9, 4
lea rax, [rsp + 0x4c]
cmp r9, rax
jne 0x140021625
mov edx, dword [r11 + 0x48b0]
xor ebp, ebp
test edx, edx
je 0x140021721
mov r9, qword [r11 + 0x4868]
mov rdi, r11
test r9, r9
je 0x14002171c
test byte [r11 + 0x5bf4], 8
je 0x1400216a7
mov r9, qword [r9]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [r11 + 0x48a4]
call fcn.140025410
mov r11, qword [0x14022f578]
movsxd rax, dword [rdi + 0x48a4]
mov ecx, dword [rbx + 0x48b0]
mov rdx, rax
mov dword [r11 + 0x48a4], eax
mov rax, qword [r11 + 0x4868]
mov dword [r11 + 0x4870], ecx
mov dword [r11 + 0x4874], ebp
mov dword [rax + rdx*4 + 0x380], ecx
add rdx, rdx
mov rax, qword [r11 + 0x4868]
movups xmm0, xmmword [rdi + 0x48b4]
movups xmmword [rax + rdx*8 + 0x388], xmm0
cmp byte [rdi + 0x48ae], bpl
mov byte [rdi + 0x48a8], 1
movzx edi, byte [rsp + 0x20]
je 0x140021721
mov word [r11 + 0x48a9], 1
mov byte [r11 + 0x48ab], 1
jmp 0x140021721
movzx edi, byte [rsp + 0x20]
mov word [rbx + 0x48ad], bp
mov dword [rbx + 0x48b0], ebp
mov dword [rbx + 0x488c], ebp
cmp byte [rbx + 0x48c4], bpl
je 0x140021742
call fcn.140022810
xor r14b, r14b
mov dword [rbx + 0x4908], ebp
mov eax, 1
mov word [rbx + 0x48c4], bp
mov dword [rsp + 0x24], r14d
cmp byte [rbx + 0x48a9], bpl
je 0x140021794
cmp byte [rbx + 0x48a8], bpl
je 0x140021794
cmp byte [rbx + 0x48aa], bpl
jne 0x140021794
cmp byte [rbx + 0x48ab], bpl
je 0x140021794
cmp qword [rbx + 0x4868], rbp
movzx r14d, r14b
cmovne r14d, eax
mov dword [rsp + 0x24], r14d
mov rcx, qword [rbx + 0x4868]
mov byte [rbx + 0x48a9], bpl
test rcx, rcx
je 0x1400217dc
mov rax, rcx
nop word [rax + rax]
cmp qword [rax + 0x358], rax
je 0x1400217d0
test dword [rax + 0xc], 0x14000000
jne 0x1400217d0
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x1400217b0
jmp 0x1400217dc
cmp rax, rcx
je 0x1400217dc
mov qword [rax + 0x378], rcx
mov rax, qword [rbx + 0x4868]
test rax, rax
je 0x140021800
cmp qword [rax + 0x378], rbp
je 0x140021800
cmp dword [rbx + 0x48a4], ebp
jne 0x140021800
mov qword [rax + 0x378], rbp
mov qword [rsp + 0xc0], r15
call fcn.140023510
test dil, dil
jne 0x14002181b
test r12b, r12b
je 0x140021954
mov rax, qword [rbx + 0x4868]
test rax, rax
je 0x140021954
test dword [rax + 0xc], 0x40000
jne 0x140021954
mov byte [rbx + 0xdd], 1
cmp dword [rbx + 0x4870], ebp
je 0x14002195b
lea rdi, [rbx + 0x48aa]
cmp byte [rdi], bpl
jne 0x14002195b
lea r15, [rbx + 0x49d8]
mov al, 1
mov byte [rbx + 0xde], al
call fcn.140022b30
mov ebp, dword [rbx + 0x4870]
xor esi, esi
mov qword [rbx + 0x4880], rsi
mov qword [rbx + 0x4878], rsi
mov dword [rbx + 0x4888], esi
test ebp, ebp
je 0x140021a78
lea rsi, [rbx + 0x48aa]
cmp byte [rsi], 0
mov rdi, rsi
jne 0x140021a76
cmp qword [r15], 0
jne 0x140021a76
mov rax, qword [rbx + 0x4868]
test rax, rax
je 0x140021a76
test dword [rax + 0xc], 0x40000
jne 0x140021a76
movzx r9d, byte [rsp + 0x20]
test r9b, r9b
je 0x1400218f7
mov ecx, 0x20c
call fcn.14001dbb0
cmp byte [rax], 0
je 0x1400218f7
xor edx, edx
mov ecx, 0x20c
call fcn.14001e910
test al, al
jne 0x14002191b
test r12b, r12b
je 0x140021979
mov ecx, 0x26e
call fcn.14001dbb0
cmp byte [rax], 0
je 0x140021979
xor edx, edx
mov ecx, 0x26e
call fcn.14001e910
test al, al
je 0x140021979
mov dil, 1
test r9b, r9b
je 0x140021936
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.14001df30
test al, al
jne 0x14002194e
test r12b, r12b
je 0x14002197c
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.14001df30
test al, al
je 0x14002197c
movzx r14d, dil
jmp 0x14002197f
mov byte [rbx + 0xdd], bpl
lea r15, [rbx + 0x49d8]
lea rdi, [rbx + 0x48aa]
cmp qword [r15], rbp
jne 0x140021862
xor al, al
jmp 0x140021864
xor dil, dil
xor r14b, r14b
movzx r9d, byte [rsp + 0x20]
test r9b, r9b
je 0x1400219a9
mov ecx, 0x20d
call fcn.14001dbb0
cmp byte [rax], 0
je 0x1400219a9
xor edx, edx
mov ecx, 0x20d
call fcn.14001e910
test al, al
jne 0x1400219d2
test r12b, r12b
je 0x140021a01
mov ecx, 0x26d
call fcn.14001dbb0
cmp byte [rax], 0
je 0x140021a01
xor edx, edx
mov ecx, 0x26d
call fcn.14001e910
test al, al
je 0x140021a01
test r9b, r9b
je 0x1400219e5
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.14001df30
test al, al
jne 0x1400219fd
test r12b, r12b
je 0x140021a01
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.14001df30
test al, al
je 0x140021a01
mov cl, 1
jmp 0x140021a03
xor cl, cl
mov eax, dword [rbx + 0x3eec]
test eax, eax
jne 0x140021a24
test r14b, r14b
je 0x140021a28
mov dword [rbx + 0x4878], ebp
mov dword [rbx + 0x4888], 2
jmp 0x140021a28
cmp eax, ebp
jne 0x140021a53
test cl, cl
je 0x140021a3c
mov dword [rbx + 0x4884], ebp
mov dword [rbx + 0x4888], 1
test eax, eax
je 0x140021a44
cmp eax, ebp
jne 0x140021a53
test dil, dil
je 0x140021a4f
mov dword [rbx + 0x487c], ebp
test eax, eax
je 0x140021a5a
mov rdi, rsi
cmp eax, ebp
jne 0x140021a71
mov rdi, rsi
xor esi, esi
test r14b, r14b
mov r14d, dword [rsp + 0x24]
je 0x140021a78
mov dword [rbx + 0x4880], ebp
jmp 0x140021a78
mov r14d, dword [rsp + 0x24]
xor esi, esi
mov rax, qword [rbx + 0x4868]
mov rbp, qword [rsp + 0xb0]
test rax, rax
je 0x140021a98
test dword [rax + 0xc], 0x40000
je 0x140021a98
mov byte [rdi], 1
mov eax, dword [rbx + 0x4898]
test eax, eax
je 0x140021acd
mov ecx, dword [rbx + 0x489c]
test cl, 1
je 0x140021ab5
mov dword [rbx + 0x4884], eax
jmp 0x140021ac7
mov dword [rbx + 0x4880], eax
mov dword [rbx + 0x487c], eax
mov dword [rbx + 0x4878], eax
mov dword [rbx + 0x4888], ecx
mov dword [rbx + 0x4898], esi
call fcn.140021ec0
cmp dword [rbx + 0x48d4], 0xffffffff
xorps xmm5, xmm5
mov r11, qword [0x14022f578]
jne 0x140021be5
mov r9, qword [r11 + 0x4868]
test r9, r9
je 0x140021be5
cmp qword [r11 + 0x49d8], 0
jne 0x140021be5
test dword [r9 + 0xc], 0x40000
jne 0x140021be5
mov ecx, 0x200
call fcn.14001dbb0
cmp byte [rax], 0
je 0x140021be5
movss xmm0, dword [rax + 4]
comiss xmm5, xmm0
ja 0x140021be5
ucomiss xmm0, xmm5
jp 0x140021b43
je 0x140021b66
movss xmm1, dword [r11 + 0x3c]
comiss xmm0, xmm1
jbe 0x140021be5
movss xmm2, dword [r11 + 0x40]
mov ecx, 0x200
call fcn.14001dd20
test eax, eax
jle 0x140021be5
mov edx, 0xffffffff
mov ecx, 0x200
call fcn.14001e910
test al, al
je 0x140021be5
cmp byte [r11 + 0xe14], 0
jne 0x140021be5
cmp byte [r11 + 0xe16], 0
jne 0x140021be5
cmp byte [r11 + 0xe15], 0
je 0x140021b9e
mov edx, 0xffffffff
jmp 0x140021bab
cmp dword [r11 + 0x3eec], 0
mov edx, esi
setne dl
mov dword [r11 + 0x4904], edx
mov eax, reloc.WLDAP32.dll_Ordinal_33
cmp byte [r9 + 0x9c], 0
mov r8d, 0x400
cmovne r13d, eax
sar edx, 0x1f
add edx, 3
lea ecx, [rax - 0x22]
mov r9d, r13d
call fcn.140020e80
mov dword [r11 + 0x4908], 0xffffffff
cmp byte [r11 + 0x48c5], 0
mov r13, qword [rsp + 0xb8]
jne 0x140021c05
cmp byte [r11 + 0x48ad], 0
jne 0x140021c05
xor al, al
jmp 0x140021c07
mov al, 1
mov byte [r11 + 0x48ac], al
mov r10, qword [rbx + 0x4868]
mov byte [rbx + 0x48a8], 0
test r10, r10
je 0x140021e30
test dword [r10 + 0xc], 0x40000
jne 0x140021e30
cmp qword [r15], 0
jne 0x140021e30
mov rax, qword [r10 + 0x348]
movss xmm0, dword [r11 + 0x3c04]
mulss xmm0, dword [r10 + 0x270]
test rax, rax
je 0x140021c63
mulss xmm0, dword [rax + 0x270]
cmp word [r10 + 0x13c], 0
mulss xmm0, dword [0x14012c578]
mov ecx, dword [rbx + 0x48d4]
movss xmm2, dword [0x14012c4e8]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x14012c4a8]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x140021d24
cmp byte [r10 + 0x141], 0
je 0x140021d24
cmp ecx, 0xffffffff
je 0x140021d24
movss xmm1, dword [0x14012c5b8]
test ecx, ecx
je 0x140021cc5
cmp ecx, 1
jne 0x140021cee
movaps xmm0, xmm2
jmp 0x140021cc8
movaps xmm0, xmm1
mulss xmm0, xmm3
mov dword [r10 + 0x7c], esi
mov dword [r10 + 0x84], esi
addss xmm0, dword [r10 + 0x64]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r10 + 0x74], xmm0
cmp ecx, 2
je 0x140021cfb
cmp ecx, 3
jne 0x140021d24
movaps xmm1, xmm2
mulss xmm1, xmm3
mov dword [r10 + 0x80], esi
mov dword [r10 + 0x88], esi
addss xmm1, dword [r10 + 0x68]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r10 + 0x78], xmm0
test r12b, r12b
je 0x140021e30
mov ecx, 0x27a
call fcn.14001dbb0
mov ecx, 0x279
mov r9, rax
call fcn.14001dbb0
movss xmm0, dword [r9 + 0xc]
mov ecx, 0x27c
subss xmm0, dword [rax + 0xc]
call fcn.14001dbb0
mov ecx, 0x27b
mov r9, rax
call fcn.14001dbb0
movss xmm1, dword [r9 + 0xc]
mov ecx, 0x273
subss xmm1, dword [rax + 0xc]
call fcn.14001dbb0
cmp byte [rax], 0
je 0x140021d9a
xor edx, edx
mov ecx, 0x273
call fcn.14001e910
test al, al
je 0x140021d9a
movss xmm2, dword [0x14012c480]
jmp 0x140021dc1
mov ecx, 0x274
call fcn.14001dbb0
cmp byte [rax], 0
je 0x140021dc1
xor edx, edx
mov ecx, 0x274
call fcn.14001e910
test al, al
je 0x140021dc1
movss xmm2, dword [0x14012c548]
ucomiss xmm0, xmm5
jp 0x140021dc8
je 0x140021dfc
cmp byte [r10 + 0x94], 0
je 0x140021dfc
mulss xmm0, xmm3
mov dword [r10 + 0x7c], esi
mov dword [r10 + 0x84], esi
mulss xmm0, xmm2
addss xmm0, dword [r10 + 0x64]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r10 + 0x74], xmm0
ucomiss xmm1, xmm5
jp 0x140021e03
je 0x140021e30
mulss xmm1, xmm3
mov dword [r10 + 0x80], esi
mov dword [r10 + 0x88], esi
mulss xmm1, xmm2
addss xmm1, dword [r10 + 0x68]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r10 + 0x78], xmm0
cmp byte [rsp + 0x20], 0
mov r15, qword [rsp + 0xc0]
jne 0x140021e50
test r12b, r12b
jne 0x140021e50
mov byte [rdi], 1
mov byte [rbx + 0x48ab], r12b
jmp 0x140021e9b
test r14b, r14b
je 0x140021e9b
test byte [rbx + 8], 4
je 0x140021e9b
test byte [rbx + 0xc], 4
je 0x140021e9b
lea rcx, [rsp + 0x24]
call fcn.140021300
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x36e0], xmm0
movss dword [rbx + 0x36e4], xmm1
movss dword [rbx + 0xdfc], xmm0
movss dword [rbx + 0xe00], xmm1
mov byte [rbx + 0xdb], 1
mov dword [rbx + 0x4900], esi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400a67f0
add rsp, 0x80
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret