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

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r13
push r15
sub rsp, 0x60
mov rax, qword [0x180152870]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [r11 + 8], rbp
mov qword [r11 + 0x18], r14
mov r14d, 3
mov r11, qword [0x1801de218]
mov rbx, r11
test byte [r11 + 8], 2
mov byte [r11 + 0xdb], 0
je 0x1800490e5
test byte [r11 + 0xc], 1
je 0x1800490e5
movdqa xmm0, xmmword [0x1801236e0]
lea r9, [rsp + 0x30]
movdqa xmm1, xmmword [0x1801236f0]
mov r13b, 1
movdqu xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
nop
mov r10d, dword [r9]
mov ecx, r10d
call fcn.1800453f0
cmp byte [rax], 0
je 0x1800490d5
xor edx, edx
mov ecx, r10d
call fcn.1800461d0
test al, al
je 0x1800490d5
mov dword [r11 + 0x48a0], r14d
add r9, 4
lea rax, [rsp + 0x50]
cmp r9, rax
jne 0x1800490b0
jmp 0x1800490e8
xor r13b, r13b
movzx edi, byte [r11 + 8]
movdqa xmm0, xmmword [0x1801236d0]
and dil, 1
mov byte [rsp + 0x20], dil
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x201
mov dword [rsp + 0x44], 0x203
mov dword [rsp + 0x48], 0x204
je 0x18004915a
lea r9, [rsp + 0x30]
mov r10d, dword [r9]
mov ecx, r10d
call fcn.1800453f0
cmp byte [rax], 0
je 0x18004914c
xor edx, edx
mov ecx, r10d
call fcn.1800461d0
test al, al
je 0x18004914c
mov dword [r11 + 0x48a0], 2
add r9, 4
lea rax, [rsp + 0x4c]
cmp r9, rax
jne 0x180049123
mov edx, dword [r11 + 0x48b0]
xor ebp, ebp
test edx, edx
je 0x18004921f
mov r9, qword [r11 + 0x4868]
mov rdi, r11
test r9, r9
je 0x18004921a
test byte [r11 + 0x5c2c], 8
je 0x1800491a5
mov r9, qword [r9]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [r11 + 0x48a4]
call fcn.18004cfd0
mov r11, qword [0x1801de218]
movsxd rax, dword [rdi + 0x48a4]
mov ecx, dword [rbx + 0x48b0]
mov rdx, rax
mov dword [r11 + 0x48a4], eax
mov rax, qword [r11 + 0x4868]
mov dword [r11 + 0x4870], ecx
mov dword [r11 + 0x4874], ebp
mov dword [rax + rdx*4 + 0x380], ecx
add rdx, rdx
mov rax, qword [r11 + 0x4868]
movups xmm0, xmmword [rdi + 0x48b4]
movups xmmword [rax + rdx*8 + 0x388], xmm0
cmp byte [rdi + 0x48ae], bpl
mov byte [rdi + 0x48a8], 1
movzx edi, byte [rsp + 0x20]
je 0x18004921f
mov word [r11 + 0x48a9], 1
mov byte [r11 + 0x48ab], 1
jmp 0x18004921f
movzx edi, byte [rsp + 0x20]
mov word [rbx + 0x48ad], bp
mov dword [rbx + 0x48b0], ebp
mov dword [rbx + 0x488c], ebp
cmp byte [rbx + 0x48c4], bpl
je 0x180049240
call fcn.18004a320
xor r15b, r15b
mov dword [rbx + 0x4908], ebp
mov eax, 1
mov word [rbx + 0x48c4], bp
mov dword [rsp + 0x24], r15d
cmp byte [rbx + 0x48a9], bpl
je 0x180049292
cmp byte [rbx + 0x48a8], bpl
je 0x180049292
cmp byte [rbx + 0x48aa], bpl
jne 0x180049292
cmp byte [rbx + 0x48ab], bpl
je 0x180049292
cmp qword [rbx + 0x4868], rbp
movzx r15d, r15b
cmovne r15d, eax
mov dword [rsp + 0x24], r15d
mov rcx, qword [rbx + 0x4868]
mov byte [rbx + 0x48a9], bpl
test rcx, rcx
je 0x1800492dc
mov rax, rcx
nop dword [rax + rax]
cmp qword [rax + 0x358], rax
je 0x1800492d0
test dword [rax + 0xc], 0x14000000
jne 0x1800492d0
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x1800492b0
jmp 0x1800492dc
cmp rax, rcx
je 0x1800492dc
mov qword [rax + 0x378], rcx
mov rax, qword [rbx + 0x4868]
test rax, rax
je 0x180049300
cmp qword [rax + 0x378], rbp
je 0x180049300
cmp dword [rbx + 0x48a4], ebp
jne 0x180049300
mov qword [rax + 0x378], rbp
mov qword [rsp + 0x98], r12
call fcn.18004b070
test dil, dil
jne 0x18004931b
test r13b, r13b
je 0x18004944e
mov rax, qword [rbx + 0x4868]
test rax, rax
je 0x18004944e
test dword [rax + 0xc], 0x40000
jne 0x18004944e
mov byte [rbx + 0xdd], 1
cmp dword [rbx + 0x4870], ebp
je 0x180049455
lea rdi, [rbx + 0x48aa]
cmp byte [rdi], bpl
jne 0x180049455
lea r12, [rbx + 0x49d8]
mov al, 1
mov byte [rbx + 0xde], al
call fcn.18004a640
mov ebp, dword [rbx + 0x4870]
xor esi, esi
mov qword [rbx + 0x4880], rsi
mov qword [rbx + 0x4878], rsi
mov dword [rbx + 0x4888], esi
test ebp, ebp
je 0x18004956f
lea rsi, [rbx + 0x48aa]
cmp byte [rsi], 0
mov rdi, rsi
jne 0x18004956d
cmp qword [r12], 0
jne 0x18004956d
mov rax, qword [rbx + 0x4868]
test rax, rax
je 0x18004956d
test dword [rax + 0xc], 0x40000
jne 0x18004956d
movzx r9d, byte [rsp + 0x20]
mov rdi, qword [0x1801de218]
test r9b, r9b
je 0x1800493f8
mov ecx, 0x20c
call fcn.1800453f0
cmp byte [rax], 0
je 0x1800493f8
cmp byte [rdi + 0x3fc8], 0
je 0x180049415
test r13b, r13b
je 0x180049474
mov ecx, 0x26e
call fcn.1800453f0
cmp byte [rax], 0
je 0x180049474
cmp byte [rdi + 0x4460], 0
jne 0x180049474
mov r15b, 1
test r9b, r9b
je 0x180049430
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.180045770
test al, al
jne 0x180049448
test r13b, r13b
je 0x180049477
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.180045770
test al, al
je 0x180049477
movzx r14d, r15b
jmp 0x18004947a
mov byte [rbx + 0xdd], bpl
lea r12, [rbx + 0x49d8]
lea rdi, [rbx + 0x48aa]
cmp qword [r12], rbp
jne 0x180049362
xor al, al
jmp 0x180049364
xor r15b, r15b
xor r14b, r14b
movzx r9d, byte [rsp + 0x20]
test r9b, r9b
je 0x18004949d
mov ecx, 0x20d
call fcn.1800453f0
cmp byte [rax], 0
je 0x18004949d
cmp byte [rdi + 0x3fd4], 0
je 0x1800494bf
test r13b, r13b
je 0x1800494ee
mov ecx, 0x26d
call fcn.1800453f0
cmp byte [rax], 0
je 0x1800494ee
cmp byte [rdi + 0x4454], 0
jne 0x1800494ee
test r9b, r9b
je 0x1800494d2
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.180045770
test al, al
jne 0x1800494ea
test r13b, r13b
je 0x1800494ee
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.180045770
test al, al
je 0x1800494ee
mov cl, 1
jmp 0x1800494f0
xor cl, cl
mov eax, dword [rbx + 0x3eec]
test eax, eax
jne 0x180049511
test r14b, r14b
je 0x180049515
mov dword [rbx + 0x4878], ebp
mov dword [rbx + 0x4888], 2
jmp 0x180049515
cmp eax, ebp
jne 0x180049540
test cl, cl
je 0x180049529
mov dword [rbx + 0x4884], ebp
mov dword [rbx + 0x4888], 1
test eax, eax
je 0x180049531
cmp eax, ebp
jne 0x180049540
test r15b, r15b
je 0x18004953c
mov dword [rbx + 0x487c], ebp
test eax, eax
je 0x180049547
mov rdi, rsi
cmp eax, ebp
jne 0x180049562
mov r15d, dword [rsp + 0x24]
mov rdi, rsi
xor esi, esi
test r14b, r14b
lea r14d, [rsi + 3]
je 0x18004956f
mov dword [rbx + 0x4880], ebp
jmp 0x18004956f
mov r15d, dword [rsp + 0x24]
mov r14d, 3
xor esi, esi
mov rax, qword [rbx + 0x4868]
mov rbp, qword [rsp + 0x90]
test rax, rax
je 0x18004958f
test dword [rax + 0xc], 0x40000
je 0x18004958f
mov byte [rdi], 1
mov eax, dword [rbx + 0x4898]
test eax, eax
je 0x1800495c4
mov ecx, dword [rbx + 0x489c]
test cl, 1
je 0x1800495ac
mov dword [rbx + 0x4884], eax
jmp 0x1800495be
mov dword [rbx + 0x4880], eax
mov dword [rbx + 0x487c], eax
mov dword [rbx + 0x4878], eax
mov dword [rbx + 0x4888], ecx
mov dword [rbx + 0x4898], esi
call fcn.1800499c0
cmp dword [rbx + 0x48d4], 0xffffffff
xorps xmm5, xmm5
mov r11, qword [0x1801de218]
jne 0x1800496f3
mov r10, qword [r11 + 0x4868]
test r10, r10
je 0x1800496f3
cmp qword [r11 + 0x49d8], 0
jne 0x1800496f3
test dword [r10 + 0xc], 0x40000
jne 0x1800496f3
mov ecx, 0x200
call fcn.1800453f0
cmp byte [rax], 0
je 0x1800496f3
movss xmm0, dword [rax + 4]
comiss xmm5, xmm0
ja 0x1800496f3
ucomiss xmm0, xmm5
jp 0x18004963f
jne 0x18004963f
mov r9, r11
jmp 0x180049669
movss xmm1, dword [r11 + 0x3c]
mov r9, r11
comiss xmm0, xmm1
jbe 0x1800496f3
movss xmm2, dword [r11 + 0x40]
mov ecx, 0x200
call fcn.180045560
test eax, eax
jle 0x1800496f3
cmp byte [r9 + 0x46fc], 0
je 0x18004967d
cmp dword [r9 + 0x3eec], 0xffffffff
jne 0x1800496f3
cmp dword [r9 + 0x3f30], 0xffffffff
jne 0x1800496f3
cmp byte [r11 + 0xe14], 0
jne 0x1800496f3
cmp byte [r11 + 0xe16], 0
jne 0x1800496f3
cmp byte [r11 + 0xe15], 0
je 0x1800496ac
mov edx, 0xffffffff
jmp 0x1800496b9
cmp dword [r11 + 0x3eec], 0
mov edx, esi
setne dl
mov dword [r11 + 0x4904], edx
mov eax, 0x21
cmp byte [r10 + 0x9c], 0
mov r8d, 0x400
cmovne r14d, eax
sar edx, 0x1f
add edx, 3
lea ecx, [rax - 0x22]
mov r9d, r14d
call fcn.180048970
mov dword [r11 + 0x4908], 0xffffffff
cmp byte [r11 + 0x48c5], 0
mov r14, qword [rsp + 0xa0]
jne 0x180049713
cmp byte [r11 + 0x48ad], 0
jne 0x180049713
xor al, al
jmp 0x180049715
mov al, 1
mov byte [r11 + 0x48ac], al
mov r10, qword [rbx + 0x4868]
mov byte [rbx + 0x48a8], 0
test r10, r10
je 0x180049933
test dword [r10 + 0xc], 0x40000
jne 0x180049933
cmp qword [r12], 0
jne 0x180049933
mov rax, qword [r10 + 0x348]
movss xmm0, dword [r11 + 0x3c04]
mulss xmm0, dword [r10 + 0x270]
test rax, rax
je 0x180049772
mulss xmm0, dword [rax + 0x270]
cmp word [r10 + 0x13c], 0
mulss xmm0, dword [0x180123430]
mov ecx, dword [rbx + 0x48d4]
movss xmm2, dword [0x180123348]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x18012330c]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x180049833
cmp byte [r10 + 0x141], 0
je 0x180049833
cmp ecx, 0xffffffff
je 0x180049833
movss xmm1, dword [0x180123500]
test ecx, ecx
je 0x1800497d4
cmp ecx, 1
jne 0x1800497fd
movaps xmm0, xmm2
jmp 0x1800497d7
movaps xmm0, xmm1
mulss xmm0, xmm3
mov dword [r10 + 0x7c], esi
mov dword [r10 + 0x84], esi
addss xmm0, dword [r10 + 0x64]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r10 + 0x74], xmm0
cmp ecx, 2
je 0x18004980a
cmp ecx, 3
jne 0x180049833
movaps xmm1, xmm2
mulss xmm1, xmm3
mov dword [r10 + 0x80], esi
mov dword [r10 + 0x88], esi
addss xmm1, dword [r10 + 0x68]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r10 + 0x78], xmm0
test r13b, r13b
je 0x180049933
mov ecx, 0x27a
call fcn.1800453f0
mov ecx, 0x279
mov r9, rax
call fcn.1800453f0
movss xmm0, dword [r9 + 0xc]
mov ecx, 0x27c
subss xmm0, dword [rax + 0xc]
call fcn.1800453f0
mov ecx, 0x27b
mov r9, rax
call fcn.1800453f0
movss xmm1, dword [r9 + 0xc]
mov ecx, 0x273
subss xmm1, dword [rax + 0xc]
call fcn.1800453f0
cmp byte [rax], 0
je 0x1800498a3
cmp byte [r11 + 0x449c], 0
jne 0x1800498a3
movss xmm2, dword [0x1801232dc]
jmp 0x1800498c4
mov ecx, 0x274
call fcn.1800453f0
cmp byte [rax], 0
je 0x1800498c4
cmp byte [r11 + 0x44a8], 0
jne 0x1800498c4
movss xmm2, dword [0x1801233cc]
ucomiss xmm0, xmm5
jp 0x1800498cb
je 0x1800498ff
cmp byte [r10 + 0x94], 0
je 0x1800498ff
mulss xmm0, xmm3
mov dword [r10 + 0x7c], esi
mov dword [r10 + 0x84], esi
mulss xmm0, xmm2
addss xmm0, dword [r10 + 0x64]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r10 + 0x74], xmm0
ucomiss xmm1, xmm5
jp 0x180049906
je 0x180049933
mulss xmm1, xmm3
mov dword [r10 + 0x80], esi
mov dword [r10 + 0x88], esi
mulss xmm1, xmm2
addss xmm1, dword [r10 + 0x68]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r10 + 0x78], xmm0
cmp byte [rsp + 0x20], 0
mov r12, qword [rsp + 0x98]
jne 0x180049953
test r13b, r13b
jne 0x180049953
mov byte [rdi], 1
mov byte [rbx + 0x48ab], r13b
jmp 0x18004999e
test r15b, r15b
je 0x18004999e
test byte [rbx + 8], 4
je 0x18004999e
test byte [rbx + 0xc], 4
je 0x18004999e
lea rcx, [rsp + 0x24]
call fcn.180048e00
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x36e0], xmm0
movss dword [rbx + 0x36e4], xmm1
movss dword [rbx + 0xdfc], xmm0
movss dword [rbx + 0xe00], xmm1
mov byte [rbx + 0xdb], 1
mov dword [rbx + 0x4900], esi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800d5ea0
add rsp, 0x60
pop r15
pop r13
pop rdi
pop rsi
pop rbx
ret