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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rdi, qword [0x1801aa2d0]
xor r13d, r13d
mov rbx, rdi
test byte [rdi + 8], 2
lea ebp, [r13 + 1]
mov byte [rdi + 0xdb], r13b
je 0x18004205b
mov r15b, bpl
test byte [rdi + 0xc], bpl
jne 0x18004205e
mov r15b, r13b
movdqa xmm0, xmmword [0x180158810]
movdqa xmm1, xmmword [0x180158820]
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
test r15b, r15b
je 0x1800420a7
lea rsi, [rsp + 0x40]
mov ecx, dword [rsi]
call fcn.18003d850
test al, al
je 0x180042099
mov dword [rdi + 0x48dc], 3
add rsi, 4
lea rax, [rsp + 0x60]
cmp rsi, rax
jne 0x180042084
mov r12b, byte [rdi + 8]
movdqa xmm0, xmmword [0x180158800]
mov dword [rsp + 0x30], 0x201
mov dword [rsp + 0x34], 0x203
mov dword [rsp + 0x38], 0x204
movdqu xmmword [rsp + 0x20], xmm0
and r12b, bpl
je 0x1800420fe
lea rsi, [rsp + 0x20]
mov ecx, dword [rsi]
call fcn.18003d850
test al, al
je 0x1800420f0
mov dword [rdi + 0x48dc], 2
add rsi, 4
lea rax, [rsp + 0x3c]
cmp rsi, rax
jne 0x1800420db
mov edx, dword [rdi + 0x48ec]
test edx, edx
je 0x1800421ae
mov r9, qword [rdi + 0x48a8]
mov rsi, rdi
test r9, r9
je 0x1800421ae
test byte [rdi + 0x5c94], 8
lea r14, [rdi + 0x48e0]
je 0x180042149
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [r14]
call fcn.180045388
mov rdi, qword [0x1801aa2d0]
movsxd rax, dword [r14]
mov ecx, dword [rbx + 0x48ec]
mov rdx, rax
mov dword [rdi + 0x48e0], eax
mov rax, qword [rdi + 0x48a8]
mov dword [rdi + 0x48b0], ecx
mov dword [rdi + 0x48b4], r13d
mov dword [rax + rdx*4 + 0x3a0], ecx
add rdx, rdx
mov rax, qword [rdi + 0x48a8]
movups xmm0, xmmword [rsi + 0x48f0]
movdqu xmmword [rax + rdx*8 + 0x3a8], xmm0
mov byte [rsi + 0x48e4], bpl
cmp byte [rsi + 0x48ea], r13b
je 0x1800421ae
mov word [rdi + 0x48e5], bp
mov byte [rdi + 0x48e7], bpl
mov word [rbx + 0x48e9], r13w
mov dword [rbx + 0x48ec], r13d
mov dword [rbx + 0x48c8], r13d
cmp byte [rbx + 0x4900], r13b
je 0x1800421d2
call fcn.180042fa0
mov dword [rbx + 0x4944], r13d
mov word [rbx + 0x4900], r13w
movzx r14d, r13b
cmp byte [rbx + 0x48e5], r13b
je 0x180042214
cmp byte [rbx + 0x48e4], r13b
je 0x180042214
cmp byte [rbx + 0x48e6], r13b
jne 0x180042214
cmp byte [rbx + 0x48e7], r13b
je 0x180042214
cmp qword [rbx + 0x48a8], r13
cmovne r14d, ebp
mov rcx, qword [rbx + 0x48a8]
mov byte [rbx + 0x48e5], r13b
test rcx, rcx
je 0x180042259
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x18004224d
test dword [rax + 0x14], 0x14000000
jne 0x180042248
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x18004222a
test rax, rax
je 0x180042259
cmp rax, rcx
je 0x180042259
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48a8]
mov rcx, rax
test rax, rax
je 0x180042288
cmp qword [rax + 0x398], r13
je 0x180042288
cmp dword [rbx + 0x48e0], r13d
jne 0x180042288
mov qword [rax + 0x398], r13
mov rcx, qword [rbx + 0x48a8]
test r12b, r12b
jne 0x180042292
test r15b, r15b
je 0x1800422a3
test rcx, rcx
je 0x1800422a3
test dword [rcx + 0x14], 0x40000
mov al, bpl
je 0x1800422a6
mov al, r13b
mov byte [rbx + 0xdd], al
test al, al
je 0x1800422c2
cmp dword [rbx + 0x48b0], r13d
je 0x1800422c2
cmp byte [rbx + 0x48e6], r13b
je 0x1800422ce
mov al, r13b
cmp qword [rbx + 0x4a10], r13
je 0x1800422d1
mov al, bpl
mov byte [rbx + 0xde], al
call fcn.1800432b4
mov qword [rbx + 0x48bc], r13
mov dword [rbx + 0x48b8], r13d
mov dword [rbx + 0x48c4], r13d
cmp dword [rbx + 0x48b0], r13d
je 0x180042487
cmp byte [rbx + 0x48e6], r13b
jne 0x180042487
cmp qword [rbx + 0x4a10], r13
jne 0x180042487
mov rax, qword [rbx + 0x48a8]
test rax, rax
je 0x180042487
test dword [rax + 0x14], 0x40000
jne 0x180042487
mov esi, 0x26e
lea edi, [rsi - 0x62]
test r12b, r12b
je 0x18004234d
mov ecx, edi
call fcn.18003d850
test al, al
jne 0x18004235d
test r15b, r15b
je 0x18004238c
mov ecx, esi
call fcn.18003d850
test al, al
je 0x18004238c
test r12b, r12b
je 0x180042372
xor r8d, r8d
xor edx, edx
mov ecx, edi
call fcn.18003d888
test al, al
jne 0x180042387
test r15b, r15b
je 0x18004238f
xor r8d, r8d
xor edx, edx
mov ecx, esi
call fcn.18003d888
test al, al
je 0x18004238f
mov dil, bpl
jmp 0x180042392
mov bpl, r13b
mov dil, r13b
test r12b, r12b
je 0x1800423a5
mov ecx, 0x20d
call fcn.18003d850
test al, al
jne 0x1800423b8
test r15b, r15b
je 0x1800423f0
mov ecx, 0x26d
call fcn.18003d850
test al, al
je 0x1800423f0
mov sil, 1
test r12b, r12b
je 0x1800423d3
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.18003d888
test al, al
jne 0x1800423eb
test r15b, r15b
je 0x1800423f3
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.18003d888
test al, al
je 0x1800423f3
mov dl, sil
jmp 0x1800423f6
mov sil, r13b
mov dl, r13b
mov ecx, dword [rbx + 0x3f28]
test ecx, ecx
jne 0x18004241d
test dil, dil
je 0x180042425
mov eax, dword [rbx + 0x48b0]
mov dword [rbx + 0x48b8], eax
mov dword [rbx + 0x48c4], 2
jmp 0x180042425
cmp ecx, dword [rbx + 0x48b0]
jne 0x180042482
test dl, dl
je 0x18004243f
mov eax, dword [rbx + 0x48b0]
mov dword [rbx + 0x48b8], eax
mov dword [rbx + 0x48c4], 1
test ecx, ecx
je 0x18004244b
cmp ecx, dword [rbx + 0x48b0]
jne 0x180042482
test bpl, bpl
jne 0x180042455
test sil, sil
je 0x180042461
mov eax, dword [rbx + 0x48b0]
mov dword [rbx + 0x48bc], eax
test ecx, ecx
je 0x18004246d
cmp ecx, dword [rbx + 0x48b0]
jne 0x180042482
test dil, dil
jne 0x180042476
test dl, dl
je 0x180042482
mov eax, dword [rbx + 0x48b0]
mov dword [rbx + 0x48c0], eax
mov ebp, 1
mov rax, qword [rbx + 0x48a8]
test rax, rax
je 0x1800424a3
test dword [rax + 0x14], 0x40000
je 0x1800424a3
mov byte [rbx + 0x48e6], bpl
mov eax, dword [rbx + 0x48d4]
test eax, eax
je 0x1800424cb
mov dword [rbx + 0x48c0], eax
mov dword [rbx + 0x48bc], eax
mov dword [rbx + 0x48b8], eax
mov eax, dword [rbx + 0x48d8]
mov dword [rbx + 0x48c4], eax
mov dword [rbx + 0x48d4], r13d
call fcn.180042880
cmp dword [rbx + 0x4910], 0xffffffff
mov rsi, qword [0x1801aa2d0]
jne 0x1800425b4
mov rdi, qword [rsi + 0x48a8]
test rdi, rdi
je 0x1800425b4
cmp qword [rsi + 0x4a10], r13
jne 0x1800425b4
test dword [rdi + 0x14], 0x40000
jne 0x1800425b4
mov r8d, ebp
or edx, 0xffffffff
mov ecx, 0x200
call fcn.18003d888
test al, al
je 0x1800425b4
cmp byte [rsi + 0xe24], r13b
jne 0x1800425b4
cmp byte [rsi + 0xe26], r13b
jne 0x1800425b4
mov al, byte [rsi + 0xe25]
test byte [rsi + 8], bpl
je 0x18004256f
test al, al
je 0x180042554
or edx, 0xffffffff
jmp 0x180042580
cmp byte [rsi + 0x48e6], bpl
jne 0x18004256b
cmp dword [rsi + 0x3f28], r13d
jne 0x18004256b
mov edx, r13d
jmp 0x180042580
mov edx, ebp
jmp 0x180042580
test al, al
jne 0x18004254f
cmp dword [rsi + 0x3f28], r13d
mov edx, r13d
setne dl
mov dword [rsi + 0x4940], edx
mov r8d, 0x400
mov al, byte [rdi + 0xbc]
neg al
sbb r9d, r9d
sar edx, 0x1f
and r9d, 0x1e
add edx, 3
add r9d, 3
or ecx, 0xffffffff
call fcn.180041a04
or dword [rsi + 0x4944], 0xffffffff
cmp byte [rsi + 0x4901], r13b
jne 0x1800425c9
mov al, r13b
cmp byte [rsi + 0x48e9], r13b
je 0x1800425cc
mov al, bpl
mov byte [rsi + 0x48e8], al
mov rdi, qword [rbx + 0x48a8]
mov byte [rbx + 0x48e4], r13b
test rdi, rdi
je 0x1800427f6
test dword [rdi + 0x14], 0x40000
jne 0x1800427f6
cmp qword [rbx + 0x4a10], r13
jne 0x1800427f6
mov rax, qword [rdi]
movss xmm0, dword [rax + 0x3c2c]
mov rax, qword [rdi + 0x368]
mulss xmm0, dword [rdi + 0x290]
test rax, rax
je 0x18004262a
mulss xmm0, dword [rax + 0x290]
mulss xmm0, dword [0x180158660]
mov ecx, dword [rbx + 0x4910]
movss xmm2, dword [0x18015851c]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x1801584c4]
cvttss2si eax, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
cmp word [rdi + 0x15c], r13w
jne 0x1800426f7
cmp byte [rdi + 0x161], r13b
je 0x1800426f7
cmp ecx, 0xffffffff
je 0x1800426f7
movss xmm1, dword [0x180158720]
test ecx, ecx
je 0x18004268d
cmp ecx, ebp
jne 0x1800426bd
movaps xmm0, xmm2
jmp 0x180042690
movaps xmm0, xmm1
mulss xmm0, xmm4
mov dword [rdi + 0x9c], r13d
mov dword [rdi + 0xa4], r13d
addss xmm0, dword [rdi + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x94], xmm0
cmp ecx, 2
je 0x1800426ca
cmp ecx, 3
jne 0x1800426f7
movaps xmm1, xmm2
mulss xmm1, xmm4
mov dword [rdi + 0xa0], r13d
mov dword [rdi + 0xa8], r13d
addss xmm1, dword [rdi + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x98], xmm0
test r15b, r15b
je 0x1800427f6
mov edx, 0x27b
mov rcx, rsi
call fcn.18003d20c
mov edx, 0x279
mov rcx, rsi
mov r10, rax
call fcn.18003d20c
mov edx, 0x27a
mov rcx, rsi
mov r9, rax
call fcn.18003d20c
mov edx, 0x27c
mov rcx, rsi
movss xmm0, dword [rax + 0xc]
subss xmm0, dword [r9 + 0xc]
call fcn.18003d20c
mov ecx, 0x273
movss xmm1, dword [rax + 0xc]
subss xmm1, dword [r10 + 0xc]
call fcn.18003d850
test al, al
je 0x180042768
movss xmm2, dword [0x180158464]
jmp 0x18004277e
mov ecx, 0x274
call fcn.18003d850
test al, al
je 0x18004277e
movss xmm2, dword [0x1801585ec]
xorps xmm3, xmm3
ucomiss xmm0, xmm3
je 0x1800427c0
cmp byte [rdi + 0xb4], r13b
je 0x1800427c0
mulss xmm0, xmm4
mov dword [rdi + 0x9c], r13d
mov dword [rdi + 0xa4], r13d
mulss xmm0, xmm2
addss xmm0, dword [rdi + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x94], xmm0
ucomiss xmm1, xmm3
je 0x1800427f6
mulss xmm1, xmm4
mov dword [rdi + 0xa0], r13d
mov dword [rdi + 0xa8], r13d
mulss xmm1, xmm2
addss xmm1, dword [rdi + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x98], xmm0
test r12b, r12b
jne 0x18004280b
test r15b, r15b
jne 0x18004280b
mov word [rbx + 0x48e6], 1
jmp 0x180042859
test r14b, r14b
je 0x180042859
test byte [rbx + 8], 4
je 0x180042859
test byte [rbx + 0xc], 4
je 0x180042859
lea rcx, [rsp + 0x90]
call fcn.180041d80
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], bpl
lea r11, [rsp + 0x60]
mov dword [rbx + 0x493c], r13d
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret