Function at 0x1800516a0
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 [0x18022a710]
mov r13d, 3
mov rbx, rdi
test byte [rdi + 8], 2
mov byte [rdi + 0xd3], 0
je 0x180051726
test byte [rdi + 0xc], 1
je 0x180051726
movdqa xmm0, xmmword [0x1802029e0]
lea r11, [rsp + 0x40]
movdqa xmm1, xmmword [0x1802029f0]
mov sil, 1
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
mov ecx, dword [r11]
call fcn.18004bac0
test al, al
je 0x180051716
mov dword [rdi + 0x48fc], r13d
add r11, 4
lea rax, [rsp + 0x60]
cmp r11, rax
jne 0x180051703
jmp 0x180051729
xor sil, sil
movzx r14d, byte [rdi + 8]
movdqa xmm0, xmmword [0x1802029d0]
and r14b, 1
mov byte [rsp + 0x90], r14b
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x201
mov dword [rsp + 0x34], 0x203
mov dword [rsp + 0x38], 0x204
je 0x1800517e7
lea r10, [rsp + 0x20]
nop dword [rax + rax]
mov r9d, dword [r10]
mov rcx, rdi
mov edx, r9d
call fcn.18004b3e0
cmp byte [rax], 0
je 0x1800517d9
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x1800517be
cmp r9d, 0x1000
je 0x1800517be
cmp r9d, 0x2000
je 0x1800517be
cmp r9d, 0x4000
je 0x1800517be
cmp r9d, 0x8000
je 0x1800517be
cmp r9d, 0x800
jne 0x1800517cf
mov edx, r9d
mov rcx, rdi
call fcn.18003de20
cmp byte [rax + 8], 0
jne 0x1800517d9
mov dword [rdi + 0x48fc], 2
add r10, 4
lea rax, [rsp + 0x3c]
cmp r10, rax
jne 0x180051770
mov edx, dword [rdi + 0x4918]
xor r15d, r15d
mov dword [rdi + 0x48e8], r15d
test edx, edx
je 0x18005190a
mov r9, qword [rdi + 0x48c8]
mov rbp, rdi
test r9, r9
je 0x18005190a
cmp dword [rdi + 0x48d0], edx
je 0x180051833
mov dword [rdi + 0x48e8], edx
mov eax, dword [rdi + 0x491c]
mov dword [rdi + 0x48ec], eax
mov dword [rdi + 0x48f0], r15d
test byte [rdi + 0x5ce4], 8
je 0x18005185a
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rdi + 0x4900]
call fcn.180055c20
mov rdi, qword [0x18022a710]
mov eax, dword [rbp + 0x491c]
movsxd rcx, dword [rbp + 0x4900]
mov edx, dword [rbp + 0x4918]
mov r8, rcx
mov dword [rdi + 0x48d4], eax
add r8, r8
mov rax, qword [rdi + 0x48c8]
mov dword [rdi + 0x48d0], edx
mov dword [rdi + 0x4900], ecx
mov dword [rax + rcx*4 + 0x3a0], edx
mov rax, qword [rdi + 0x48c8]
movups xmm0, xmmword [rbp + 0x4920]
movups xmmword [rax + r8*8 + 0x3a8], xmm0
mov rax, qword [rdi + 0x48c8]
movsxd rdx, dword [rdi + 0x4900]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3c8], 0x7f7fffff
mov rax, qword [rdi + 0x48c8]
movsxd rdx, dword [rdi + 0x4900]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3cc], 0x7f7fffff
mov byte [rbp + 0x4904], 1
cmp byte [rbp + 0x490a], r15b
je 0x18005190a
mov word [rdi + 0x4905], 1
mov byte [rdi + 0x4907], 1
mov word [rbx + 0x4909], r15w
mov dword [rbx + 0x4918], r15d
cmp byte [rbx + 0x4940], r15b
je 0x180051927
call fcn.180052c00
xor r12b, r12b
mov dword [rbx + 0x4984], r15d
mov ebp, 1
mov word [rbx + 0x4940], r15w
cmp byte [rbx + 0x4905], r12b
je 0x180051971
cmp byte [rbx + 0x4904], r12b
je 0x180051971
cmp byte [rbx + 0x4906], r12b
jne 0x180051971
cmp byte [rbx + 0x4907], r12b
je 0x180051971
cmp qword [rbx + 0x48c8], r15
movzx r12d, r12b
cmovne r12d, ebp
mov rcx, qword [rbx + 0x48c8]
mov byte [rbx + 0x4905], r15b
test rcx, rcx
je 0x1800519b3
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x1800519a7
test dword [rax + 0x14], 0x14000000
jne 0x1800519a7
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x180051987
jmp 0x1800519b3
cmp rax, rcx
je 0x1800519b3
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48c8]
test rax, rax
je 0x1800519d8
cmp qword [rax + 0x398], r15
je 0x1800519d8
cmp dword [rbx + 0x4900], r15d
jne 0x1800519d8
mov qword [rax + 0x398], r15
call fcn.180053b60
test r14b, r14b
jne 0x1800519eb
test sil, sil
je 0x180051b12
mov rax, qword [rbx + 0x48c8]
test rax, rax
je 0x180051b12
test dword [rax + 0x14], 0x40000
jne 0x180051b12
mov byte [rbx + 0xd5], bpl
cmp dword [rbx + 0x48d0], r15d
je 0x180051b19
cmp byte [rbx + 0x4906], r15b
jne 0x180051b19
movzx eax, bpl
mov byte [rbx + 0xd6], al
call fcn.180053070
mov qword [rbx + 0x48dc], r15
mov dword [rbx + 0x48d8], r15d
mov dword [rbx + 0x48e4], r15d
cmp dword [rbx + 0x48d0], r15d
je 0x180051c4c
cmp byte [rbx + 0x4906], r15b
jne 0x180051c4c
cmp qword [rbx + 0x4a50], r15
jne 0x180051c4c
mov rax, qword [rbx + 0x48c8]
test rax, rax
je 0x180051c4c
test dword [rax + 0x14], 0x40000
jne 0x180051c4c
mov rdi, qword [0x18022a710]
test r14b, r14b
je 0x180051ab8
mov edx, 0x20c
mov rcx, rdi
call fcn.18004b3e0
cmp byte [rax], r15b
je 0x180051ab8
cmp byte [rdi + 0x4020], r15b
je 0x180051ad8
test sil, sil
je 0x180051b2d
mov edx, 0x26e
mov rcx, rdi
call fcn.18004b3e0
cmp byte [rax], r15b
je 0x180051b2d
cmp byte [rdi + 0x44b8], r15b
jne 0x180051b2d
movzx r15d, bpl
test r14b, r14b
je 0x180051af4
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.18004bb40
test al, al
jne 0x180051b0c
test sil, sil
je 0x180051b2d
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.18004bb40
test al, al
je 0x180051b2d
movzx r14d, bpl
jmp 0x180051b30
mov byte [rbx + 0xd5], r15b
cmp qword [rbx + 0x4a50], r15
jne 0x180051a29
xor al, al
jmp 0x180051a2d
xor r14b, r14b
movzx r9d, byte [rsp + 0x90]
test r9b, r9b
je 0x180051b59
mov edx, 0x20d
mov rcx, rdi
call fcn.18004b3e0
cmp byte [rax], 0
je 0x180051b59
cmp byte [rdi + 0x402c], 0
je 0x180051b79
test sil, sil
je 0x180051bb3
mov edx, 0x26d
mov rcx, rdi
call fcn.18004b3e0
cmp byte [rax], 0
je 0x180051bb3
cmp byte [rdi + 0x44ac], 0
jne 0x180051bb3
movzx edi, bpl
test r9b, r9b
je 0x180051b95
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.18004bb40
test al, al
jne 0x180051bad
test sil, sil
je 0x180051bb6
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.18004bb40
test al, al
je 0x180051bb6
movzx edx, bpl
jmp 0x180051bb8
xor dil, dil
xor dl, dl
mov ecx, dword [rbx + 0x3f40]
test ecx, ecx
jne 0x180051bdf
test r14b, r14b
je 0x180051be7
mov eax, dword [rbx + 0x48d0]
mov dword [rbx + 0x48d8], eax
mov dword [rbx + 0x48e4], 2
jmp 0x180051be7
cmp ecx, dword [rbx + 0x48d0]
jne 0x180051c40
test dl, dl
je 0x180051bfd
mov eax, dword [rbx + 0x48d0]
mov dword [rbx + 0x48d8], eax
mov dword [rbx + 0x48e4], ebp
test ecx, ecx
je 0x180051c09
cmp ecx, dword [rbx + 0x48d0]
jne 0x180051c40
test r15b, r15b
jne 0x180051c13
test dil, dil
je 0x180051c1f
mov eax, dword [rbx + 0x48d0]
mov dword [rbx + 0x48dc], eax
test ecx, ecx
je 0x180051c2b
cmp ecx, dword [rbx + 0x48d0]
jne 0x180051c40
test r14b, r14b
jne 0x180051c34
test dl, dl
je 0x180051c40
mov eax, dword [rbx + 0x48d0]
mov dword [rbx + 0x48e0], eax
movzx r14d, byte [rsp + 0x90]
xor r15d, r15d
mov rax, qword [rbx + 0x48c8]
test rax, rax
je 0x180051c68
test dword [rax + 0x14], 0x40000
je 0x180051c68
mov byte [rbx + 0x4906], bpl
mov eax, dword [rbx + 0x48f4]
test eax, eax
je 0x180051c90
mov dword [rbx + 0x48e0], eax
mov dword [rbx + 0x48dc], eax
mov dword [rbx + 0x48d8], eax
mov eax, dword [rbx + 0x48f8]
mov dword [rbx + 0x48e4], eax
mov dword [rbx + 0x48f4], r15d
call fcn.1800520f0
cmp dword [rbx + 0x4950], 0xffffffff
xorps xmm5, xmm5
mov rdi, qword [0x18022a710]
jne 0x180051df7
mov r11, qword [rdi + 0x48c8]
test r11, r11
je 0x180051df7
cmp qword [rdi + 0x4a50], 0
jne 0x180051df7
test dword [r11 + 0x14], 0x40000
jne 0x180051df7
mov edx, 0x200
mov rcx, rdi
call fcn.18004b3e0
cmp byte [rax], 0
je 0x180051df7
movss xmm0, dword [rax + 4]
comiss xmm5, xmm0
ja 0x180051df7
ucomiss xmm0, xmm5
jp 0x180051d0f
jne 0x180051d0f
mov r10, rdi
jmp 0x180051d37
movss xmm1, dword [rdi + 0x70]
mov r10, rdi
comiss xmm0, xmm1
jbe 0x180051df7
movss xmm2, dword [rdi + 0x74]
mov ecx, 0x200
call fcn.18004b570
test eax, eax
jle 0x180051df7
cmp byte [r10 + 0x4754], 0
je 0x180051d4f
cmp dword [r10 + 0x3f40], 0xffffffff
jne 0x180051df7
cmp dword [r10 + 0x3f88], 0xffffffff
jne 0x180051df7
cmp byte [rdi + 0xe1c], 0
jne 0x180051df7
cmp byte [rdi + 0xe1e], 0
jne 0x180051df7
movzx eax, byte [rdi + 0xe1d]
test byte [rdi + 8], bpl
je 0x180051da6
test al, al
je 0x180051d8f
mov ebp, 0xffffffff
jmp 0x180051dbf
cmp byte [rdi + 0x4906], bpl
jne 0x180051dbf
cmp dword [rdi + 0x3f40], 0
jne 0x180051dbf
mov ebp, r15d
jmp 0x180051dbf
test al, al
je 0x180051db1
mov ebp, 0xffffffff
jmp 0x180051dbf
cmp dword [rdi + 0x3f40], 0
mov ebp, r15d
setne bpl
mov dword [rdi + 0x4980], ebp
mov eax, 0x21
cmp byte [r11 + 0xbc], 0
mov r8d, 0x1400
cmovne r13d, eax
sar ebp, 0x1f
mov r9d, r13d
lea ecx, [rax - 0x22]
lea edx, [rbp + 3]
call fcn.180050ee0
mov dword [rdi + 0x4984], 0xffffffff
cmp byte [rdi + 0x4941], 0
jne 0x180051e0d
cmp byte [rdi + 0x4909], 0
jne 0x180051e0d
xor al, al
jmp 0x180051e0f
mov al, 1
mov byte [rdi + 0x4908], al
mov r11, qword [rbx + 0x48c8]
mov byte [rbx + 0x4904], 0
test r11, r11
je 0x180052067
test dword [r11 + 0x14], 0x40000
jne 0x180052067
cmp qword [rbx + 0x4a50], 0
jne 0x180052067
mov rax, qword [r11]
movss xmm0, dword [rax + 0x3c1c]
mov rax, qword [r11 + 0x368]
mulss xmm0, dword [r11 + 0x290]
test rax, rax
je 0x180051e70
mulss xmm0, dword [rax + 0x290]
cmp word [r11 + 0x15c], 0
mulss xmm0, dword [0x1802024bc]
mov ecx, dword [rbx + 0x4950]
movss xmm2, dword [0x180202328]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x1802022d8]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x180051f48
cmp byte [r11 + 0x162], 0
je 0x180051f48
cmp ecx, 0xffffffff
je 0x180051f48
movss xmm1, dword [0x180202604]
test ecx, ecx
je 0x180051eda
cmp ecx, 1
jne 0x180051f0c
movaps xmm0, xmm2
jmp 0x180051edd
movaps xmm0, xmm1
mulss xmm0, xmm3
mov dword [r11 + 0x9c], r15d
mov dword [r11 + 0xa4], r15d
addss xmm0, dword [r11 + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x94], xmm0
cmp ecx, 2
je 0x180051f19
cmp ecx, 3
jne 0x180051f48
movaps xmm1, xmm2
mulss xmm1, xmm3
mov dword [r11 + 0xa0], r15d
mov dword [r11 + 0xa8], r15d
addss xmm1, dword [r11 + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x98], xmm0
test sil, sil
je 0x180052067
mov edx, 0x27c
mov rcx, rdi
call fcn.18004b3e0
mov edx, 0x27a
mov rcx, rdi
mov r10, rax
call fcn.18004b3e0
mov edx, 0x279
mov rcx, rdi
mov r9, rax
call fcn.18004b3e0
movss xmm0, dword [r9 + 0xc]
mov edx, 0x27b
mov rcx, rdi
subss xmm0, dword [rax + 0xc]
call fcn.18004b3e0
movss xmm1, dword [r10 + 0xc]
mov edx, 0x273
mov rcx, rdi
subss xmm1, dword [rax + 0xc]
call fcn.18004b3e0
cmp byte [rax], 0
je 0x180051fc6
cmp byte [rdi + 0x44f4], 0
jne 0x180051fc6
movss xmm2, dword [0x180202288]
jmp 0x180051fe9
mov edx, 0x274
mov rcx, rdi
call fcn.18004b3e0
cmp byte [rax], 0
je 0x180051fe9
cmp byte [rdi + 0x4500], 0
jne 0x180051fe9
movss xmm2, dword [0x1802023e4]
ucomiss xmm0, xmm5
jp 0x180051ff0
je 0x18005202d
cmp byte [r11 + 0xb4], 0
je 0x18005202d
mulss xmm0, xmm3
mov dword [r11 + 0x9c], r15d
mov dword [r11 + 0xa4], r15d
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 0x180052034
je 0x180052067
mulss xmm1, xmm3
mov dword [r11 + 0xa0], r15d
mov dword [r11 + 0xa8], r15d
mulss xmm1, xmm2
addss xmm1, dword [r11 + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x98], xmm0
test r14b, r14b
jne 0x18005207c
test sil, sil
jne 0x18005207c
mov word [rbx + 0x4906], 1
jmp 0x1800520ca
test r12b, r12b
je 0x1800520ca
test byte [rbx + 8], 4
je 0x1800520ca
test byte [rbx + 0xc], 4
je 0x1800520ca
lea rcx, [rsp + 0x90]
call fcn.1800513d0
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x36e8], xmm0
movss dword [rbx + 0x36ec], xmm1
movss dword [rbx + 0xe00], xmm0
movss dword [rbx + 0xe04], xmm1
mov byte [rbx + 0xd3], 1
lea r11, [rsp + 0x60]
mov dword [rbx + 0x497c], r15d
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