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

Disassembly:
mov r11, rsp
push rbx
push rdi
push r12
push r14
sub rsp, 0xb8
mov rax, qword [0x1400ee340]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r10, qword [0x1401b52a8]
mov qword [r11 + 8], rbp
mov rbx, r10
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], r13
test byte [r10 + 8], 2
mov qword [r11 - 0x28], r15
mov r15d, 3
vmovaps xmmword [r11 - 0x68], xmm9
mov byte [r10 + 0xdb], 0
je 0x140040ce9
test byte [r10 + 0xc], 1
je 0x140040ce9
vmovdqu ymm0, ymmword [0x1400d7980]
vmovdqu ymmword [rsp + 0x48], ymm0
mov dil, 1
lea r11, [rsp + 0x48]
nop dword [rax]
mov r9d, dword [r11]
mov rcx, r10
mov edx, r9d
vzeroupper
call fcn.14003aac0
cmp byte [rax], 0
je 0x140040cd9
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x140040cc1
cmp r9d, 0x1000
je 0x140040cc1
cmp r9d, 0x2000
je 0x140040cc1
cmp r9d, 0x4000
je 0x140040cc1
cmp r9d, 0x8000
je 0x140040cc1
cmp r9d, 0x800
jne 0x140040cd2
mov edx, r9d
mov rcx, r10
call fcn.14002b720
cmp byte [rax + 8], 0
jne 0x140040cd9
mov dword [r10 + 0x490c], r15d
add r11, 4
lea rax, [rsp + 0x68]
cmp r11, rax
jne 0x140040c70
jmp 0x140040cec
xor dil, dil
movzx r13d, byte [r10 + 8]
mov dword [rsp + 0x38], 0x201
mov dword [rsp + 0x3c], 0x203
mov dword [rsp + 0x40], 0x204
vmovdqu xmm0, xmmword [0x1400d75d0]
vmovdqu xmmword [rsp + 0x28], xmm0
and r13b, 1
je 0x140040da8
lea r11, [rsp + 0x28]
nop word [rax + rax]
mov r9d, dword [r11]
mov rcx, r10
mov edx, r9d
call fcn.14003aac0
cmp byte [rax], 0
je 0x140040d9a
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x140040d7e
cmp r9d, 0x1000
je 0x140040d7e
cmp r9d, 0x2000
je 0x140040d7e
cmp r9d, 0x4000
je 0x140040d7e
cmp r9d, 0x8000
je 0x140040d7e
cmp r9d, 0x800
jne 0x140040d8f
mov edx, r9d
mov rcx, r10
call fcn.14002b720
cmp byte [rax + 8], 0
jne 0x140040d9a
mov dword [r10 + 0x490c], 2
add r11, 4
lea rax, [rsp + 0x44]
cmp r11, rax
jne 0x140040d30
mov edx, dword [r10 + 0x4928]
xor r14d, r14d
mov dword [r10 + 0x48f8], r14d
test edx, edx
je 0x140040ed8
mov r9, qword [r10 + 0x48d8]
mov rsi, r10
test r9, r9
je 0x140040ed8
cmp dword [r10 + 0x48e0], edx
je 0x140040df9
mov dword [r10 + 0x48f8], edx
mov eax, dword [r10 + 0x492c]
mov dword [r10 + 0x48fc], eax
mov dword [r10 + 0x4900], r14d
test byte [r10 + 0x5ce4], 8
je 0x140040e21
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [r10 + 0x4910]
call fcn.140045820
mov r10, qword [0x1401b52a8]
mov eax, dword [rsi + 0x492c]
movsxd rcx, dword [rsi + 0x4910]
mov edx, dword [rsi + 0x4928]
mov r8, rcx
mov dword [r10 + 0x48e4], eax
add r8, r8
mov rax, qword [r10 + 0x48d8]
mov dword [r10 + 0x48e0], edx
mov dword [r10 + 0x4910], ecx
mov dword [rax + rcx*4 + 0x3a0], edx
mov rax, qword [r10 + 0x48d8]
vmovups xmm0, xmmword [rsi + 0x4930]
vmovups xmmword [rax + r8*8 + 0x3a8], xmm0
mov rax, qword [r10 + 0x48d8]
movsxd rdx, dword [r10 + 0x4910]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3c8], 0x7f7fffff
mov rax, qword [r10 + 0x48d8]
movsxd rdx, dword [r10 + 0x4910]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3cc], 0x7f7fffff
mov byte [rsi + 0x4914], 1
cmp byte [rsi + 0x491a], r14b
je 0x140040ed8
mov word [r10 + 0x4915], 1
mov byte [r10 + 0x4917], 1
cmp byte [rbx + 0x4950], 0
mov word [rbx + 0x4919], 0
mov dword [rbx + 0x4928], r14d
je 0x140040ef6
call fcn.1400421f0
xor r12b, r12b
mov dword [rbx + 0x4994], r14d
mov ebp, 1
mov word [rbx + 0x4950], 0
cmp byte [rbx + 0x4915], r12b
je 0x140040f42
cmp byte [rbx + 0x4914], r12b
je 0x140040f42
cmp byte [rbx + 0x4916], r12b
jne 0x140040f42
cmp byte [rbx + 0x4917], r12b
je 0x140040f42
cmp qword [rbx + 0x48d8], 0
movzx r12d, r12b
cmovne r12d, ebp
mov rcx, qword [rbx + 0x48d8]
mov byte [rbx + 0x4915], 0
test rcx, rcx
je 0x140040f8c
mov rax, rcx
nop dword [rax + rax]
cmp qword [rax + 0x378], rax
je 0x140040f80
test dword [rax + 0x14], 0x14000000
jne 0x140040f80
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140040f60
jmp 0x140040f8c
cmp rax, rcx
je 0x140040f8c
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x140040fb2
cmp qword [rax + 0x398], 0
je 0x140040fb2
cmp dword [rbx + 0x4910], 0
jne 0x140040fb2
mov qword [rax + 0x398], r14
call fcn.1400431a0
test r13b, r13b
jne 0x140040fc5
test dil, dil
je 0x1400410f1
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x1400410f1
test dword [rax + 0x14], 0x40000
jne 0x1400410f1
mov byte [rbx + 0xdd], bpl
cmp dword [rbx + 0x48e0], 0
je 0x1400410f8
cmp byte [rbx + 0x4916], 0
jne 0x1400410f8
movzx eax, bpl
mov byte [rbx + 0xde], al
call fcn.140042660
cmp dword [rbx + 0x48e0], 0
mov qword [rbx + 0x48ec], 0
mov dword [rbx + 0x48e8], r14d
mov dword [rbx + 0x48f4], r14d
je 0x140041223
cmp byte [rbx + 0x4916], 0
jne 0x140041223
cmp qword [rbx + 0x4a60], 0
jne 0x140041223
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x140041223
test dword [rax + 0x14], 0x40000
jne 0x140041223
mov rsi, qword [0x1401b52a8]
test r13b, r13b
je 0x140041097
mov edx, 0x20c
mov rcx, rsi
call fcn.14003aac0
cmp byte [rax], 0
je 0x140041097
cmp byte [rsi + 0x4038], 0
je 0x1400410b7
test dil, dil
je 0x14004110d
mov edx, 0x26e
mov rcx, rsi
call fcn.14003aac0
cmp byte [rax], 0
je 0x14004110d
cmp byte [rsi + 0x44d0], 0
jne 0x14004110d
movzx r15d, bpl
test r13b, r13b
je 0x1400410d3
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.14003b260
test al, al
jne 0x1400410eb
test dil, dil
je 0x140041110
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.14003b260
test al, al
je 0x140041110
movzx r14d, bpl
jmp 0x140041113
mov byte [rbx + 0xdd], 0
cmp qword [rbx + 0x4a60], 0
jne 0x140041003
xor al, al
jmp 0x140041007
xor r15b, r15b
xor r14b, r14b
test r13b, r13b
je 0x140041133
mov edx, 0x20d
mov rcx, rsi
call fcn.14003aac0
cmp byte [rax], 0
je 0x140041133
cmp byte [rsi + 0x4044], 0
je 0x140041153
test dil, dil
je 0x14004118d
mov edx, 0x26d
mov rcx, rsi
call fcn.14003aac0
cmp byte [rax], 0
je 0x14004118d
cmp byte [rsi + 0x44c4], 0
jne 0x14004118d
movzx esi, bpl
test r13b, r13b
je 0x14004116f
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.14003b260
test al, al
jne 0x140041187
test dil, dil
je 0x140041190
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.14003b260
test al, al
je 0x140041190
movzx edx, bpl
jmp 0x140041192
xor sil, sil
xor dl, dl
mov ecx, dword [rbx + 0x3f58]
test ecx, ecx
jne 0x1400411b9
test r14b, r14b
je 0x1400411c1
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48e8], eax
mov dword [rbx + 0x48f4], 2
jmp 0x1400411c1
cmp ecx, dword [rbx + 0x48e0]
jne 0x14004121a
test dl, dl
je 0x1400411d7
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48e8], eax
mov dword [rbx + 0x48f4], ebp
test ecx, ecx
je 0x1400411e3
cmp ecx, dword [rbx + 0x48e0]
jne 0x14004121a
test r15b, r15b
jne 0x1400411ed
test sil, sil
je 0x1400411f9
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48ec], eax
test ecx, ecx
je 0x140041205
cmp ecx, dword [rbx + 0x48e0]
jne 0x14004121a
test r14b, r14b
jne 0x14004120e
test dl, dl
je 0x14004121a
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48f0], eax
mov r15d, 3
xor r14d, r14d
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x14004123f
test dword [rax + 0x14], 0x40000
je 0x14004123f
mov byte [rbx + 0x4916], bpl
mov eax, dword [rbx + 0x4904]
test eax, eax
je 0x140041267
mov dword [rbx + 0x48f0], eax
mov dword [rbx + 0x48ec], eax
mov dword [rbx + 0x48e8], eax
mov eax, dword [rbx + 0x4908]
mov dword [rbx + 0x48f4], eax
mov dword [rbx + 0x4904], r14d
call fcn.140041750
cmp dword [rbx + 0x4960], 0xffffffff
mov rsi, qword [0x1401b52a8]
vxorps xmm9, xmm9, xmm9
jne 0x1400413ce
mov r11, qword [rsi + 0x48d8]
test r11, r11
je 0x1400413ce
cmp qword [rsi + 0x4a60], 0
jne 0x1400413ce
test dword [r11 + 0x14], 0x40000
jne 0x1400413ce
mov edx, 0x200
mov rcx, rsi
call fcn.14003aac0
cmp byte [rax], 0
je 0x1400413ce
vmovss xmm0, dword [rax + 4]
vcomiss xmm0, xmm9
jb 0x1400413ce
vucomiss xmm0, xmm9
mov r10, rsi
je 0x14004130e
vmovss xmm1, dword [rsi + 0x3c]
vcomiss xmm0, xmm1
jbe 0x1400413ce
vmovss xmm2, dword [rsi + 0x40]
mov ecx, 0x200
call fcn.14003ac50
test eax, eax
jle 0x1400413ce
cmp byte [r10 + 0x476c], 0
je 0x140041326
cmp dword [r10 + 0x3f58], 0xffffffff
jne 0x1400413ce
cmp dword [r10 + 0x3fa0], 0xffffffff
jne 0x1400413ce
cmp byte [rsi + 0xe24], 0
jne 0x1400413ce
cmp byte [rsi + 0xe26], 0
jne 0x1400413ce
movzx eax, byte [rsi + 0xe25]
test byte [rsi + 8], bpl
je 0x14004137d
test al, al
je 0x140041366
mov ebp, 0xffffffff
jmp 0x140041396
cmp byte [rsi + 0x4916], bpl
jne 0x140041396
cmp dword [rsi + 0x3f58], 0
jne 0x140041396
mov ebp, r14d
jmp 0x140041396
test al, al
je 0x140041388
mov ebp, 0xffffffff
jmp 0x140041396
cmp dword [rsi + 0x3f58], 0
mov ebp, r14d
setne bpl
mov dword [rsi + 0x4990], ebp
mov eax, 0x21
cmp byte [r11 + 0xbc], 0
mov r8d, 0x400
cmovne r15d, eax
sar ebp, 0x1f
mov r9d, r15d
lea ecx, [rax - 0x22]
lea edx, [rbp + 3]
call fcn.1400403e0
mov dword [rsi + 0x4994], 0xffffffff
cmp byte [rsi + 0x4951], 0
mov r15, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xe0]
jne 0x1400413f4
cmp byte [rsi + 0x4919], 0
jne 0x1400413f4
xor al, al
jmp 0x1400413f6
mov al, 1
mov byte [rsi + 0x4918], al
mov r11, qword [rbx + 0x48d8]
mov byte [rbx + 0x4914], 0
test r11, r11
je 0x1400416b6
test dword [r11 + 0x14], 0x40000
jne 0x1400416b6
cmp qword [rbx + 0x4a60], 0
jne 0x1400416b6
mov rax, qword [r11]
vmovaps xmmword [rsp + 0xa0], xmm6
vmovss xmm0, dword [rax + 0x3c24]
mov rax, qword [r11 + 0x368]
vmulss xmm1, xmm0, dword [r11 + 0x290]
test rax, rax
je 0x140041460
vmulss xmm1, xmm1, dword [rax + 0x290]
cmp word [r11 + 0x15c], 0
vmulss xmm0, xmm1, dword [0x1400d7328]
vmovss xmm1, dword [rbx + 0x18]
vfmadd213ss xmm1, xmm0, dword [0x1400d70d4]
mov ecx, dword [rbx + 0x4960]
vcvttss2si eax, xmm1
vxorps xmm6, xmm6, xmm6
vcvtsi2ss xmm6, xmm6, eax
jne 0x14004154d
cmp byte [r11 + 0x162], 0
je 0x14004154d
cmp ecx, 0xffffffff
je 0x14004154d
vmovss xmm4, dword [0x1400d7860]
cmp ecx, 1
ja 0x1400414fe
vmovd xmm1, r14d
vmovd xmm0, ecx
vpcmpeqd xmm2, xmm0, xmm1
vxorps xmm3, xmm6, xmm4
vblendvps xmm1, xmm6, xmm3, xmm2
vaddss xmm0, xmm1, dword [r11 + 0x84]
vcvttss2si eax, xmm0
vxorps xmm2, xmm2, xmm2
vcvtsi2ss xmm2, xmm2, eax
vmovss dword [r11 + 0x94], xmm2
mov dword [r11 + 0x9c], r14d
mov dword [r11 + 0xa4], r14d
lea eax, [rcx - 2]
cmp eax, 1
ja 0x14004154d
mov eax, 2
mov dword [r11 + 0xa0], r14d
vmovd xmm1, eax
vmovd xmm0, ecx
vpcmpeqd xmm2, xmm0, xmm1
vxorps xmm3, xmm6, xmm4
vblendvps xmm1, xmm6, xmm3, xmm2
vaddss xmm0, xmm1, dword [r11 + 0x88]
vcvttss2si eax, xmm0
vxorps xmm2, xmm2, xmm2
vcvtsi2ss xmm2, xmm2, eax
vmovss dword [r11 + 0x98], xmm2
mov dword [r11 + 0xa8], r14d
test dil, dil
je 0x1400416ad
vmovaps xmmword [rsp + 0x90], xmm7
mov edx, 0x27b
mov rcx, rsi
vmovaps xmmword [rsp + 0x80], xmm8
call fcn.14003aac0
mov edx, 0x27a
mov rcx, rsi
mov r10, rax
call fcn.14003aac0
mov edx, 0x279
mov rcx, rsi
mov r9, rax
call fcn.14003aac0
vmovss xmm0, dword [r9 + 0xc]
mov edx, 0x27c
mov rcx, rsi
vsubss xmm8, xmm0, dword [rax + 0xc]
call fcn.14003aac0
mov edx, 0x273
mov rcx, rsi
vmovss xmm0, dword [rax + 0xc]
vsubss xmm7, xmm0, dword [r10 + 0xc]
call fcn.14003aac0
cmp byte [rax], 0
je 0x1400415dd
cmp byte [rsi + 0x450c], 0
jne 0x1400415dd
vmovss xmm1, dword [0x1400d7084]
jmp 0x140041623
mov edx, 0x274
mov rcx, rsi
call fcn.14003aac0
cmp byte [rax], 0
jne 0x1400415f3
xor al, al
jmp 0x1400415fd
cmp byte [rsi + 0x4518], 0
sete al
vmovss xmm2, dword [0x1400d7120]
vmovd xmm1, r14d
movzx eax, al
vmovd xmm0, eax
vpcmpeqd xmm3, xmm0, xmm1
vmovss xmm0, dword [0x1400d7270]
vblendvps xmm1, xmm0, xmm2, xmm3
vucomiss xmm8, xmm9
je 0x140041664
cmp byte [r11 + 0xb4], 0
je 0x140041664
vmulss xmm0, xmm8, xmm6
vfmadd213ss xmm0, xmm1, dword [r11 + 0x84]
vcvttss2si eax, xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vmovss dword [r11 + 0x94], xmm0
mov dword [r11 + 0x9c], r14d
mov dword [r11 + 0xa4], r14d
vucomiss xmm7, xmm9
vmovaps xmm8, xmmword [rsp + 0x80]
je 0x1400416a4
vmulss xmm0, xmm7, xmm6
vfmadd213ss xmm0, xmm1, dword [r11 + 0x88]
vcvttss2si eax, xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vmovss dword [r11 + 0x98], xmm0
mov dword [r11 + 0xa0], r14d
mov dword [r11 + 0xa8], r14d
vmovaps xmm7, xmmword [rsp + 0x90]
vmovaps xmm6, xmmword [rsp + 0xa0]
vmovaps xmm9, xmmword [rsp + 0x70]
test r13b, r13b
mov r13, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xe8]
jne 0x1400416e1
test dil, dil
jne 0x1400416e1
mov word [rbx + 0x4916], 1
jmp 0x14004172c
test r12b, r12b
je 0x14004172c
test byte [rbx + 8], 4
je 0x14004172c
test byte [rbx + 0xc], 4
je 0x14004172c
lea rcx, [rsp + 0x20]
call fcn.1400408e0
vmovss xmm0, dword [rax]
vmovss xmm1, dword [rax + 4]
vmovss dword [rbx + 0x36f0], xmm0
vmovss dword [rbx + 0x36f4], xmm1
vmovss dword [rbx + 0xe08], xmm0
vmovss dword [rbx + 0xe0c], xmm1
mov byte [rbx + 0xdb], 1
mov dword [rbx + 0x498c], r14d
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400bbf90
add rsp, 0xb8
pop r14
pop r12
pop rdi
pop rbx
ret