Function at 0x140050690
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, 0x80
mov rax, qword [0x1401db200]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, qword [0x140200678]
mov r13d, 3
mov rbx, rdi
test byte [rdi + 8], 2
mov byte [rdi + 0xdb], 0
je 0x140050728
test byte [rdi + 0xc], 1
je 0x140050728
movdqa xmm0, xmmword [0x1401b6520]
lea r11, [rsp + 0x50]
movdqa xmm1, xmmword [0x1401b6530]
mov sil, 1
movdqu xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
mov ecx, dword [r11]
call fcn.14004ac40
test al, al
je 0x140050718
mov dword [rdi + 0x48e4], r13d
add r11, 4
lea rax, [rsp + 0x70]
cmp r11, rax
jne 0x140050705
jmp 0x14005072b
xor sil, sil
movzx r14d, byte [rdi + 8]
movdqa xmm0, xmmword [0x1401b6510]
and r14b, 1
mov byte [rsp + 0x20], r14b
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x201
mov dword [rsp + 0x44], 0x203
mov dword [rsp + 0x48], 0x204
je 0x1400507e7
lea r10, [rsp + 0x30]
nop word [rax + rax]
mov r9d, dword [r10]
mov rcx, rdi
mov edx, r9d
call fcn.14004a560
cmp byte [rax], 0
je 0x1400507d9
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x1400507be
cmp r9d, 0x1000
je 0x1400507be
cmp r9d, 0x2000
je 0x1400507be
cmp r9d, 0x4000
je 0x1400507be
cmp r9d, 0x8000
je 0x1400507be
cmp r9d, 0x800
jne 0x1400507cf
mov edx, r9d
mov rcx, rdi
call fcn.14003baa0
cmp byte [rax + 8], 0
jne 0x1400507d9
mov dword [rdi + 0x48e4], 2
add r10, 4
lea rax, [rsp + 0x4c]
cmp r10, rax
jne 0x140050770
mov edx, dword [rdi + 0x48f4]
xor r15d, r15d
test edx, edx
je 0x14005089c
mov r9, qword [rdi + 0x48b0]
mov rbp, rdi
test r9, r9
je 0x14005089c
test byte [rdi + 0x5c9c], 8
je 0x140050832
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rdi + 0x48e8]
call fcn.140054cf0
mov rdi, qword [0x140200678]
movsxd rax, dword [rbp + 0x48e8]
mov ecx, dword [rbx + 0x48f4]
mov rdx, rax
mov dword [rdi + 0x48e8], eax
mov rax, qword [rdi + 0x48b0]
mov dword [rdi + 0x48b8], ecx
mov dword [rdi + 0x48bc], r15d
mov dword [rax + rdx*4 + 0x3a0], ecx
add rdx, rdx
mov rax, qword [rdi + 0x48b0]
movups xmm0, xmmword [rbp + 0x48f8]
movups xmmword [rax + rdx*8 + 0x3a8], xmm0
mov byte [rbp + 0x48ec], 1
cmp byte [rbp + 0x48f2], r15b
je 0x14005089c
mov word [rdi + 0x48ed], 1
mov byte [rdi + 0x48ef], 1
mov word [rbx + 0x48f1], r15w
mov dword [rbx + 0x48f4], r15d
mov dword [rbx + 0x48d0], r15d
cmp byte [rbx + 0x4908], r15b
je 0x1400508c0
call fcn.140051a90
xor r12b, r12b
mov dword [rbx + 0x494c], r15d
mov ebp, 1
mov word [rbx + 0x4908], r15w
cmp byte [rbx + 0x48ed], r12b
je 0x14005090a
cmp byte [rbx + 0x48ec], r12b
je 0x14005090a
cmp byte [rbx + 0x48ee], r12b
jne 0x14005090a
cmp byte [rbx + 0x48ef], r12b
je 0x14005090a
cmp qword [rbx + 0x48b0], r15
movzx r12d, r12b
cmovne r12d, ebp
mov rcx, qword [rbx + 0x48b0]
mov byte [rbx + 0x48ed], r15b
test rcx, rcx
je 0x14005094c
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x140050940
test dword [rax + 0x14], 0x14000000
jne 0x140050940
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140050920
jmp 0x14005094c
cmp rax, rcx
je 0x14005094c
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x140050971
cmp qword [rax + 0x398], r15
je 0x140050971
cmp dword [rbx + 0x48e8], r15d
jne 0x140050971
mov qword [rax + 0x398], r15
call fcn.140052840
test r14b, r14b
jne 0x140050984
test sil, sil
je 0x140050aab
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x140050aab
test dword [rax + 0x14], 0x40000
jne 0x140050aab
mov byte [rbx + 0xdd], bpl
cmp dword [rbx + 0x48b8], r15d
je 0x140050ab2
cmp byte [rbx + 0x48ee], r15b
jne 0x140050ab2
movzx eax, bpl
mov byte [rbx + 0xde], al
call fcn.140051dd0
mov qword [rbx + 0x48c4], r15
mov dword [rbx + 0x48c0], r15d
mov dword [rbx + 0x48cc], r15d
cmp dword [rbx + 0x48b8], r15d
je 0x140050bdf
cmp byte [rbx + 0x48ee], r15b
jne 0x140050bdf
cmp qword [rbx + 0x4a18], r15
jne 0x140050bdf
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x140050bdf
test dword [rax + 0x14], 0x40000
jne 0x140050bdf
mov rdi, qword [0x140200678]
test r14b, r14b
je 0x140050a51
mov edx, 0x20c
mov rcx, rdi
call fcn.14004a560
cmp byte [rax], r15b
je 0x140050a51
cmp byte [rdi + 0x4010], r15b
je 0x140050a71
test sil, sil
je 0x140050ac6
mov edx, 0x26e
mov rcx, rdi
call fcn.14004a560
cmp byte [rax], r15b
je 0x140050ac6
cmp byte [rdi + 0x44a8], r15b
jne 0x140050ac6
movzx r15d, bpl
test r14b, r14b
je 0x140050a8d
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.14004acc0
test al, al
jne 0x140050aa5
test sil, sil
je 0x140050ac6
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.14004acc0
test al, al
je 0x140050ac6
movzx r14d, bpl
jmp 0x140050ac9
mov byte [rbx + 0xdd], r15b
cmp qword [rbx + 0x4a18], r15
jne 0x1400509c2
xor al, al
jmp 0x1400509c6
xor r14b, r14b
movzx r9d, byte [rsp + 0x20]
test r9b, r9b
je 0x140050aef
mov edx, 0x20d
mov rcx, rdi
call fcn.14004a560
cmp byte [rax], 0
je 0x140050aef
cmp byte [rdi + 0x401c], 0
je 0x140050b0f
test sil, sil
je 0x140050b49
mov edx, 0x26d
mov rcx, rdi
call fcn.14004a560
cmp byte [rax], 0
je 0x140050b49
cmp byte [rdi + 0x449c], 0
jne 0x140050b49
movzx edi, bpl
test r9b, r9b
je 0x140050b2b
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.14004acc0
test al, al
jne 0x140050b43
test sil, sil
je 0x140050b4c
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.14004acc0
test al, al
je 0x140050b4c
movzx edx, bpl
jmp 0x140050b4e
xor dil, dil
xor dl, dl
mov ecx, dword [rbx + 0x3f30]
test ecx, ecx
jne 0x140050b75
test r14b, r14b
je 0x140050b7d
mov eax, dword [rbx + 0x48b8]
mov dword [rbx + 0x48c0], eax
mov dword [rbx + 0x48cc], 2
jmp 0x140050b7d
cmp ecx, dword [rbx + 0x48b8]
jne 0x140050bd6
test dl, dl
je 0x140050b93
mov eax, dword [rbx + 0x48b8]
mov dword [rbx + 0x48c0], eax
mov dword [rbx + 0x48cc], ebp
test ecx, ecx
je 0x140050b9f
cmp ecx, dword [rbx + 0x48b8]
jne 0x140050bd6
test r15b, r15b
jne 0x140050ba9
test dil, dil
je 0x140050bb5
mov eax, dword [rbx + 0x48b8]
mov dword [rbx + 0x48c4], eax
test ecx, ecx
je 0x140050bc1
cmp ecx, dword [rbx + 0x48b8]
jne 0x140050bd6
test r14b, r14b
jne 0x140050bca
test dl, dl
je 0x140050bd6
mov eax, dword [rbx + 0x48b8]
mov dword [rbx + 0x48c8], eax
movzx r14d, byte [rsp + 0x20]
xor r15d, r15d
mov rax, qword [rbx + 0x48b0]
test rax, rax
je 0x140050bfb
test dword [rax + 0x14], 0x40000
je 0x140050bfb
mov byte [rbx + 0x48ee], bpl
mov eax, dword [rbx + 0x48dc]
test eax, eax
je 0x140050c23
mov dword [rbx + 0x48c8], eax
mov dword [rbx + 0x48c4], eax
mov dword [rbx + 0x48c0], eax
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48cc], eax
mov dword [rbx + 0x48dc], r15d
call fcn.140051090
cmp dword [rbx + 0x4918], 0xffffffff
xorps xmm5, xmm5
mov rdi, qword [0x140200678]
jne 0x140050d8a
mov r11, qword [rdi + 0x48b0]
test r11, r11
je 0x140050d8a
cmp qword [rdi + 0x4a18], 0
jne 0x140050d8a
test dword [r11 + 0x14], 0x40000
jne 0x140050d8a
mov edx, 0x200
mov rcx, rdi
call fcn.14004a560
cmp byte [rax], 0
je 0x140050d8a
movss xmm0, dword [rax + 4]
comiss xmm5, xmm0
ja 0x140050d8a
ucomiss xmm0, xmm5
jp 0x140050ca2
jne 0x140050ca2
mov r10, rdi
jmp 0x140050cca
movss xmm1, dword [rdi + 0x3c]
mov r10, rdi
comiss xmm0, xmm1
jbe 0x140050d8a
movss xmm2, dword [rdi + 0x40]
mov ecx, 0x200
call fcn.14004a6f0
test eax, eax
jle 0x140050d8a
cmp byte [r10 + 0x4744], 0
je 0x140050ce2
cmp dword [r10 + 0x3f30], 0xffffffff
jne 0x140050d8a
cmp dword [r10 + 0x3f78], 0xffffffff
jne 0x140050d8a
cmp byte [rdi + 0xe24], 0
jne 0x140050d8a
cmp byte [rdi + 0xe26], 0
jne 0x140050d8a
movzx eax, byte [rdi + 0xe25]
test byte [rdi + 8], bpl
je 0x140050d39
test al, al
je 0x140050d22
mov ebp, 0xffffffff
jmp 0x140050d52
cmp byte [rdi + 0x48ee], bpl
jne 0x140050d52
cmp dword [rdi + 0x3f30], 0
jne 0x140050d52
mov ebp, r15d
jmp 0x140050d52
test al, al
je 0x140050d44
mov ebp, 0xffffffff
jmp 0x140050d52
cmp dword [rdi + 0x3f30], 0
mov ebp, r15d
setne bpl
mov dword [rdi + 0x4948], ebp
mov eax, reloc.WLDAP32.dll_Ordinal_33
cmp byte [r11 + 0xbc], 0
mov r8d, 0x400
cmovne r13d, eax
sar ebp, 0x1f
mov r9d, r13d
lea ecx, [rax - 0x22]
lea edx, [rbp + 3]
call fcn.14004ff20
mov dword [rdi + 0x494c], 0xffffffff
cmp byte [rdi + 0x4909], 0
jne 0x140050da0
cmp byte [rdi + 0x48f1], 0
jne 0x140050da0
xor al, al
jmp 0x140050da2
mov al, 1
mov byte [rdi + 0x48f0], al
mov r11, qword [rbx + 0x48b0]
mov byte [rbx + 0x48ec], 0
test r11, r11
je 0x140050ffa
test dword [r11 + 0x14], 0x40000
jne 0x140050ffa
cmp qword [rbx + 0x4a18], 0
jne 0x140050ffa
mov rax, qword [r11]
movss xmm0, dword [rax + 0x3c0c]
mov rax, qword [r11 + 0x368]
mulss xmm0, dword [r11 + 0x290]
test rax, rax
je 0x140050e03
mulss xmm0, dword [rax + 0x290]
cmp word [r11 + 0x15c], 0
mulss xmm0, dword [0x1401b6300]
mov ecx, dword [rbx + 0x4918]
movss xmm2, dword [0x1401b60e8]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x1401b6098]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x140050edb
cmp byte [r11 + 0x162], 0
je 0x140050edb
cmp ecx, 0xffffffff
je 0x140050edb
movss xmm1, dword [0x1401b63a4]
test ecx, ecx
je 0x140050e6d
cmp ecx, 1
jne 0x140050e9f
movaps xmm0, xmm2
jmp 0x140050e70
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 0x140050eac
cmp ecx, 3
jne 0x140050edb
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 0x140050ffa
mov edx, 0x27c
mov rcx, rdi
call fcn.14004a560
mov edx, 0x27a
mov rcx, rdi
mov r10, rax
call fcn.14004a560
mov edx, 0x279
mov rcx, rdi
mov r9, rax
call fcn.14004a560
movss xmm0, dword [r9 + 0xc]
mov edx, 0x27b
mov rcx, rdi
subss xmm0, dword [rax + 0xc]
call fcn.14004a560
movss xmm1, dword [r10 + 0xc]
mov edx, 0x273
mov rcx, rdi
subss xmm1, dword [rax + 0xc]
call fcn.14004a560
cmp byte [rax], 0
je 0x140050f59
cmp byte [rdi + 0x44e4], 0
jne 0x140050f59
movss xmm2, dword [0x1401b6054]
jmp 0x140050f7c
mov edx, 0x274
mov rcx, rdi
call fcn.14004a560
cmp byte [rax], 0
je 0x140050f7c
cmp byte [rdi + 0x44f0], 0
jne 0x140050f7c
movss xmm2, dword [0x1401b62ac]
ucomiss xmm0, xmm5
jp 0x140050f83
je 0x140050fc0
cmp byte [r11 + 0xb4], 0
je 0x140050fc0
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 0x140050fc7
je 0x140050ffa
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 0x14005100f
test sil, sil
jne 0x14005100f
mov word [rbx + 0x48ee], 1
jmp 0x14005105a
test r12b, r12b
je 0x14005105a
test byte [rbx + 8], 4
je 0x14005105a
test byte [rbx + 0xc], 4
je 0x14005105a
lea rcx, [rsp + 0x24]
call fcn.1400503a0
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 + 0x4944], r15d
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140128970
lea r11, [rsp + 0x80]
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