Function at 0x140040740
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 [0x14010b100]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r10, qword [0x14010e730]
mov ebp, 3
mov rbx, r10
test byte [r10 + 8], 2
mov byte [r10 + 0xcd], 0
je 0x140040836
test byte [r10 + 0xc], 1
je 0x140040836
movdqa xmm0, xmmword [0x1400f5350]
lea r11, [rsp + 0x48]
movdqa xmm1, xmmword [0x1400f5360]
mov r15b, 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.14003aaa0
cmp byte [rax], 0
je 0x140040826
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x14004080e
cmp r9d, 0x1000
je 0x14004080e
cmp r9d, 0x2000
je 0x14004080e
cmp r9d, 0x4000
je 0x14004080e
cmp r9d, 0x8000
je 0x14004080e
cmp r9d, 0x800
jne 0x14004081f
mov edx, r9d
mov rcx, r10
call fcn.14002c4e0
cmp byte [rax + 8], 0
jne 0x140040826
mov dword [r10 + 0x4914], ebp
add r11, 4
lea rax, [rsp + 0x68]
cmp r11, rax
jne 0x1400407c0
jmp 0x140040839
xor r15b, r15b
movzx r13d, byte [r10 + 8]
movdqa xmm0, xmmword [0x1400f5340]
mov dword [rsp + 0x38], 0x201
mov dword [rsp + 0x3c], 0x203
mov dword [rsp + 0x40], 0x204
movdqu xmmword [rsp + 0x28], xmm0
and r13b, 1
je 0x1400408e8
lea r11, [rsp + 0x28]
nop
mov r9d, dword [r11]
mov rcx, r10
mov edx, r9d
call fcn.14003aaa0
cmp byte [rax], 0
je 0x1400408da
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x1400408be
cmp r9d, 0x1000
je 0x1400408be
cmp r9d, 0x2000
je 0x1400408be
cmp r9d, 0x4000
je 0x1400408be
cmp r9d, 0x8000
je 0x1400408be
cmp r9d, 0x800
jne 0x1400408cf
mov edx, r9d
mov rcx, r10
call fcn.14002c4e0
cmp byte [rax + 8], 0
jne 0x1400408da
mov dword [r10 + 0x4914], 2
add r11, 4
lea rax, [rsp + 0x44]
cmp r11, rax
jne 0x140040870
mov edx, dword [r10 + 0x4938]
xor r14d, r14d
mov dword [r10 + 0x4900], r14d
test edx, edx
je 0x140040a2a
mov r9, qword [r10 + 0x48e0]
mov rdi, r10
test r9, r9
je 0x140040a2a
cmp dword [r10 + 0x48e8], edx
je 0x140040939
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 0x140040961
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.1400452c0
mov r10, qword [0x14010e730]
mov eax, dword [rdi + 0x493c]
movsxd rcx, dword [rdi + 0x4918]
mov edx, dword [rdi + 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 [rdi + 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 [rdi + 0x4928], 1
mov rax, qword [rdi + 0x4958]
cmp rax, 0xffffffffffffffff
je 0x140040a0f
mov qword [rdi + 0x4920], rax
cmp byte [rdi + 0x492e], r14b
je 0x140040a2a
mov word [r10 + 0x4929], 1
mov byte [r10 + 0x492b], 1
mov word [rbx + 0x492d], r14w
mov dword [rbx + 0x4938], r14d
cmp byte [rbx + 0x4970], r14b
je 0x140040a47
call fcn.140041cb0
xor r12b, r12b
mov dword [rbx + 0x49b4], r14d
mov esi, 1
mov word [rbx + 0x4970], r14w
cmp byte [rbx + 0x4929], r12b
je 0x140040a91
cmp byte [rbx + 0x4928], r12b
je 0x140040a91
cmp byte [rbx + 0x492a], r12b
jne 0x140040a91
cmp byte [rbx + 0x492b], r12b
je 0x140040a91
cmp qword [rbx + 0x48e0], r14
movzx r12d, r12b
cmovne r12d, esi
mov rcx, qword [rbx + 0x48e0]
mov byte [rbx + 0x4929], r14b
test rcx, rcx
je 0x140040ad3
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x140040ac7
test dword [rax + 0x14], 0x14000000
jne 0x140040ac7
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140040aa7
jmp 0x140040ad3
cmp rax, rcx
je 0x140040ad3
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48e0]
test rax, rax
je 0x140040af8
cmp qword [rax + 0x398], r14
je 0x140040af8
cmp dword [rbx + 0x4918], r14d
jne 0x140040af8
mov qword [rax + 0x398], r14
call fcn.140042c70
test r13b, r13b
jne 0x140040b0b
test r15b, r15b
je 0x140040c20
mov rax, qword [rbx + 0x48e0]
test rax, rax
je 0x140040c20
test dword [rax + 0x14], 0x40000
jne 0x140040c20
mov byte [rbx + 0xcf], sil
cmp dword [rbx + 0x48e8], r14d
je 0x140040c27
cmp byte [rbx + 0x492a], r14b
jne 0x140040c27
movzx eax, sil
mov byte [rbx + 0xd0], al
call fcn.140042170
mov qword [rbx + 0x48f4], r14
mov dword [rbx + 0x48f0], r14d
mov dword [rbx + 0x48fc], r14d
cmp dword [rbx + 0x48e8], r14d
je 0x140040d41
cmp byte [rbx + 0x492a], r14b
jne 0x140040d41
cmp qword [rbx + 0x4ac0], r14
jne 0x140040d41
mov rax, qword [rbx + 0x48e0]
test rax, rax
je 0x140040d41
test dword [rax + 0x14], 0x40000
jne 0x140040d41
mov rdi, qword [0x14010e730]
test r13b, r13b
je 0x140040bcf
cmp byte [rdi + 0x2ee4], r14b
je 0x140040bcf
cmp byte [rdi + 0x4020], r14b
je 0x140040be6
test r15b, r15b
je 0x140040c3b
cmp byte [rdi + 0x3504], r14b
je 0x140040c3b
cmp byte [rdi + 0x44b8], r14b
jne 0x140040c3b
movzx r14d, sil
test r13b, r13b
je 0x140040c02
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.14003b1d0
test al, al
jne 0x140040c1a
test r15b, r15b
je 0x140040c3b
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.14003b1d0
test al, al
je 0x140040c3b
movzx ebp, sil
jmp 0x140040c3e
mov byte [rbx + 0xcf], r14b
cmp qword [rbx + 0x4ac0], r14
jne 0x140040b49
xor al, al
jmp 0x140040b4d
xor bpl, bpl
test r13b, r13b
je 0x140040c55
cmp byte [rdi + 0x2ef4], 0
je 0x140040c55
cmp byte [rdi + 0x402c], 0
je 0x140040c6c
test r15b, r15b
je 0x140040ca6
cmp byte [rdi + 0x34f4], 0
je 0x140040ca6
cmp byte [rdi + 0x44ac], 0
jne 0x140040ca6
movzx edi, sil
test r13b, r13b
je 0x140040c88
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.14003b1d0
test al, al
jne 0x140040ca0
test r15b, r15b
je 0x140040ca9
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.14003b1d0
test al, al
je 0x140040ca9
movzx edx, sil
jmp 0x140040cab
xor dil, dil
xor dl, dl
mov ecx, dword [rbx + 0x3f40]
test ecx, ecx
jne 0x140040cd2
test bpl, bpl
je 0x140040cda
mov eax, dword [rbx + 0x48e8]
mov dword [rbx + 0x48f0], eax
mov dword [rbx + 0x48fc], 2
jmp 0x140040cda
cmp ecx, dword [rbx + 0x48e8]
jne 0x140040d12
test dl, dl
je 0x140040cf0
mov eax, dword [rbx + 0x48e8]
mov dword [rbx + 0x48f0], eax
mov dword [rbx + 0x48fc], esi
test ecx, ecx
je 0x140040cfc
cmp ecx, dword [rbx + 0x48e8]
jne 0x140040d12
test r14b, r14b
jne 0x140040d06
test dil, dil
je 0x140040d12
mov eax, dword [rbx + 0x48e8]
mov dword [rbx + 0x48f4], eax
mov eax, dword [rbx + 0x3f40]
test eax, eax
je 0x140040d24
cmp eax, dword [rbx + 0x48e8]
jne 0x140040d39
test bpl, bpl
jne 0x140040d2d
test dl, dl
je 0x140040d39
mov eax, dword [rbx + 0x48e8]
mov dword [rbx + 0x48f8], eax
mov ebp, 3
xor r14d, r14d
mov rax, qword [rbx + 0x48e0]
test rax, rax
je 0x140040d5d
test dword [rax + 0x14], 0x40000
je 0x140040d5d
mov byte [rbx + 0x492a], sil
mov eax, dword [rbx + 0x490c]
test eax, eax
je 0x140040d85
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.1400411b0
cmp dword [rbx + 0x4980], 0xffffffff
xorps xmm5, xmm5
mov rdi, qword [0x14010e730]
jne 0x140040ee2
mov r11, qword [rdi + 0x48e0]
test r11, r11
je 0x140040ee2
cmp qword [rdi + 0x4ac0], 0
jne 0x140040ee2
test dword [r11 + 0x14], 0x40000
jne 0x140040ee2
cmp byte [rdi + 0x2e24], 0
je 0x140040ee2
movss xmm0, dword [rdi + 0x2e28]
comiss xmm5, xmm0
ja 0x140040ee2
ucomiss xmm0, xmm5
mov r10, rdi
jp 0x140040dfc
je 0x140040e21
movss xmm1, dword [rdi + 0x70]
comiss xmm0, xmm1
jbe 0x140040ee2
movss xmm2, dword [rdi + 0x74]
mov ecx, 0x200
call fcn.14003abf0
test eax, eax
jle 0x140040ee2
cmp byte [r10 + 0x4754], 0
je 0x140040e39
cmp dword [r10 + 0x3f40], 0xffffffff
jne 0x140040ee2
cmp dword [r10 + 0x3f88], 0xffffffff
jne 0x140040ee2
cmp byte [rdi + 0xe1c], 0
jne 0x140040ee2
cmp byte [rdi + 0xe1e], 0
jne 0x140040ee2
movzx eax, byte [rdi + 0xe1d]
test byte [rdi + 8], sil
je 0x140040e90
test al, al
je 0x140040e79
mov esi, 0xffffffff
jmp 0x140040ea9
cmp byte [rdi + 0x492a], sil
jne 0x140040ea9
cmp dword [rdi + 0x3f40], 0
jne 0x140040ea9
mov esi, r14d
jmp 0x140040ea9
test al, al
je 0x140040e9b
mov esi, 0xffffffff
jmp 0x140040ea9
cmp dword [rdi + 0x3f40], 0
mov esi, r14d
setne sil
mov dword [rdi + 0x49b0], esi
mov eax, 0x21
cmp byte [r11 + 0xbc], 0
mov ecx, 0xffffffff
mov r8d, 0x1400
cmovne ebp, eax
sar esi, 0x1f
mov r9d, ebp
lea edx, [rsi + 3]
call fcn.14003ffe0
mov dword [rdi + 0x49b4], 0xffffffff
cmp byte [rdi + 0x4971], 0
jne 0x140040ef8
cmp byte [rdi + 0x492d], 0
jne 0x140040ef8
xor al, al
jmp 0x140040efa
mov al, 1
mov byte [rdi + 0x492c], al
mov rcx, qword [rbx + 0x48e0]
mov byte [rbx + 0x4928], 0
test rcx, rcx
je 0x140041106
test dword [rcx + 0x14], 0x40000
jne 0x140041106
cmp qword [rbx + 0x4ac0], 0
jne 0x140041106
mov rax, qword [rcx]
movss xmm0, dword [rax + 0x3c1c]
mov rax, qword [rcx + 0x368]
mulss xmm0, dword [rcx + 0x290]
test rax, rax
je 0x140040f59
mulss xmm0, dword [rax + 0x290]
cmp word [rcx + 0x15c], 0
mulss xmm0, dword [0x1400f5168]
mov edx, dword [rbx + 0x4980]
movss xmm2, dword [0x1400f5098]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x1400f5058]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x14004102b
cmp byte [rcx + 0x162], 0
je 0x14004102b
cmp edx, 0xffffffff
je 0x14004102b
movss xmm1, dword [0x1400f51f0]
test edx, edx
je 0x140040fc1
cmp edx, 1
jne 0x140040ff1
movaps xmm0, xmm2
jmp 0x140040fc4
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 0x140040ffe
cmp edx, 3
jne 0x14004102b
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 r15b, r15b
je 0x140041106
cmp byte [rdi + 0x3554], 0
mov rax, rdi
movss xmm1, dword [rdi + 0x35f0]
movss xmm0, dword [rdi + 0x35d0]
subss xmm1, dword [rdi + 0x35e0]
subss xmm0, dword [rdi + 0x35c0]
je 0x140041073
cmp byte [rdi + 0x44f4], 0
jne 0x140041073
movss xmm2, dword [0x1400f5034]
jmp 0x14004108d
cmp byte [rax + 0x3564], 0
je 0x14004108d
cmp byte [rax + 0x4500], 0
jne 0x14004108d
movss xmm2, dword [0x1400f511c]
ucomiss xmm0, xmm5
jp 0x140041094
je 0x1400410ce
cmp byte [rcx + 0xb4], 0
je 0x1400410ce
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 0x1400410d5
je 0x140041106
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 0x14004111b
test r15b, r15b
jne 0x14004111b
mov word [rbx + 0x492a], 1
jmp 0x140041171
test r12b, r12b
je 0x140041171
test byte [rbx + 8], 4
je 0x140041171
test byte [rbx + 0xc], 4
je 0x140041171
lea rcx, [rsp + 0x20]
call fcn.140040450
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x36e8], xmm0
movss dword [rdi + 0x36ec], xmm1
movss dword [rdi + 0xe00], xmm0
movss dword [rdi + 0xe04], xmm1
mov qword [rdi + 0xe8], 0
mov byte [rdi + 0xcd], 1
mov dword [rbx + 0x49ac], r14d
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140089aa0
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