Function at 0x140040110
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 [0x140108180]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r10, qword [0x14012e9a8]
mov r15d, 3
mov rbx, r10
test byte [r10 + 8], 2
mov byte [r10 + 0xdb], 0
je 0x140040206
test byte [r10 + 0xc], 1
je 0x140040206
movdqa xmm0, xmmword [0x1400ea6b0]
lea r11, [rsp + 0x48]
movdqa xmm1, xmmword [0x1400ea6c0]
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.14003a0f0
cmp byte [rax], 0
je 0x1400401f6
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x1400401de
cmp r9d, 0x1000
je 0x1400401de
cmp r9d, 0x2000
je 0x1400401de
cmp r9d, 0x4000
je 0x1400401de
cmp r9d, 0x8000
je 0x1400401de
cmp r9d, 0x800
jne 0x1400401ef
mov edx, r9d
mov rcx, r10
call fcn.14002acc0
cmp byte [rax + 8], 0
jne 0x1400401f6
mov dword [r10 + 0x490c], r15d
add r11, 4
lea rax, [rsp + 0x68]
cmp r11, rax
jne 0x140040190
jmp 0x140040209
xor dil, dil
movzx r13d, byte [r10 + 8]
movdqa xmm0, xmmword [0x1400ea6a0]
mov dword [rsp + 0x38], 0x201
mov dword [rsp + 0x3c], 0x203
mov dword [rsp + 0x40], 0x204
movdqu xmmword [rsp + 0x28], xmm0
and r13b, 1
je 0x1400402b8
lea r11, [rsp + 0x28]
nop
mov r9d, dword [r11]
mov rcx, r10
mov edx, r9d
call fcn.14003a0f0
cmp byte [rax], 0
je 0x1400402aa
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x14004028e
cmp r9d, 0x1000
je 0x14004028e
cmp r9d, 0x2000
je 0x14004028e
cmp r9d, 0x4000
je 0x14004028e
cmp r9d, 0x8000
je 0x14004028e
cmp r9d, 0x800
jne 0x14004029f
mov edx, r9d
mov rcx, r10
call fcn.14002acc0
cmp byte [rax + 8], 0
jne 0x1400402aa
mov dword [r10 + 0x490c], 2
add r11, 4
lea rax, [rsp + 0x44]
cmp r11, rax
jne 0x140040240
mov edx, dword [r10 + 0x4928]
xor r14d, r14d
mov dword [r10 + 0x48f8], r14d
test edx, edx
je 0x1400403e6
mov r9, qword [r10 + 0x48d8]
mov rsi, r10
test r9, r9
je 0x1400403e6
cmp dword [r10 + 0x48e0], edx
je 0x140040309
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 0x140040331
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.140044ce0
mov r10, qword [0x14012e9a8]
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]
movups xmm0, xmmword [rsi + 0x4930]
movups 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 0x1400403e6
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 0x140040404
call fcn.140041710
xor r12b, r12b
mov dword [rbx + 0x4994], r14d
mov ebp, 1
mov word [rbx + 0x4950], 0
cmp byte [rbx + 0x4915], r12b
je 0x140040450
cmp byte [rbx + 0x4914], r12b
je 0x140040450
cmp byte [rbx + 0x4916], r12b
jne 0x140040450
cmp byte [rbx + 0x4917], r12b
je 0x140040450
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 0x140040492
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x140040486
test dword [rax + 0x14], 0x14000000
jne 0x140040486
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140040466
jmp 0x140040492
cmp rax, rcx
je 0x140040492
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x1400404b8
cmp qword [rax + 0x398], 0
je 0x1400404b8
cmp dword [rbx + 0x4910], 0
jne 0x1400404b8
mov qword [rax + 0x398], r14
call fcn.140042690
test r13b, r13b
jne 0x1400404cb
test dil, dil
je 0x1400405f7
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x1400405f7
test dword [rax + 0x14], 0x40000
jne 0x1400405f7
mov byte [rbx + 0xdd], bpl
cmp dword [rbx + 0x48e0], 0
je 0x1400405fe
cmp byte [rbx + 0x4916], 0
jne 0x1400405fe
movzx eax, bpl
mov byte [rbx + 0xde], al
call fcn.140041b80
cmp dword [rbx + 0x48e0], 0
mov qword [rbx + 0x48ec], 0
mov dword [rbx + 0x48e8], r14d
mov dword [rbx + 0x48f4], r14d
je 0x140040729
cmp byte [rbx + 0x4916], 0
jne 0x140040729
cmp qword [rbx + 0x4a60], 0
jne 0x140040729
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x140040729
test dword [rax + 0x14], 0x40000
jne 0x140040729
mov rsi, qword [0x14012e9a8]
test r13b, r13b
je 0x14004059d
mov edx, 0x20c
mov rcx, rsi
call fcn.14003a0f0
cmp byte [rax], 0
je 0x14004059d
cmp byte [rsi + 0x4038], 0
je 0x1400405bd
test dil, dil
je 0x140040613
mov edx, 0x26e
mov rcx, rsi
call fcn.14003a0f0
cmp byte [rax], 0
je 0x140040613
cmp byte [rsi + 0x44d0], 0
jne 0x140040613
movzx r15d, bpl
test r13b, r13b
je 0x1400405d9
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.14003a850
test al, al
jne 0x1400405f1
test dil, dil
je 0x140040616
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.14003a850
test al, al
je 0x140040616
movzx r14d, bpl
jmp 0x140040619
mov byte [rbx + 0xdd], 0
cmp qword [rbx + 0x4a60], 0
jne 0x140040509
xor al, al
jmp 0x14004050d
xor r15b, r15b
xor r14b, r14b
test r13b, r13b
je 0x140040639
mov edx, 0x20d
mov rcx, rsi
call fcn.14003a0f0
cmp byte [rax], 0
je 0x140040639
cmp byte [rsi + 0x4044], 0
je 0x140040659
test dil, dil
je 0x140040693
mov edx, 0x26d
mov rcx, rsi
call fcn.14003a0f0
cmp byte [rax], 0
je 0x140040693
cmp byte [rsi + 0x44c4], 0
jne 0x140040693
movzx esi, bpl
test r13b, r13b
je 0x140040675
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.14003a850
test al, al
jne 0x14004068d
test dil, dil
je 0x140040696
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.14003a850
test al, al
je 0x140040696
movzx edx, bpl
jmp 0x140040698
xor sil, sil
xor dl, dl
mov ecx, dword [rbx + 0x3f58]
test ecx, ecx
jne 0x1400406bf
test r14b, r14b
je 0x1400406c7
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48e8], eax
mov dword [rbx + 0x48f4], 2
jmp 0x1400406c7
cmp ecx, dword [rbx + 0x48e0]
jne 0x140040720
test dl, dl
je 0x1400406dd
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48e8], eax
mov dword [rbx + 0x48f4], ebp
test ecx, ecx
je 0x1400406e9
cmp ecx, dword [rbx + 0x48e0]
jne 0x140040720
test r15b, r15b
jne 0x1400406f3
test sil, sil
je 0x1400406ff
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48ec], eax
test ecx, ecx
je 0x14004070b
cmp ecx, dword [rbx + 0x48e0]
jne 0x140040720
test r14b, r14b
jne 0x140040714
test dl, dl
je 0x140040720
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 0x140040745
test dword [rax + 0x14], 0x40000
je 0x140040745
mov byte [rbx + 0x4916], bpl
mov eax, dword [rbx + 0x4904]
test eax, eax
je 0x14004076d
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.140040be0
cmp dword [rbx + 0x4960], 0xffffffff
xorps xmm5, xmm5
mov rsi, qword [0x14012e9a8]
jne 0x1400408d4
mov r11, qword [rsi + 0x48d8]
test r11, r11
je 0x1400408d4
cmp qword [rsi + 0x4a60], 0
jne 0x1400408d4
test dword [r11 + 0x14], 0x40000
jne 0x1400408d4
mov edx, 0x200
mov rcx, rsi
call fcn.14003a0f0
cmp byte [rax], 0
je 0x1400408d4
movss xmm0, dword [rax + 4]
comiss xmm5, xmm0
ja 0x1400408d4
ucomiss xmm0, xmm5
jp 0x1400407ec
jne 0x1400407ec
mov r10, rsi
jmp 0x140040814
movss xmm1, dword [rsi + 0x3c]
mov r10, rsi
comiss xmm0, xmm1
jbe 0x1400408d4
movss xmm2, dword [rsi + 0x40]
mov ecx, 0x200
call fcn.14003a280
test eax, eax
jle 0x1400408d4
cmp byte [r10 + 0x476c], 0
je 0x14004082c
cmp dword [r10 + 0x3f58], 0xffffffff
jne 0x1400408d4
cmp dword [r10 + 0x3fa0], 0xffffffff
jne 0x1400408d4
cmp byte [rsi + 0xe24], 0
jne 0x1400408d4
cmp byte [rsi + 0xe26], 0
jne 0x1400408d4
movzx eax, byte [rsi + 0xe25]
test byte [rsi + 8], bpl
je 0x140040883
test al, al
je 0x14004086c
mov ebp, 0xffffffff
jmp 0x14004089c
cmp byte [rsi + 0x4916], bpl
jne 0x14004089c
cmp dword [rsi + 0x3f58], 0
jne 0x14004089c
mov ebp, r14d
jmp 0x14004089c
test al, al
je 0x14004088e
mov ebp, 0xffffffff
jmp 0x14004089c
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.14003f910
mov dword [rsi + 0x4994], 0xffffffff
cmp byte [rsi + 0x4951], 0
jne 0x1400408ea
cmp byte [rsi + 0x4919], 0
jne 0x1400408ea
xor al, al
jmp 0x1400408ec
mov al, 1
mov byte [rsi + 0x4918], al
mov r11, qword [rbx + 0x48d8]
mov byte [rbx + 0x4914], 0
test r11, r11
je 0x140040b44
test dword [r11 + 0x14], 0x40000
jne 0x140040b44
cmp qword [rbx + 0x4a60], 0
jne 0x140040b44
mov rax, qword [r11]
movss xmm0, dword [rax + 0x3c24]
mov rax, qword [r11 + 0x368]
mulss xmm0, dword [r11 + 0x290]
test rax, rax
je 0x14004094d
mulss xmm0, dword [rax + 0x290]
cmp word [r11 + 0x15c], 0
mulss xmm0, dword [0x1400ea47c]
mov ecx, dword [rbx + 0x4960]
movss xmm2, dword [0x1400ea314]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x1400ea2d4]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x140040a25
cmp byte [r11 + 0x162], 0
je 0x140040a25
cmp ecx, 0xffffffff
je 0x140040a25
movss xmm1, dword [0x1400ea51c]
test ecx, ecx
je 0x1400409b7
cmp ecx, 1
jne 0x1400409e9
movaps xmm0, xmm2
jmp 0x1400409ba
movaps xmm0, xmm1
mulss xmm0, xmm3
mov dword [r11 + 0x9c], r14d
mov dword [r11 + 0xa4], r14d
addss xmm0, dword [r11 + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x94], xmm0
cmp ecx, 2
je 0x1400409f6
cmp ecx, 3
jne 0x140040a25
movaps xmm1, xmm2
mulss xmm1, xmm3
mov dword [r11 + 0xa0], r14d
mov dword [r11 + 0xa8], r14d
addss xmm1, dword [r11 + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x98], xmm0
test dil, dil
je 0x140040b44
mov edx, 0x27b
mov rcx, rsi
call fcn.14003a0f0
mov edx, 0x27a
mov rcx, rsi
mov r10, rax
call fcn.14003a0f0
mov edx, 0x279
mov rcx, rsi
mov r9, rax
call fcn.14003a0f0
movss xmm0, dword [r9 + 0xc]
mov edx, 0x27c
mov rcx, rsi
subss xmm0, dword [rax + 0xc]
call fcn.14003a0f0
mov edx, 0x273
mov rcx, rsi
movss xmm1, dword [rax + 0xc]
subss xmm1, dword [r10 + 0xc]
call fcn.14003a0f0
cmp byte [rax], 0
je 0x140040aa3
cmp byte [rsi + 0x450c], 0
jne 0x140040aa3
movss xmm2, dword [0x1400ea2a8]
jmp 0x140040ac6
mov edx, 0x274
mov rcx, rsi
call fcn.14003a0f0
cmp byte [rax], 0
je 0x140040ac6
cmp byte [rsi + 0x4518], 0
jne 0x140040ac6
movss xmm2, dword [0x1400ea434]
ucomiss xmm0, xmm5
jp 0x140040acd
je 0x140040b0a
cmp byte [r11 + 0xb4], 0
je 0x140040b0a
mulss xmm0, xmm3
mov dword [r11 + 0x9c], r14d
mov dword [r11 + 0xa4], r14d
mulss xmm0, xmm2
addss xmm0, dword [r11 + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x94], xmm0
ucomiss xmm1, xmm5
jp 0x140040b11
je 0x140040b44
mulss xmm1, xmm3
mov dword [r11 + 0xa0], r14d
mov dword [r11 + 0xa8], r14d
mulss xmm1, xmm2
addss xmm1, dword [r11 + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x98], xmm0
test r13b, r13b
jne 0x140040b59
test dil, dil
jne 0x140040b59
mov word [rbx + 0x4916], 1
jmp 0x140040ba4
test r12b, r12b
je 0x140040ba4
test byte [rbx + 8], 4
je 0x140040ba4
test byte [rbx + 0xc], 4
je 0x140040ba4
lea rcx, [rsp + 0x20]
call fcn.14003fe00
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 + 0x498c], r14d
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400cf130
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